convertToCompact {quadprogXT}R Documentation

'Sparsify' constraint matrix

Description

'Sparsify' constraint matrix

Usage

convertToCompact(Amat)

Arguments

Amat

a constraint matrix as defined in solve.QP

Value

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


[Package quadprogXT version 0.0.5 Index]