SCIPfindVar

Function SCIPfindVar 

Source
pub unsafe extern "C" fn SCIPfindVar(
    scip: *mut SCIP,
    name: *const c_char,
) -> *mut SCIP_VAR
Expand description

returns variable of given name in the problem, or NULL if not existing

@return variable of given name in the problem, or NULL if not existing

@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_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED - \ref SCIP_STAGE_EXITSOLVE - \ref SCIP_STAGE_FREETRANS