SCIPvarIsBinary

Function SCIPvarIsBinary 

Source
pub unsafe extern "C" fn SCIPvarIsBinary(var: *mut SCIP_VAR) -> c_uint
Expand description

returns TRUE if the variable is of binary type; this is the case if: (1) variable type is binary (2) variable type is integer or implicit integer and (i) the global lower bound is greater than or equal to zero (ii) the global upper bound is less than or equal to one