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

QpBoundLinsys Class Reference
[QpBound]

#include <QpBoundLinsys.h>

Inheritance diagram for QpBoundLinsys:

LinearSystem QpBoundDenseLinsys List of all members.

Public Methods

void factor (Data *prob, Variables *vars)
void solve (Data *prob, Variables *vars, Residuals *rhs, Variables *step)

Protected Attributes

int nx
DoubleMatrixHandle Mat
OoqpVectorHandle dq
OoqpVectorHandle dd

Detailed Description

Linear system solvers for the bound-constrained QP formulation. Contains material common to the sparse and dense variants (though in this distribution we provide the implementation only of the dense variant).


Member Function Documentation

void QpBoundLinsys::factor Data   prob,
Variables   vars
[virtual]
 

sets up the matrix for the main linear system. The actual factorization is performed by a routine specific to either the sparse or dense case.

See also:
QpBoundDenseLinsys::factor

Implements LinearSystem.

Reimplemented in QpBoundDenseLinsys.

void QpBoundLinsys::solve Data   prob,
Variables   vars,
Residuals   rhs,
Variables   step
[virtual]
 

solve the system for the given set of redisuals

Implements LinearSystem.


Member Data Documentation

OoqpVectorHandle QpBoundLinsys::dd [protected]
 

modified diagonal

OoqpVectorHandle QpBoundLinsys::dq [protected]
 

diagonal of the coefficient matrix

DoubleMatrixHandle QpBoundLinsys::Mat [protected]
 

stores the coefficient matrix and (later) its factor

int QpBoundLinsys::nx [protected]
 

problem dimension


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