Purpose
Check
whether a variable (or set of variables) solution value is integral.
Synopsis
function isintegral(x:mpvar):boolean
function isintegral(s:set of mpvar):boolean
Arguments
x
|
A decision variable
|
s
|
A set of decision variables
|
Return value
true if the variable (or all variables of the set) is integral.
Further information
This function checks whether the current solution value of
a variable is integral with respect to the tolerance value of
the optimizer (XPRS_MIPSOL). When used with a set, the
function returns true if all variables of the set satisfy
the condition.
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.