Learn R Programming

sybil (version 2.0.0)

addRows-methods: Add Rows to an Optimization Problem

Description

Add rows to an optimization problem.

Usage

# S4 method for optObj_clpAPI,numeric
addRows(lp, nrows)

# S4 method for optObj_cplexAPI,numeric addRows(lp, nrows)

# S4 method for optObj_glpkAPI,numeric addRows(lp, nrows)

# S4 method for optObj_lpSolveAPI,numeric addRows(lp, nrows)

Arguments

lp

An object extending class '>optObj.

nrows

Number of rows (constraints) to add to the problem object.

Methods

signature(lp = "optObj_clpAPI", nrows = "numeric")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI", nrows = "numeric")

method to use with package optObj_cplexAPI.

signature(lp = "optObj_glpkAPI", nrows = "numeric")

method to use with package optObj_glpkAPI.

signature(lp = "optObj_lpSolveAPI", nrows = "numeric")

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.