SCIPcreateConsIndicator

Function SCIPcreateConsIndicator 

Source
pub unsafe extern "C" fn SCIPcreateConsIndicator(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    binvar: *mut SCIP_VAR,
    nvars: c_int,
    vars: *mut *mut SCIP_VAR,
    vals: *mut f64,
    rhs: f64,
    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

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

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