adjust: Adjust Constraints and Objective Functions

Description Usage Arguments Details Value See Also

Description

Constraints and objective functions are adjusted so that they refer to a larger or smaller set of variables.

Usage

1
adjust(x, ids)

Arguments

x

Constraint or objective function of class "linFun", "linCon", "quadFun", "quadCon", "ratioFun", and "ratioCon".

ids

Vector with ids of the variables.

Details

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.

Value

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.

See Also

The main function for solving constrained programming problems is solvecop.


optiSolve documentation built on Oct. 13, 2021, 5:08 p.m.