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

QpBoundLinsys Class Reference
[QpBound]

#include <QpBoundLinsys.h>

Inheritance diagram for QpBoundLinsys:

LinearSystem QpBoundDenseLinsys List of all members.

Public Member Functions

 QpBoundLinsys (QpBound *f, DoubleMatrix *Mat, DoubleLinearSolver *solver, OoqpVector *dq, int nx_, OoqpVector *index_lower, OoqpVector *index_upper)
void factor (Data *prob, Variables *vars)
void solve (Data *prob, Variables *vars, Residuals *rhs, Variables *step)

Protected Attributes

int nx
DoubleMatrixHandle Mat
DoubleLinearSolversolver
QpBound * factory
OoqpVectorHandle index_lower
OoqpVectorHandle index_upper
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 Wed Mar 22 13:58:34 2006 for OOQP by doxygen 1.3.5