Originally posted by: vicsana1
Thanks to both for the quick response.
From the model printed, the goal of the objective function is maximizing, so whenever it is possible they should be 1 instead of 0. However, constraints i1 to i5 should make some of those binary variables exclusive. For instance, in the case of i1, x1 + x5+ x6 = 1, so if x1=1, then x5 and x6 should be equal to 0. Otherwise the constraint is violated. The solver is returning all of the variables set to 1 so those constraints are violated. That's what is really shocking me.
Thanks in advance and best regards,
Victor
#CPLEXOptimizers#DecisionOptimization