Learn R Programming

sybil (version 2.0.0)

addCols-methods: Add Columns to an Optimization Problem

Description

Add columns to an optimization problem.

Usage

# S4 method for optObj_clpAPI,numeric
addCols(lp, ncols)

# S4 method for optObj_cplexAPI,numeric addCols(lp, ncols)

# S4 method for optObj_glpkAPI,numeric addCols(lp, ncols)

# S4 method for optObj_lpSolveAPI,numeric addCols(lp, ncols)

Arguments

lp

An object extending class '>optObj.

ncols

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

Methods

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

method to use with package optObj_clpAPI.

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

method to use with package optObj_cplexAPI.

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

method to use with package optObj_glpkAPI.

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

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.