Learn R Programming

sybil (version 1.1.2)

initProb-methods: Initialize Problem Object

Description

Initialize Problem Object.

Usage

## S3 method for class 'optObj_clpAPI':
initProb(lp, ...)

## S3 method for class 'optObj_cplexAPI': initProb(lp, ...)

## S3 method for class 'optObj_glpkAPI': initProb(lp, ...)

## S3 method for class 'optObj_lpSolveAPI': initProb(lp, nrows, ncols)

Arguments

lp
An object extending class optObj.
nrows
Number of rows (constraints) of the new problem object.
ncols
Number of columns (variables) of the new problem object.
...
Further arguments passed to the initialization function of the solver package.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.