View source: R/quadprog.solve.QP.R
quadprog.solve.QP | R Documentation |
quadprog.solve.QP
solves a quadratic programming in form of
\min(-d^T b + 1/2 b^T D b)
with the
constraints A^T b \ge b_0
.
quadprog.solve.QP(Dmat, dvec, Amat, bvec, meq=0, factorized=FALSE)
Dmat |
matrix appearing in the quadratic function to be minimized. |
dvec |
vector appearing in the quadratic function to be minimized. |
Amat |
matrix defining the constraints under which we want to minimize the quadratic function. |
bvec |
vector holding the values of |
meq |
the first |
factorized |
Not implemented. Must be set to false. |
This function is a thin wrapper around QP.Solve
, for compatibility
with quadprog package
.
a list with the following components:
solution |
vector containing the solution of the quadratic programming problem. |
value |
not implemented. Contains NULL. |
unconstrained.solution |
not implemented. Contains NULL. |
iterations |
not implemented. Contains NULL. |
Lagrangian |
not implemented. Contains NULL. |
iact |
not implemented. Contains NULL. |
quadprog: Functions to solve Quadratic Programming Problems. R package version 1.5-5. http://CRAN.R-project.org/package=quadprog
quadprog package
, QP.Solve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.