Sum of JuMP.value

Do you have any idea how I could display my solution in the following form:
from Julia in excel?

Capture d’écran 2022-10-13 à 19.21.25

for the moment I have this:

XLSX.openxlsx("choix élèves julia.xlsx", mode="rw") do xf
    !XLSX.hassheet(xf, "ATTRIBUTION") && XLSX.addsheet!(xf, "ATTRIBUTION")
    sheet = xf["ATTRIBUTION"]
    sheet["A1", dim=2] = collect(1:3)
1 Like