Originally posted by: SystemAdmin
[frances said:]
Hi,
The 1st problem:
My model can be solved correctly. I got the optimal solution,but can not get the dual values.
The error showed is 1217: no solution exists.
The 2nd problem:
model (1):
Max: x[0]+4*x[2]
st.: -2*x[0]+3*x[1]<=3<br /> x[0]+2*x[1]<=8<br /> x[0]>=0,integer; x[1]>=0,integer
The solution obtained is (0,0). it is not correct.
model (1):
Max: x[0]+4*x[2]
st.: -2*x[0]+3*x[1]<=3<br /> x[0]+2*x[1]<=8<br /> x[0]>=0,integer; x[1]>=0,integer
x[0]<=100; x[1]<=100<br />
I just tighten the constraint, and the solution obtained is (4,2). It is correct.
WHY?
#CPLEXOptimizers#DecisionOptimization