Initializing help system before first use

isintegral

isintegral


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
A decision variable
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