SCIPcreateConsLinking

Function SCIPcreateConsLinking 

Source
pub unsafe extern "C" fn SCIPcreateConsLinking(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    linkvar: *mut SCIP_VAR,
    binvars: *mut *mut SCIP_VAR,
    vals: *mut f64,
    nbinvars: c_int,
    initial: c_uint,
    separate: c_uint,
    enforce: c_uint,
    check: c_uint,
    propagate: c_uint,
    local: c_uint,
    modifiable: c_uint,
    dynamic: c_uint,
    removable: c_uint,
    stickingatnode: c_uint,
) -> SCIP_RETCODE
Expand description

creates and captures a linking constraint

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