Ipopt Documentation  
 
Loading...
Searching...
No Matches
Ipopt::DenseGenSchurDriver Class Reference

#include <SensDenseGenSchurDriver.hpp>

+ Inheritance diagram for Ipopt::DenseGenSchurDriver:

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.
 
virtual bool SchurFactorize ()
 Calls the factorization routine for the SchurMatrix.
 
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.
 
- Public Member Functions inherited from Ipopt::SchurDriver
 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.
 
virtual SmartPtr< const SchurDatadata_A () const
 Const accessor methods to the SchurData for for the derived classes.
 
virtual SmartPtr< const SchurDatadata_B () const
 
virtual SmartPtr< SchurDatadata_A_nonconst ()
 
virtual SmartPtr< SchurDatadata_B_nonconst ()
 
virtual SmartPtr< const PCalculatorpcalc () const
 
virtual SmartPtr< PCalculatorpcalc_nonconst ()
 
- 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.
 
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.
 
 AlgorithmStrategyObject ()
 Default Constructor.
 
virtual ~AlgorithmStrategyObject ()
 Destructor.
 
- 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
 

Private Attributes

SmartPtr< SchurDataift_data_
 DEPRECATED Performs a backsolve on S and K virtual bool SchurSolve(SmartPtr<IteratesVector> lhs, SmartPtr<const IteratesVector> rhs, SmartPtr<Vector> delta_u);.
 
SmartPtr< SensBacksolverbacksolver_
 
SmartPtr< DenseGenMatrixS_
 

Additional Inherited Members

- Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject
const JournalistJnlst () const
 
IpoptNLPIpNLP () const
 
IpoptDataIpData () const
 
IpoptCalculatedQuantitiesIpCq () const
 
bool HaveIpData () const
 

Detailed Description

Definition at line 17 of file SensDenseGenSchurDriver.hpp.

Constructor & Destructor Documentation

◆ DenseGenSchurDriver()

Ipopt::DenseGenSchurDriver::DenseGenSchurDriver ( SmartPtr< SensBacksolver backsolver,
SmartPtr< PCalculator pcalc,
SmartPtr< SchurData data_B 
)

◆ ~DenseGenSchurDriver()

virtual Ipopt::DenseGenSchurDriver::~DenseGenSchurDriver ( )
virtual

Member Function Documentation

◆ SchurBuild()

virtual bool Ipopt::DenseGenSchurDriver::SchurBuild ( )
virtual

Creates the SchurMatrix from B and P.

Implements Ipopt::SchurDriver.

◆ SchurFactorize()

virtual bool Ipopt::DenseGenSchurDriver::SchurFactorize ( )
virtual

Calls the factorization routine for the SchurMatrix.

Implements Ipopt::SchurDriver.

◆ SchurSolve()

virtual bool Ipopt::DenseGenSchurDriver::SchurSolve ( SmartPtr< IteratesVector x,
SmartPtr< const IteratesVector f,
SmartPtr< Vector g,
SmartPtr< IteratesVector Kf = NULL 
)
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.

Member Data Documentation

◆ ift_data_

SmartPtr<SchurData> Ipopt::DenseGenSchurDriver::ift_data_
private

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.

◆ backsolver_

SmartPtr<SensBacksolver> Ipopt::DenseGenSchurDriver::backsolver_
private

Definition at line 67 of file SensDenseGenSchurDriver.hpp.

◆ S_

SmartPtr<DenseGenMatrix> Ipopt::DenseGenSchurDriver::S_
private

Definition at line 68 of file SensDenseGenSchurDriver.hpp.


The documentation for this class was generated from the following file: