#include <QpGenData.h>
Inheritance diagram for QpGenData:
Public Methods | |
QpGenData (LinearAlgebraPackage *la, int nx_, int my_, int mz_, int nnzQ, int nnzA, int nnzC) | |
QpGenData (LinearAlgebraPackage *la, OoqpVector *c, SymMatrix *Q, OoqpVector *xlow, OoqpVector *ixlow, OoqpVector *xupp, OoqpVector *ixupp, GenMatrix *A, OoqpVector *bA, GenMatrix *C, OoqpVector *clow, OoqpVector *iclow, OoqpVector *cupp, OoqpVector *ciupp) | |
virtual void | putQIntoAt (GenMatrix &M, int row, int col) |
virtual void | putAIntoAt (GenMatrix &M, int row, int col) |
virtual void | putCIntoAt (GenMatrix &M, int row, int col) |
virtual void | putQIntoAt (SymMatrix &M, int row, int col) |
virtual void | putAIntoAt (SymMatrix &M, int row, int col) |
virtual void | putCIntoAt (SymMatrix &M, int row, int col) |
virtual void | Qmult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | Amult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | Cmult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | ATransmult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | CTransmult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | getDiagonalOfQ (OoqpVector &dQ) |
virtual double | datanorm () |
virtual void | datarandom (OoqpVector &x, OoqpVector &y, OoqpVector &z, OoqpVector &s) |
virtual void | print () |
|
constructor that makes data objects of the specified dimensions |
|
constructor that sets up pointers to the data objects that are passed as arguments |
|
y = beta * y + alpha * A * x |
|
y = beta * y + alpha * A\T * x |
|
y = beta * y + alpha * C * x |
|
y = beta * y + alpha * C\T * x |
|
compute the norm of the problem data Implements Data. |
|
Create a random problem
|
|
extract the diagonal of Q and put it in the OoqpVector dQ |
|
print the problem data Implements Data. |
|
insert the constraint matrix A into the matrix M for the fundamental linear system, where M is stored as a SymMatrix |
|
insert the constraint matrix A into the matrix M for the fundamental linear system, where M is stored as a GenMatrix |
|
insert the constraint matrix C into the matrix M for the fundamental linear system, where M is stored as a SymMatrix |
|
insert the constraint matrix C into the matrix M for the fundamental linear system, where M is stored as a GenMatrix |
|
insert the Hessian Q into the matrix M for the fundamental linear system, where M is stored as a SymMatrix |
|
insert the Hessian Q into the matrix M for the fundamental linear system, where M is stored as a GenMatrix |
|
y = beta * y + alpha * Q * x |