#include <IpLapackSolverInterface.hpp>
For details, see description of SparseSymLinearSolverInterface base class.
Public Member Functions | |
bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
overloaded from AlgorithmStrategyObject | |
Constructor/Destructor | |
LapackSolverInterface () | |
Constructor. | |
virtual | ~LapackSolverInterface () |
Destructor. | |
Methods for requesting solution of the linear system. | |
virtual ESymSolverStatus | InitializeStructure (Index dim, Index nonzeros, const Index *ia, const Index *ja) |
Method for initializing internal stuctures. | |
virtual double * | GetValuesArrayPtr () |
Method returing an internal array into which the nonzero elements are to be stored. | |
virtual ESymSolverStatus | MultiSolve (bool new_matrix, const Index *ia, const Index *ja, Index nrhs, double *rhs_vals, bool check_NegEVals, Index numberOfNegEVals) |
Solve operation for multiple right hand sides. | |
virtual Index | NumberOfNegEVals () const |
Number of negative eigenvalues detected during last factorization. | |
virtual bool | IncreaseQuality () |
Request to increase quality of solution for next solve. | |
virtual bool | ProvidesInertia () const |
Query whether inertia is computed by linear solver. | |
EMatrixFormat | MatrixFormat () const |
Query of requested matrix type that the linear solver understands. | |
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. |
~LapackSolverInterface | ( | ) | [virtual] |
bool InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
ESymSolverStatus InitializeStructure | ( | Index | dim, | |
Index | nonzeros, | |||
const Index * | ia, | |||
const Index * | ja | |||
) | [virtual] |
Method for initializing internal stuctures.
Initialize the local copy of the positions of the nonzero elements.
Implements SparseSymLinearSolverInterface.
References DBG_START_METH, fkinkryx::i, and Ipopt::SYMSOLVER_SUCCESS.
double * GetValuesArrayPtr | ( | ) | [virtual] |
Method returing an internal array into which the nonzero elements are to be stored.
Implements SparseSymLinearSolverInterface.
ESymSolverStatus MultiSolve | ( | bool | new_matrix, | |
const Index * | ia, | |||
const Index * | ja, | |||
Index | nrhs, | |||
double * | rhs_vals, | |||
bool | check_NegEVals, | |||
Index | numberOfNegEVals | |||
) | [virtual] |
Solve operation for multiple right hand sides.
Implements SparseSymLinearSolverInterface.
References DBG_ASSERT, DBG_START_METH, fkinkryx::i, info, LapackSolverInterface::ProvidesInertia(), fkinkryx_p::rank, and Ipopt::SYMSOLVER_SUCCESS.
Index NumberOfNegEVals | ( | ) | const [virtual] |
Number of negative eigenvalues detected during last factorization.
Implements SparseSymLinearSolverInterface.
References DBG_ASSERT.
bool IncreaseQuality | ( | ) | [virtual] |
virtual bool ProvidesInertia | ( | ) | const [inline, virtual] |
Query whether inertia is computed by linear solver.
Returns true, if linear solver provides inertia.
Implements SparseSymLinearSolverInterface.
Referenced by LapackSolverInterface::MultiSolve().
EMatrixFormat MatrixFormat | ( | ) | const [inline, virtual] |
Query of requested matrix type that the linear solver understands.
Implements SparseSymLinearSolverInterface.
References SparseSymLinearSolverInterface::Dense_Format.
void RegisterOptions | ( | SmartPtr< RegisteredOptions > | roptions | ) | [static] |
Methods for IpoptType.