standard.form | R Documentation |
This function is mainly a wrapper of the simplex
function from the boot
package. It returns the standard form
of the constraints matrix of a linear program.
standard.form(A, b, sense, lb = NULL, obj = NULL)
A |
The matrix that represents the constraints. |
b |
The rhs vector that represents the constraints. |
sense |
The sense of the constraints. |
lb |
The lower bound of the variables. |
obj |
The objective function. |
Returns the following four objects:
A |
The matrix representing the constraints in standard form. |
b |
The rhs vector representing the constraints in standard form. |
lb |
The lower bound of the variables. |
obj |
The objective function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.