Constraints and objective functions are adjusted so that they refer to a larger or smaller set of variables.
adjust(x, ids)
Constraint or objective function of class "linFun"
, "linCon"
, "quadFun"
, "quadCon"
, "ratioFun"
, and "ratioCon"
.
Vector with ids of the variables.
A data frame (invisible) containing values and bounds of the constraints, the value of the objective function, and column valid
which is TRUE if all constraints are fulfilled.
Constraints and objective functions are adjusted so that they refer to a larger or smaller set of variables. Additional variables do not affect the value of the constraint or objective function.
The main function for solving constrained programming problems is solvecop.