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

QpGenSparseLinsys Class Reference
[QpGen]

#include <QpGenSparseLinsys.h>

Inheritance diagram for QpGenSparseLinsys:

QpGenLinsys LinearSystem List of all members.

Public Member Functions

 QpGenSparseLinsys (QpGen *factory, QpGenData *data, LinearAlgebraPackage *la, SparseSymMatrix *Mat, DoubleLinearSolver *solver)
virtual void solveCompressed (OoqpVector &rhs)
virtual void putXDiagonal (OoqpVector &xdiag)
virtual void putZDiagonal (OoqpVector &zdiag)
virtual void factor (Data *prob, Variables *vars)

Protected Attributes

SparseSymMatrixHandle Mat
DoubleLinearSolversolver

Detailed Description

implements the aspects of the solvers for sparse general QP formulation that are specific to the sparse case.


Member Function Documentation

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

calls QpGenLinsys::factor to assemble the augmented system matrix, then calls matrixChanged to factor it

See also:
QpGenLinsys::factor

Reimplemented from QpGenLinsys.

virtual void QpGenSparseLinsys::putXDiagonal OoqpVector xdiag  )  [virtual]
 

places the diagonal resulting from the bounds on x into the augmented system matrix

Implements QpGenLinsys.

virtual void QpGenSparseLinsys::putZDiagonal OoqpVector zdiag  )  [virtual]
 

places the diagonal resulting from the bounds on Cx into the augmented system matrix

Implements QpGenLinsys.

virtual void QpGenSparseLinsys::solveCompressed OoqpVector rhs  )  [virtual]
 

perform the actual solve using the factors produced in factor.

Parameters:
rhs on input contains the aggregated right-hand side of the augmented system; on output contains the solution in aggregated form

Implements QpGenLinsys.


The documentation for this class was generated from the following file:
Generated on Wed Mar 22 13:58:35 2006 for OOQP by doxygen 1.3.5