Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

QpGenData Class Reference
[QpGen]

#include <QpGenData.h>

Inheritance diagram for QpGenData:

Data List of all members.

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 ()

Detailed Description

Data for the general QP formulation.


Constructor & Destructor Documentation

QpGenData::QpGenData (  LinearAlgebraPackage *    la,
int    nx_,
int    my_,
int    mz_,
int    nnzQ,
int    nnzA,
int    nnzC
) 
 

constructor that makes data objects of the specified dimensions

QpGenData::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
) 
 

constructor that sets up pointers to the data objects that are passed as arguments


Member Function Documentation

virtual void QpGenData::Amult (  double    beta,
OoqpVector &    y,
double    alpha,
OoqpVector &    x
)  [virtual]
 

y = beta * y + alpha * A * x

virtual void QpGenData::ATransmult (  double    beta,
OoqpVector &    y,
double    alpha,
OoqpVector &    x
)  [virtual]
 

y = beta * y + alpha * A\T * x

virtual void QpGenData::Cmult (  double    beta,
OoqpVector &    y,
double    alpha,
OoqpVector &    x
)  [virtual]
 

y = beta * y + alpha * C * x

virtual void QpGenData::CTransmult (  double    beta,
OoqpVector &    y,
double    alpha,
OoqpVector &    x
)  [virtual]
 

y = beta * y + alpha * C\T * x

virtual double QpGenData::datanorm (    )  [virtual]
 

compute the norm of the problem data

Implements Data.

virtual void QpGenData::datarandom (  OoqpVector &    x,
OoqpVector &    y,
OoqpVector &    z,
OoqpVector &    s
)  [virtual]
 

Create a random problem

Parameters:
x,y,z,s  ) the solution to the random problem

virtual void QpGenData::getDiagonalOfQ (  OoqpVector &    dQ )  [virtual]
 

extract the diagonal of Q and put it in the OoqpVector dQ

virtual void QpGenData::print (    )  [virtual]
 

print the problem data

Implements Data.

virtual void QpGenData::putAIntoAt (  SymMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the constraint matrix A into the matrix M for the fundamental linear system, where M is stored as a SymMatrix

virtual void QpGenData::putAIntoAt (  GenMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the constraint matrix A into the matrix M for the fundamental linear system, where M is stored as a GenMatrix

virtual void QpGenData::putCIntoAt (  SymMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the constraint matrix C into the matrix M for the fundamental linear system, where M is stored as a SymMatrix

virtual void QpGenData::putCIntoAt (  GenMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the constraint matrix C into the matrix M for the fundamental linear system, where M is stored as a GenMatrix

virtual void QpGenData::putQIntoAt (  SymMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the Hessian Q into the matrix M for the fundamental linear system, where M is stored as a SymMatrix

virtual void QpGenData::putQIntoAt (  GenMatrix &    M,
int    row,
int    col
)  [virtual]
 

insert the Hessian Q into the matrix M for the fundamental linear system, where M is stored as a GenMatrix

virtual void QpGenData::Qmult (  double    beta,
OoqpVector &    y,
double    alpha,
OoqpVector &    x
)  [virtual]
 

y = beta * y + alpha * Q * x


The documentation for this class was generated from the following file:
Generated on Mon May 24 17:40:46 2004 for OOQP by doxygen1.2.18