Learn R Programming

sybil (version 2.2.0)

getNumCols-methods: Get Number of Columns (Variables) of the Optimization Problem

Description

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

Usage

# S4 method for optObj_clpAPI
getNumCols(lp)

# S4 method for optObj_cplexAPI getNumCols(lp)

# S4 method for optObj_glpkAPI getNumCols(lp)

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

See Also

Superclass '>optObj and constructor function optObj.