convertToCompact function

'Sparsify' constraint matrix

'Sparsify' constraint matrix

convertToCompact(Amat)

Arguments

  • Amat: a constraint matrix as defined in solve.QP

Returns

a list with two elements: Amat and Aind as necessary to be passed to solve.QP.compact

See Also

quadprog::solve.QP

quadprog::solve.QP.compact

  • Maintainer: Bob Harlow
  • License: GPL (>= 2)
  • Last published: 2020-01-15

Useful links