SCIPcreateConsIndicatorLinConsPure

Function SCIPcreateConsIndicatorLinConsPure 

Source
pub unsafe extern "C" fn SCIPcreateConsIndicatorLinConsPure(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    binvar: *mut SCIP_VAR,
    lincons: *mut SCIP_CONS,
    initial: c_uint,
    separate: c_uint,
    enforce: c_uint,
    check: c_uint,
    propagate: c_uint,
    local: c_uint,
    dynamic: c_uint,
    removable: c_uint,
    stickingatnode: c_uint,
) -> SCIP_RETCODE
Expand description

creates and captures an indicator constraint with given linear constraint; no slack variable is specified

@note @a binvar is checked to be binary only later. This enables a change of the type in procedures reading an instance.

@note The linear constraint has to be single sided only, i.e., either rhs or lhs have to be infinite.

@note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()