|
PIPS-NLP
|
#include <Ma27Solver.h>
Public Member Functions | |
| Ma27Solver (SparseSymMatrix *sgm, const int numOfNegEigVal_in=-1) | |
| virtual void | copyMatrixElements (double fact[], int lfact) |
| virtual void | getIndices (int irowM[], int jcolM[]) |
| virtual void | solve (OoqpVector &rhs) |
| virtual void | solve (GenMatrix &rhs_in) |
Public Member Functions inherited from Ma27SolverBase | |
| Ma27SolverBase (int n, int nnz) | |
| double | thresholdPivoting () |
| void | setThresholdPivoting (double piv) |
| double | treatAsZero () |
| void | setTreatAsZero (double tol) |
| virtual void | diagonalChanged (int idiag, int extent) |
| virtual int | matrixChanged () |
| virtual void | basicSolve (double drhs[], int n) |
| virtual | ~Ma27SolverBase () |
Public Member Functions inherited from DoubleLinearSolver | |
| DoubleLinearSolver () | |
| virtual void | solveTrans (OoqpVector &x) |
| virtual void | Lsolve (OoqpVector &x) |
| virtual void | Dsolve (OoqpVector &x) |
| virtual void | Ltsolve (OoqpVector &x) |
| virtual | ~DoubleLinearSolver () |
Protected Member Functions | |
| Ma27Solver () | |
Protected Member Functions inherited from Ma27SolverBase | |
| Ma27SolverBase () | |
| int | ierror () |
| int | minimumRealWorkspace () |
| int | minimumIntWorkspace () |
| int | ma27ErrFlg () |
| virtual void | firstCall () |
Protected Attributes | |
| SparseSymMatrixHandle | mMat |
Protected Attributes inherited from Ma27SolverBase | |
| int | icntl [30] |
| int | info [20] |
| double | cntl [5] |
| double | precision |
| int * | irowM |
| int * | jcolM |
| double * | fact |
| int | n |
| int | nnz |
| int | la |
| int * | ikeep |
| int * | iw |
| int | liw |
| int * | iw1 |
| int * | iw2 |
| int | nsteps |
| int | maxfrt |
| double * | w |
| double | ipessimism |
| double | rpessimism |
Additional Inherited Members | |
Public Attributes inherited from DoubleLinearSolver | |
| int | negEigVal |
| int | KryIter |
implements the linear solver class using the HSL MA27 solver
|
inlineprotected |
| Ma27Solver::Ma27Solver | ( | SparseSymMatrix * | sgm, |
| const int | numOfNegEigVal_in = -1 |
||
| ) |
sets mMat to refer to the argument sgm
|
virtual |
copy the contents of the matrix into fact
| fact | on exit, contains the nonzero elements of the original matrix, stored as an array of doubles |
Implements Ma27SolverBase.
|
virtual |
change format for row/column index matrices, in preparation for call to MA27 FORTRAN routines
| irowM | array of nnz elements indicating row index (in range 1..n) of the corresponding matrix element |
| jcolM | array of nnz elements indicating col index (in range 1..n) of the corresponding matrix element |
Implements Ma27SolverBase.
|
virtual |
version of the main solve routine that takes argument as an OoqpVector
| drhs | on input contains the right-hand side; on output contains the solution |
| n | dimension of the system |
Implements Ma27SolverBase.
|
virtual |
Reimplemented from DoubleLinearSolver.
|
protected |
store as a sparse symmetric matrix
1.8.11