SCIPsetSlackVarUb

Function SCIPsetSlackVarUb 

Source
pub unsafe extern "C" fn SCIPsetSlackVarUb(
    scip: *mut SCIP,
    cons: *mut SCIP_CONS,
    ub: f64,
) -> SCIP_RETCODE
Expand description

sets upper bound for slack variable corresponding to indicator constraint

Use with care if you know that the maximal violation of the corresponding constraint is at most @p ub. This bound might be improved automatically during the solution process.

@pre This method should only be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM