SCIPcreateConsBasicIndicator

Function SCIPcreateConsBasicIndicator 

Source
pub unsafe extern "C" fn SCIPcreateConsBasicIndicator(
    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,
) -> SCIP_RETCODE
Expand description

creates and captures an indicator constraint in its most basic version, i. e., all constraint flags are set to their basic value as explained for the method SCIPcreateConsIndicator(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h

@see SCIPcreateConsIndicator() for information about the basic constraint flag configuration

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