Hi all,
I have a simple model that does not include any optimization. In this model, I only look to find the first feasible solution. There is a dummy objective function (minimize 1), and a set of constraints. One constraint ( allocation constraint below) is related to the need that for task in each workflow, we need to have at least one winning bid.
# Objective function
minimize dummyobj:1;
#Allocation Constraint
subject to Task_Assignment {k in tasks_in_workflow[wfIndex]}: sum {i in BIDSN} a[i,k]*z[i] >= 1;
Now the problem is that the solver ignores this constraint in some instances. I have expanded the constraint, and I can clearly see that it's not satisfied, as below:
subject to Task_Assignment[37]:
0 >= 1;
But the solver still finds an optimal integer solution, as per solve message below !
solve_message = 'CPLEX 10.0.0: optimal integer solution; objective 1\
Isn't it the case that a problem is only feasible if all the constraints are satisfied?
In the attached run file, I had limited the experiment to one workflow. Therefore, I can see that the problem is not caused by fixing or unfixing decision variables. Apparently, the solver ignores this constraint, but I don't understand how it's possible.
I would really be grateful if you can help me resolve this problem.
Regards,