Learn R Programming

sybil (version 1.1.2)

changeColsBnds-methods: Change Column (Variable) Bounds in the Optimization Problem

Description

Change column (variable) bounds in the optimization problem.

Usage

## S3 method for class 'optObj_clpAPI':
changeColsBnds(lp, j, lb, ub)

## S3 method for class 'optObj_cplexAPI': changeColsBnds(lp, j, lb, ub)

## S3 method for class 'optObj_glpkAPI': changeColsBnds(lp, j, lb, ub)

## S3 method for class 'optObj_lpSolveAPI': changeColsBnds(lp, j, lb, ub)

Arguments

lp
An object extending class optObj.
j
A numeric vector containing the column indices of the variables to change.
lb
A numeric vector of the same length as j containing the lower bounds of the variables to change.
ub
A numeric vector of the same length as j containing the upper bounds of the variables to change.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.