Description Usage Arguments Value See Also
View source: R/normalizeConstraints.R
it is not uncommon for quadprog to fail when there are large differences in 2-norm between the columns of the constraint matrix (Amat). It is possible to alleviate this issue in some cases by normalizing the constraints (and their boundaries, defined by bvec).
1 | normalizeConstraints(Amat, bvec)
|
Amat |
constraint matrix as defined by solve.QP |
bvec |
constraints as defined by solve.QP |
a list with two elements: Amat and bvec that contain the normalized constraints.
quadprog::solve.QP
quadprog::solve.QP.compact
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.