Description Usage Arguments Value
Solve a linear program using lpSolve.
1 2 3 4 5 6 7 8 |
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. |
timeout |
either a positive integer value specifying the number of seconds after which a timeout will occur, or zero, then no timeout will occur. |
presolve |
a character vector specifying presolve steps to be carried out before solving |
verbose |
either a character string or a TRUE/FALSE value to control the level of reporting. The character string can be: "critical" (hard errors only), "severe" (errors only), "important" (warnings and errors), "normal", "detailed", or "full". TRUE means "normal", FALSE means "neutral". |
... |
more control parameters to be passed to lpSolve |
Updated lp object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.