pub unsafe extern "C" fn SCIPmultiaggregateVar(
scip: *mut SCIP,
var: *mut SCIP_VAR,
naggvars: c_int,
aggvars: *mut *mut SCIP_VAR,
scalars: *mut f64,
constant: f64,
infeasible: *mut c_uint,
aggregated: *mut c_uint,
) -> SCIP_RETCODEExpand description
converts variable into multi-aggregated variable; this changes the variable array returned from SCIPgetVars() and SCIPgetVarsData();
@warning The integrality condition is not checked anymore on the multi-aggregated variable. You must not multi-aggregate an integer variable without being sure, that integrality on the aggregation variables implies integrality on the aggregated variable.
The output flags have the following meaning:
- infeasible: the problem is infeasible
- aggregated: the aggregation was successfully performed (the variables were not aggregated before)
@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 only be called if @p scip is in stage \ref SCIP_STAGE_PRESOLVING