make.lp {lpSolveAPI}R Documentation

Make LP

Description

Create a new lpSolve linear program model object.

Usage

make.lp(nrow = 0, ncol = 0)

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.

Value

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

Author(s)

Kjell Konis kjell.konis@epfl.ch

References

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

Examples

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

[Package lpSolveAPI version 5.5.0.14 Index]