SCIPcreateConsVarbound

Function SCIPcreateConsVarbound 

Source
pub unsafe extern "C" fn SCIPcreateConsVarbound(
    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,
    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 variable bound constraint: lhs <= x + c*y <= rhs

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