I am iteratively solving the same model with different values for one
of the parameters. The model is feasible for the 2nd iteration, which
is confirmed by the fact that if I run the problem with the data of
the 2nd iteration, without running the 1st iteration, it solves
properly. However, if I run the 1st iteration before the 2nd, I get
the message
CPLEX solution status 3 with fixed integers: infeasible problem
and the solver returns the following messages:
Status recovering solution: infeasible problem
9 integer variables rounded (maxerr = 6.60512e-07).
Assigning integrality = 3e-07 might help.
Currently integrality = 1e-05.
This is obviously a CPLEX bug, but I am wondering if it is due to the
ampl script (i.e. due to the fact that I have somehow fixed variables
to their optimal value from the previous iteration). Is this something
I should worry about or is there some known problem with CPLEX that
produces this output?
Anthony
By default in CPLEX's branch-and-bound procedure, a variable is considered
to be integral if its value is within 1e-05 of an integer. Then at the end
of the procedure all variables are rounded to exact integer values; as the
message indicates in this case there were 9 variables rounded by as much as
6.60512e-07. In rare cases this can result in some constraints not being
satisfied to within the feasibility tolerance, which is apparently what
happened here. You may be able to circumvent this problem by reducing the
integrality tolerance from 1e-05 to something smaller, as the message
suggests; you would do this by specifying, say,
option cplex_options '... integrality=3e-07 ...';
where ... are any other options you may already be using.
Bob Fourer
4...@ampl.com
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.