Hey,
i defined that y is binary variable
var y {M} binary;
if i get my result it shows:
y [*] :=
y1 6.01527e-10
y2 6.36915e-15
y3 1
y4 2.44933e-14
i need a result that for example y3 is 1 and the other are 0.
i already definded in my model that just one variable can be 1, and the rest 0.
i used the knitro solver.
if i use the minos solver i get the right presentation
y [*] :=
y1 0
y2 0
y3 1
y4 0
whats the problem with the presentation if i use the knitro solver?