SCIPcreateConsBasicVarbound

Function SCIPcreateConsBasicVarbound 

Source
pub unsafe extern "C" fn SCIPcreateConsBasicVarbound(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    var: *mut SCIP_VAR,
    vbdvar: *mut SCIP_VAR,
    vbdcoef: f64,
    lhs: f64,
    rhs: f64,
) -> SCIP_RETCODE
Expand description

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

@see SCIPcreateConsVarbound() 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()