#include <SensDenseGenSchurDriver.hpp>
Public Member Functions | |
DenseGenSchurDriver (SmartPtr< SensBacksolver > backsolver, SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B) | |
virtual | ~DenseGenSchurDriver () |
virtual bool | SchurBuild () |
Creates the SchurMatrix from B and P. More... | |
virtual bool | SchurFactorize () |
Calls the factorization routine for the SchurMatrix. More... | |
virtual bool | SchurSolve (SmartPtr< IteratesVector > x, SmartPtr< const IteratesVector > f, SmartPtr< Vector > g, SmartPtr< IteratesVector > Kf=NULL) |
Performs a backsolve on S and : Solves the system. More... | |
![]() | |
SchurDriver (SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B) | |
virtual | ~SchurDriver () |
virtual bool | InitializeImpl (const OptionsList &, const std::string &) |
Implementation of the initialization method that has to be overloaded by for each derived class. More... | |
virtual SmartPtr< const SchurData > | data_A () const |
Const accessor methods to the SchurData for for the derived classes. More... | |
virtual SmartPtr< const SchurData > | data_B () const |
virtual SmartPtr< SchurData > | data_A_nonconst () |
virtual SmartPtr< SchurData > | data_B_nonconst () |
virtual SmartPtr< const PCalculator > | pcalc () const |
virtual SmartPtr< PCalculator > | pcalc_nonconst () |
![]() | |
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... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Private Attributes | |
SmartPtr< SchurData > | ift_data_ |
DEPRECATED Performs a backsolve on S and K virtual bool SchurSolve(SmartPtr<IteratesVector> lhs, SmartPtr<const IteratesVector> rhs, SmartPtr<Vector> delta_u);. More... | |
SmartPtr< SensBacksolver > | backsolver_ |
SmartPtr< DenseGenMatrix > | S_ |
Additional Inherited Members | |
![]() | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Definition at line 17 of file SensDenseGenSchurDriver.hpp.
Ipopt::DenseGenSchurDriver::DenseGenSchurDriver | ( | SmartPtr< SensBacksolver > | backsolver, |
SmartPtr< PCalculator > | pcalc, | ||
SmartPtr< SchurData > | data_B | ||
) |
|
virtual |
|
virtual |
Creates the SchurMatrix from B and P.
Implements Ipopt::SchurDriver.
|
virtual |
Calls the factorization routine for the SchurMatrix.
Implements Ipopt::SchurDriver.
|
virtual |
Performs a backsolve on S and : Solves the system.
\(\left[\begin{array}{c|c} K & E\\\hline E^T & 0 \end{array} \right] \left[\begin{array}{c}x\\y\end{array}\right] = \left[\begin{array}{c}f\\g\end{array}\right]\)
y will be stored in g at exit. Kf should hold
\(K^{-1}f\)
if it has been computed previously. If it is not available, just pass in Kf=NULL and it will be computed internally.
Implements Ipopt::SchurDriver.
DEPRECATED Performs a backsolve on S and K virtual bool SchurSolve(SmartPtr<IteratesVector> lhs, SmartPtr<const IteratesVector> rhs, SmartPtr<Vector> delta_u);.
Definition at line 66 of file SensDenseGenSchurDriver.hpp.
|
private |
Definition at line 67 of file SensDenseGenSchurDriver.hpp.
|
private |
Definition at line 68 of file SensDenseGenSchurDriver.hpp.