Get Number of Columns (Variables) of the Optimization Problem

Share:

Description

Get number of columns (variables) of the optimization problem.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'optObj_clpAPI'
getNumCols(lp)

## S4 method for signature 'optObj_cplexAPI'
getNumCols(lp)

## S4 method for signature 'optObj_glpkAPI'
getNumCols(lp)

## S4 method for signature 'optObj_lpSolveAPI'
getNumCols(lp)

Arguments

lp

An object extending class optObj.

Value

A single numeric value.

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.

Author(s)

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

Maintainer: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>

See Also

Superclass optObj and constructor function optObj.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.