SCIPsetRelaxSolValsSol

Function SCIPsetRelaxSolValsSol 

Source
pub unsafe extern "C" fn SCIPsetRelaxSolValsSol(
    scip: *mut SCIP,
    relax: *mut SCIP_RELAX,
    sol: *mut SCIP_SOL,
    includeslp: c_uint,
) -> SCIP_RETCODE
Expand description

sets the values of the variables in the global relaxation solution to the values in the given primal solution and informs SCIP about the validity and whether the solution can be enforced via linear cuts; the relaxation solution can be filled by the relaxation handlers and might be used by heuristics and for separation

@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_PRESOLVED - \ref SCIP_STAGE_SOLVING