reset; reset; model assegn1.mod; # load model data assegn1.dat; # load data option solver gurobi; # select the solver solve; # solve the instance #------------- output -------------- printf"\nLa soluzione ottima è:\n"; for{(i,j) in A}{ if(x[i,j]==1)then{ printf"operaio %g svolge l'attività %g\n",i,j; } }