Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addRowsCols-methods

Add Rows and Columns to an Optimization Problem


Description

Add rows and columns to an optimization problem.

Usage

## S4 method for signature 'optObj_clpAPI,numeric,numeric'
addRowsCols(lp, nrows, ncols)

## S4 method for signature 'optObj_cplexAPI,numeric,numeric'
addRowsCols(lp, nrows, ncols)

## S4 method for signature 'optObj_glpkAPI,numeric,numeric'
addRowsCols(lp, nrows, ncols)

## S4 method for signature 'optObj_lpSolveAPI,numeric,numeric'
addRowsCols(lp, nrows, ncols)

Arguments

lp

An object extending class optObj.

nrows

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

ncols

Number of columns (variables) to add to the problem object.

Methods

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

method to use with package optObj_clpAPI.

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

method to use with package optObj_cplexAPI.

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

method to use with package optObj_glpkAPI.

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

method to use with package optObj_lpSolveAPI.

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

See Also

Superclass optObj and constructor function optObj.


sybil

Efficient Constrained Based Modelling

v2.1.5
GPL-3 | file LICENSE
Authors
Mayo Roettger [cre], Gabriel Gelius-Dietrich [aut], C. Jonathan Fritzemeier [ctb], Rajen Piernikarczyk [ctb], Marc Andre Daxer [ctb], Benjamin Braasch [ctb], Abdelmoneim Desouki [ctb], Martin J. Lercher [ctb]
Initial release
2019-03-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.