Learn R Programming

sybil (version 1.1.2)

changeRowsBnds-methods: Change Row Bounds in the Optimization Problem

Description

Change row bounds in the optimization problem.

Usage

## S3 method for class 'optObj_clpAPI':
changeRowsBnds(lp, i, lb, ub)

## S3 method for class 'optObj_cplexAPI': changeRowsBnds(lp, i, lb, ub)

## S3 method for class 'optObj_glpkAPI': changeRowsBnds(lp, i, lb, ub)

## S3 method for class 'optObj_lpSolveAPI': changeRowsBnds(lp, i, lb, ub)

Arguments

lp
An object extending class optObj.
i
A numeric vector containing the row indices of the constraints to change.
lb
A numeric vector of the same length as i containing the lower bounds of the constraints to change.
ub
A numeric vector of the same length as i containing the upper bounds of the constraints to change (unused with cplexAPI).

encoding

utf8

See Also

Superclass optObj and constructor function optObj.