By default, individual infeasibilities are written to a log file but not displayed on the screen. To display the infeasibilities on your screen, use the command set
output logonly y cplex.log.
Regardless of whether a solution is infeasible or optimal, the command display solution quality
in the Interactive Optimizer displays the bound and reduced-cost infeasibilities for both the scaled and unscaled problem. In fact, it displays the following summary statistics for both the scaled and unscaled problem:
The following sections discuss these summary statistics in greater detail.
set
simplex tolerances feasibility n
, substituting a smaller value for n
. Its range is between 1e-9 and 0.1. Its default value is 1e-06.
IloCplex::EpRHS
or CPX_PARAM_EPRHS
.
To lower the optimality tolerance in your problem in the Interactive Optimizer, use the command set
simplex tolerances optimality n, substituting a lower value for n
. Its range is between 1e-9 and 0.1. Its default value is 1e-06. To lower the optimality tolerance when using the Component Libraries set the parameter IloCplex::EpOpt
or CPX_PARAM_EPOPT
.
To increase the optimality tolerance in your problem in the Interactive Optimizer, use the command set
simplex tolerances optimality n, substituting a larger value for
n
. Its range is between 1e-09 and 0.1. Its default value is 1e-06. To increase the optimality tolerance when using the Component Libraries set the parameter IloCplex::EpOpt
or CPX_PARAM_EPOPT
.
When using the Component Libraries, use the method cplex.getQuality()
or the routine CPXgetdblquality
() to access the information provided by the command display solution quality
in the Interactive Optimizer.
If you determine from this analysis that your model is indeed ill-conditioned, then you need to reformulate it. Coping with an Ill-Conditioned Problem or Handling Unscaled Infeasibilities outlines steps to follow in this situation.