pub unsafe extern "C" fn SCIPchgReoptObjective(
scip: *mut SCIP,
objsense: SCIP_OBJSENSE,
vars: *mut *mut SCIP_VAR,
coefs: *mut f64,
nvars: c_int,
) -> SCIP_RETCODEExpand description
changes the objective function of the original problem.
@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_PRESOLVED
@note This method should be only used to change the objective function during two reoptimization runs and is only recommended to an experienced user.
@note All variables not given in \p vars array are assumed to have an objective coefficient of zero.