SCIPcreateConsBasicPseudoboolean

Function SCIPcreateConsBasicPseudoboolean 

Source
pub unsafe extern "C" fn SCIPcreateConsBasicPseudoboolean(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    linvars: *mut *mut SCIP_VAR,
    nlinvars: c_int,
    linvals: *mut f64,
    terms: *mut *mut *mut SCIP_VAR,
    nterms: c_int,
    ntermvars: *mut c_int,
    termvals: *mut f64,
    indvar: *mut SCIP_VAR,
    weight: f64,
    issoftcons: c_uint,
    lhs: f64,
    rhs: f64,
) -> SCIP_RETCODE
Expand description

creates and captures a pseudoboolean constraint in its most basic variant, i. e., with all constraint flags set to their default values, which can be set afterwards using SCIPsetConsFLAGNAME() in scip.h

@see SCIPcreateConsPseudoboolean() for the default constraint flag configuration

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