Learn R Programming

sybil (version 1.1.2)

getNumRows-methods: Get Number of Rows (Constraints) of the Optimization Problem

Description

Get number of rows (constraints) of the optimization problem.

Usage

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

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

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

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

Arguments

lp
An object extending class optObj.

Value

  • A single numeric value.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.