dqp function

Creating a member object of the reference-class DQP

Creating a member object of the reference-class DQP

This function returns an object containing the definition of a cone constrained quadratic program. The returned object is a member of the reference-class DQP.

dqp(P, q, A = NULL, b = NULL, cList = list())

Arguments

  • P: An object of class matrix with dimension n×nn \times n.
  • q: An object of class vector with dimension n×1n \times 1.
  • A: An object of class matrix with dimension c("ptimes\np \\times\n", "n n") or NULL for problems without equality constraints.
  • b: An object of class vector with dimension c("ptimes\np \\times\n", "1 1") or NULL for problems without equality constraints.
  • cList: A list object containing the cone constraints. Elements must be of either reference-class NNOC, or SOCC, or PSDC or an empty list in case of no inequality constraints.

Returns

An object belonging to the reference-class DQP.

  • Maintainer: Bernhard Pfaff
  • License: GPL (>= 3)
  • Last published: 2023-12-09

Useful links