SCIPchgVarLbLazy

Function SCIPchgVarLbLazy 

Source
pub unsafe extern "C" fn SCIPchgVarLbLazy(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    lazylb: f64,
) -> SCIP_RETCODE
Expand description

changes lazy lower bound of the variable, this is only possible if the variable is not in the LP yet

Lazy bounds are bounds that are already enforced by constraints and the objective function. Setting a lazy lower bound has the consequence that for variables which lower bound equals the lazy lower bound, the lower bound does not need to be passed on to the LP solver. This is especially useful in a column generation (branch-and-price) setting.

@attention If the variable has a global lower bound below lazylb, then the global lower bound is tightened to lazylb by a call to SCIPchgVarLbGlobal().

@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.

@pre This method can be called if @p scip is in one of the following stages: - \ref SCIP_STAGE_PROBLEM - \ref SCIP_STAGE_TRANSFORMING - \ref SCIP_STAGE_TRANSFORMED - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_SOLVING