Discussion:
Cplex: what is the difference between ERROR code 1217 and Solstat 3?
(too old to reply)
coco
2005-08-17 18:37:13 UTC
Permalink
Hi,

I have quesiton here. When I used cplex 8.0 to solve a quadratic
problem (using barrier method), it showed on screen that

Row 'c2' infeasible, all entries at implied bounds.
Presolve time = 0.10 sec.
CPLEX Error 1217: No solution exists.

Then I used "CPXsolution" to get solution status, it couldn't get any
value. Acturally, if the problem is infeasible, I expect the solution
status equal to 3. So, I am wondering what is the difference between
error code 1217 and solution status value 3.

I am looking forward to your reply! Thank you very much!

Sincerely,
Coco
Paul A. Rubin
2005-08-18 14:23:00 UTC
Permalink
Post by coco
Hi,
I have quesiton here. When I used cplex 8.0 to solve a quadratic
problem (using barrier method), it showed on screen that
Row 'c2' infeasible, all entries at implied bounds.
Presolve time = 0.10 sec.
CPLEX Error 1217: No solution exists.
Then I used "CPXsolution" to get solution status, it couldn't get any
value. Acturally, if the problem is infeasible, I expect the solution
status equal to 3. So, I am wondering what is the difference between
error code 1217 and solution status value 3.
I am looking forward to your reply! Thank you very much!
Sincerely,
Coco
I think the problem is that the presolver declared your problem
infeasible, so the solver was never actually invoked. You could try
calling CPXgetstat rather than CPXsolution to see what status code it
returns.

Paul
coco
2005-08-18 18:12:09 UTC
Permalink
Thank you very much!

Coco

Loading...