Description Usage Arguments Value
Set up a new lpSolve linear program model object from a corresponding R object.
1 | set_lpsolve(lp)
|
lp |
An R object that encapsulates the data used to specify a linear program model. This is a list with the following components: constraint, objective, var.type, upper and lower. The last three components are optional and default to NULL. |
A lpSolveAPI::lpExtPtr object. This is an external pointer to a "lprec" structure used by the lp_solve C API that underlies the lpSolveAPI package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.