Originally posted by: EdKlotz
>
> Hi,
> I am new to CPLEX. Currently, I am working with cplexmilp in Matlab . The displayed output is the following:
> exitflag=5;
> cplexstatus: 102
> cplexstatusstring: 'integer optimal, tolerance'
> iterations: 3681
> algorithm: 12
> time: 13.369
> message: 'Solution with numerical issues'.
> Exitflag =5, it is positive, hence I have a solutions, but with some numerical issues.
> My questions are: where can I find more information about what exitflag number means?
> Given that cplexstatus is 102 (aka solution with numerical issues), how much cautious should I be when I interpret the results.
> Is anything I can do to get the cplexstatus =101? I should specify that my optimization problem is large.
> I would appreciate any prompt reply.
> Thanks,
CPLEX's optimization toolkit tries to mimic the MATLAB optimization functions as much as possible,
so that user's of the MATLAB optimization functions can try the CPLEX optimizers simply by replacing
the MATLAB optimization functions (e.g. linprog, bintprog, etc.) with the corresponding CPLEX
optimization toolkit function. Unfortunately, sometimes there is no correspondence between the
two, and the message you got here is one case. CPLEX statuses 102, 5 and 6 all map to the same
exitflag value of 5 and message of "solution with numerical issues", but this message is more accurate
for statuses 5 and 6. So, as long as your CPLEX status is 102, your solution is optimal within the
MIP gap (the default being .0001) and you need not concern yourself with numerical issues. In
this case I don't think you need to be concerned about the solution quality. However, if you want
to confirm that, try exporting your model to a SAV file (using the 'ExportModel' option in
cplexoptimset), running the SAV file in interactive CPLEX, and checking the solution quality
there using the 'display solution quality' command.
When using the optimization toolkit, if the CPLEX status and the associated message returned
have different implications regarding the final result, I recommend you pay closer attention
to the CPLEX status. Nonetheless, we'll have a look at this and see if we can clarify the
correspondence in this case.
Regarding obtaining status 101 instead of 102, try reducing the relative MIP gap parameter from
its default value of .0001 to 0. This may require additional nodes in the branch and bound
algorithm, but in most cases that increase in computational effort is not excessive.
#CPLEXOptimizers#DecisionOptimization