Originally posted by: QChen61
In my LP model, I have constraints as follows:
b[1]+b[2]=1
x[1]<=b[1], x[2]<=b[2]
x[1],x[2] \in [0,1]
b[1],b[2] binary
That is, only one x can be strictly positive. The objective function does not have any b variables.
However, in the optimal solutions given by CPLEX (default settings), the values are
x[1]=0.000004103 b[1]=0.000009409
x[2]=0.000000000 b[2]=0.999990591
What I would like to see is:
x[1]=0.000004103 b[1]=1
x[2]=0.000000000 b[2]=0
Anyone knows how should I tune the solver's parameters?
Thanks in advance!
Best,
QC
#CPLEXOptimizers#DecisionOptimization