isintegral
isintegral |
Purpose
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.
Module