Base class for all derived symmetric linear solvers. More...
#include <IpSymLinearSolver.hpp>
Public Member Functions  
virtual bool  InitializeImpl (const OptionsList &options, const std::string &prefix)=0 
Implementation of the initialization method that has to be overloaded by for each derived class. More...  
Constructor/Destructor  
SymLinearSolver ()  
virtual  ~SymLinearSolver () 
Methods for requesting solution of the linear system.  
virtual ESymSolverStatus  MultiSolve (const SymMatrix &A, std::vector< SmartPtr< const Vector > > &rhsV, std::vector< SmartPtr< Vector > > &solV, bool check_NegEVals, Index numberOfNegEVals)=0 
Solve operation for multiple right hand sides. More...  
ESymSolverStatus  Solve (const SymMatrix &A, const Vector &rhs, Vector &sol, bool check_NegEVals, Index numberOfNegEVals) 
Solve operation for a single right hand side. More...  
virtual Index  NumberOfNegEVals () const =0 
Number of negative eigenvalues detected during last factorization. More...  
virtual bool  IncreaseQuality ()=0 
Request to increase quality of solution for next solve. More...  
virtual bool  ProvidesInertia () const =0 
Query whether inertia is computed by linear solver. More...  
Public Member Functions inherited from Ipopt::AlgorithmStrategyObject  
bool  Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix) 
This method is called every time the algorithm starts again  it is used to reset any internal state. More...  
bool  ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) 
Reduced version of the Initialize method, which does not require special Ipopt information. More...  
AlgorithmStrategyObject ()  
Default Constructor. More...  
virtual  ~AlgorithmStrategyObject () 
Destructor. More...  
Public Member Functions inherited from Ipopt::ReferencedObject  
ReferencedObject ()  
virtual  ~ReferencedObject () 
Index  ReferenceCount () const 
void  AddRef (const Referencer *referencer) const 
void  ReleaseRef (const Referencer *referencer) const 
Additional Inherited Members  
Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject  
const Journalist &  Jnlst () const 
IpoptNLP &  IpNLP () const 
IpoptData &  IpData () const 
IpoptCalculatedQuantities &  IpCq () const 
bool  HaveIpData () const 
Base class for all derived symmetric linear solvers.
In the full space version of Ipopt a large linear system has to be solved for the augmented system. This case is meant to be the base class for all derived linear solvers for symmetric matrices (of type SymMatrix).
A linear solver can be used repeatedly for matrices with identical structure of nonzero elements. The nonzero structure of those matrices must not be changed between calls.
The called might ask the solver to only solve the linear system if the system is nonsingular, and if the number of negative eigenvalues matches a given number.
Definition at line 50 of file IpSymLinearSolver.hpp.

inline 
Definition at line 55 of file IpSymLinearSolver.hpp.

inlinevirtual 
Definition at line 58 of file IpSymLinearSolver.hpp.

pure virtual 
Implementation of the initialization method that has to be overloaded by for each derived class.
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::TSymLinearSolver.

pure virtual 
Solve operation for multiple right hand sides.
Solves the linear system A * Sol = Rhs with multiple right hand sides. If necessary, A is factorized. Correct solutions are only guaranteed if the return values is SYMSOLVER_SUCCESS. The solver will return SYMSOLVER_SINGULAR if the linear system is singular, and it will return SYMSOLVER_WRONG_INERTIA if check_NegEVals is true and the number of negative eigenvalues in the matrix does not match numberOfNegEVals.
check_NegEVals cannot be chosen true, if ProvidesInertia() returns false.
Implemented in Ipopt::TSymLinearSolver.

inline 
Solve operation for a single right hand side.
Solves the linear system A * Sol = Rhs. See MultiSolve for more details.
Definition at line 95 of file IpSymLinearSolver.hpp.

pure virtual 
Number of negative eigenvalues detected during last factorization.
This must not be called if the linear solver does not compute this quantities (see ProvidesInertia).
Implemented in Ipopt::TSymLinearSolver.

pure virtual 
Request to increase quality of solution for next solve.
Ask linear solver to increase quality of solution for the next solve (e.g. increase pivot tolerance).
Implemented in Ipopt::TSymLinearSolver.

pure virtual 
Query whether inertia is computed by linear solver.
Implemented in Ipopt::TSymLinearSolver.