make.lp: Make LP

Description Usage Arguments Value Author(s) References Examples

View source: R/make.lp.q

Description

Create a new lpSolve linear program model object.

Usage

1
make.lp(nrow = 0, ncol = 0, verbose = "neutral")

Arguments

nrow

a nonnegative integer value specifying the number of constaints in the linear program.

ncol

a nonnegative integer value specifying the number of decision variables in the linear program.

verbose

a character string controlling the level of error reporting. The default value "neutral" is no error reporting. Use "normal" or "full" for more comprehensive error reporting. See the verbose entry in lp.control.options for a complete description of this argument and its possible values.

Value

an lpSolve linear program model object. Specifically an R external pointer with class lpExtPtr.

Author(s)

Kjell Konis kjell.konis@me.com

References

http://lpsolve.sourceforge.net/5.5/index.htm

Examples

1
lps.model <- make.lp(4, 3)

lpSolveAPI documentation built on May 20, 2017, 4:47 a.m.

Search within the lpSolveAPI package
Search all R packages, documentation and source code