Hi , I am new to optimization.
I am trying to implement a simple linear programming based allocation problem with Binary variables. When binary variable is decided to be 1 by solver , a value gets allocated to related continuous variable , otherwise it stays 0, if the binary variable sets to 0.
I am running 10 iterations of the model.The end results of previous allocation is displayed in the end and helps me track the changes in new iteration.
The program run shows optimal solution found , but in results, I see some continuous variables hold value 0 with their binary value set to 1. And no changes to the allocation is seen to these variables in new iteration., its same as in the previous one.
How to resolve this issue?
Following is the statistic and solution quality I got for one of the iterations creating problems.
Matrix range [1e+00, 2e+03]
Objective range [0e+00, 0e+00]
Bounds range [1e+00, 1e+00]
RHS range [2e-01, 2e+01]
Solution quality statistics for model M :
Bound : 0.00000000e+00
Constraint : 1.77635684e-15 (constraint_No5)
Integrality : 0.00000000e+00
Please sign in to leave a comment.