Learn R Programming

sybil (version 2.2.0)

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

Description

Change column (variable) bounds in the optimization problem.

Usage

# S4 method for optObj_clpAPI
changeColsBnds(lp, j, lb, ub)

# S4 method for optObj_cplexAPI changeColsBnds(lp, j, lb, ub)

# S4 method for optObj_glpkAPI changeColsBnds(lp, j, lb, ub)

# S4 method for 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.

Methods

signature(lp = "optObj_clpAPI")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI")

method to use with package optObj_cplexAPI.

signature(lp = "optObj_glpkAPI")

method to use with package optObj_glpkAPI.

signature(lp = "optObj_lpSolveAPI")

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.