PIPS-NLP
|
#include <DoubleLinearSolver.h>
Public Member Functions | |
DoubleIterativeLinearSolver (MatTimesVec *A, MatTimesVec *M1, MatTimesVec *M2=NULL) | |
virtual void | diagonalChanged (int idiag, int extent) |
virtual int | matrixChanged () |
virtual void | solve (OoqpVector &rhs)=0 |
virtual | ~DoubleIterativeLinearSolver () |
![]() | |
DoubleLinearSolver () | |
virtual void | solveTrans (OoqpVector &x) |
virtual void | solve (GenMatrix &rhs) |
virtual void | Lsolve (OoqpVector &x) |
virtual void | Dsolve (OoqpVector &x) |
virtual void | Ltsolve (OoqpVector &x) |
virtual | ~DoubleLinearSolver () |
Protected Member Functions | |
DoubleIterativeLinearSolver () | |
void | applyA (double beta, OoqpVector &res, double alpha, OoqpVector &x) |
void | applyM1 (double beta, OoqpVector &res, double alpha, OoqpVector &x) |
void | applyM2 (double beta, OoqpVector &res, double alpha, OoqpVector &x) |
Protected Attributes | |
MatTimesVec * | A |
MatTimesVec * | ML |
MatTimesVec * | MR |
Additional Inherited Members | |
![]() | |
int | negEigVal |
int | KryIter |
The abstract interface for a linear iterative solver for linear systems that arise in primal-dual interior-point methods for QP.
DoubleIterativeLinearSolver::DoubleIterativeLinearSolver | ( | MatTimesVec * | A, |
MatTimesVec * | M1, | ||
MatTimesVec * | M2 = NULL |
||
) |
|
virtual |
|
protected |
|
protected |
Actual mat-vec operations
|
protected |
|
protected |
|
virtual |
called if the diagonal elements of the matrix have changed. Triggers a refactorization of the matrix, if necessary.
idiag | index of the first diagonal element that changed |
extent | the number of diagonal element that changed. |
Implements DoubleLinearSolver.
Reimplemented in PetscIterativeSolver_Sparse.
|
virtual |
called if some elements of the matrix have changed. Triggers a refactorization of the matrix, if necessary.
Implements DoubleLinearSolver.
Reimplemented in PetscIterativeSolver_Sparse.
|
pure virtual |
solves a linear system.
x | on entry the right hand side of the system to be solved. On exit, the solution. |
Implements DoubleLinearSolver.
Implemented in PetscIterativeSolver_Sparse.
|
protected |
MatVec operation involving system matrix
|
protected |
MatVec ops for left and right preconditioner
|
protected |