Learn R Programming

sybil (version 1.1.2)

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

Description

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

Usage

## S3 method for class 'optObj_clpAPI':
getNumCols(lp)

## S3 method for class 'optObj_cplexAPI': getNumCols(lp)

## S3 method for class 'optObj_glpkAPI': getNumCols(lp)

## S3 method for class 'optObj_lpSolveAPI': getNumCols(lp)

Arguments

lp
An object extending class optObj.

Value

  • A single numeric value.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.