pub unsafe extern "C" fn SCIPsetObjIntegral(
scip: *mut SCIP,
) -> SCIP_RETCODEExpand description
informs SCIP, that the objective value is always integral in every feasible solution
@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_INITPRESOLVE - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_SOLVING
@note This function should be used to inform SCIP that the objective function is integral, helping to improve the performance. This is useful when using column generation. If no column generation (pricing) is used, SCIP automatically detects whether the objective function is integral or can be scaled to be integral. However, in any case, the user has to make sure that no variable is added during the solving process that destroys this property.