limsolve.optim | R Documentation |
limSolve
This function computes the solution to linear and quadratic
programs using the limSolve
package.
limsolve.optim(Af, bf, nf, A, rhs, sense, modelsense, lb, weight = NULL, ...)
Af |
The matrix that is involved in the objective function. |
bf |
The vector that is involved in the objective function. |
nf |
The number of observations in the data frame. |
A |
The constraint matrix. |
rhs |
The rhs vector for the linear constraints. |
sense |
The sense of the linear constraints. |
modelsense |
The indicator of whether the model is to max or min an objective function. |
lb |
The lower bound vector. |
weight |
The weighting matrix. |
... |
List of options to be passed to the Gurobi solver. This part is optional. |
Returns the optimal point, the optimal value and the status of the solution.
objval |
The optimal value. |
x |
The optimal point. |
status |
The status of the optimization problem. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.