integrality tolerance
Specifies the amount by which an integer variable can be different from an integer and still be considered feasible.
Purpose
Integrality tolerance
API | Parameter Name | Name prior to V12.6.0 |
---|---|---|
C | CPXPARAM_MIP_Tolerances_Integrality | CPX_PARAM_EPINT |
C++ | IloCplex::Param::MIP::Tolerances::Integrality | EpInt (double) |
Java | IloCplex.Param.MIP.Tolerances.Integrality | EpInt (double) |
.NET | Cplex.Param.MIP.Tolerances.Integrality | EpInt (double) |
OPL | epint | |
Python | parameters.mip.tolerances.integrality | mip.tolerances.integrality |
MATLAB Cplex class API | Cplex.Param.mip.tolerances.integrality | mip.tolerances.integrality |
MATLAB | CPLEX Toolbox compatible | mip.tolerances.integrality |
MATLAB | Optimization Toolbox compatible | TolXInteger |
Interactive | mip tolerances integrality | mip tolerances integrality |
Identifier | 2010 | 2010 |
Description
Specifies the amount by which an integer variable can be different from an integer and still be considered feasible.
A value of zero is permitted, and the optimizer will attempt to meet this tolerance.
However, in some models, computer round-off may still result in small, nonzero deviations from integrality. If any of these deviations exceed the value of this parameter, or exceed 1e-10 in the case where this parameter has been set to a value less than that, a solution status of CPX_STAT_OPTIMAL_INFEAS will be returned instead of the usual CPX_STAT_OPTIMAL.
Tip: This parameter sets the amount by which a computed solution value for an integer variable can violate integrality; it does not specify an amount by which CPLEX relaxes integrality.
Values
Any number from 0.0 to 0.5; default: 1e-05.