#include <AsSchurDriver.hpp>
Inheritance diagram for Ipopt::SchurDriver:
Public Member Functions | |
SchurDriver (SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B) | |
This class is the interface for any class that deals with the Schur matrix from the point when it is constructed by the PCalculator to the solution against one vector. | |
virtual | ~SchurDriver () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from AlgorithmStrategyObject. | |
virtual SmartPtr< const SchurData > | data_A () const |
Const accessor methods to the SchurData for for the derived classes. | |
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 () |
virtual bool | SchurBuild ()=0 |
Creates the SchurMatrix from B and P. | |
virtual bool | SchurFactorize ()=0 |
Calls the factorization routine for the SchurMatrix. | |
virtual bool | SchurSolve (SmartPtr< IteratesVector > lhs, SmartPtr< const IteratesVector > rhs, SmartPtr< IteratesVector > sol, SmartPtr< Vector > delta_u)=0 |
Performs a backsolve on S and K. | |
virtual bool | SchurSolve (SmartPtr< IteratesVector > lhs, SmartPtr< const IteratesVector > rhs, SmartPtr< Vector > delta_u)=0 |
Performs a backsolve on S and K; calls the latter with sol=K^(-1)*r_s=0. | |
Private Member Functions | |
SchurDriver () | |
Private Attributes | |
SmartPtr< PCalculator > | pcalc_ |
SmartPtr< SchurData > | data_B_ |
Definition at line 18 of file AsSchurDriver.hpp.
Ipopt::SchurDriver::SchurDriver | ( | SmartPtr< PCalculator > | pcalc, | |
SmartPtr< SchurData > | data_B | |||
) | [inline] |
This class is the interface for any class that deals with the Schur matrix from the point when it is constructed by the PCalculator to the solution against one vector.
Specific implementations may also incorporate the treatment of adding rows/cols (like QPSchur).
The computations done by this class are 1. Solve $S = r_s 2. Solve $K s = ... - nu (really?)
Definition at line 31 of file AsSchurDriver.hpp.
virtual Ipopt::SchurDriver::~SchurDriver | ( | ) | [inline, virtual] |
Definition at line 39 of file AsSchurDriver.hpp.
Ipopt::SchurDriver::SchurDriver | ( | ) | [inline, private] |
Definition at line 101 of file AsSchurDriver.hpp.
virtual bool Ipopt::SchurDriver::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Overloaded from AlgorithmStrategyObject.
Implements Ipopt::AlgorithmStrategyObject.
Definition at line 44 of file AsSchurDriver.hpp.
Const accessor methods to the SchurData for for the derived classes.
Definition at line 51 of file AsSchurDriver.hpp.
References pcalc_.
virtual SmartPtr<const PCalculator> Ipopt::SchurDriver::pcalc | ( | ) | const [inline, virtual] |
virtual SmartPtr<PCalculator> Ipopt::SchurDriver::pcalc_nonconst | ( | ) | [inline, virtual] |
virtual bool Ipopt::SchurDriver::SchurBuild | ( | ) | [pure virtual] |
Creates the SchurMatrix from B and P.
Implemented in Ipopt::DenseGenSchurDriver, and Ipopt::IFTSchurDriver.
virtual bool Ipopt::SchurDriver::SchurFactorize | ( | ) | [pure virtual] |
Calls the factorization routine for the SchurMatrix.
Implemented in Ipopt::DenseGenSchurDriver, and Ipopt::IFTSchurDriver.
virtual bool Ipopt::SchurDriver::SchurSolve | ( | SmartPtr< IteratesVector > | lhs, | |
SmartPtr< const IteratesVector > | rhs, | |||
SmartPtr< IteratesVector > | sol, | |||
SmartPtr< Vector > | delta_u | |||
) | [pure virtual] |
Performs a backsolve on S and K.
Implemented in Ipopt::DenseGenSchurDriver, and Ipopt::IFTSchurDriver.
virtual bool Ipopt::SchurDriver::SchurSolve | ( | SmartPtr< IteratesVector > | lhs, | |
SmartPtr< const IteratesVector > | rhs, | |||
SmartPtr< Vector > | delta_u | |||
) | [pure virtual] |
Performs a backsolve on S and K; calls the latter with sol=K^(-1)*r_s=0.
Implemented in Ipopt::DenseGenSchurDriver, and Ipopt::IFTSchurDriver.
SmartPtr<PCalculator> Ipopt::SchurDriver::pcalc_ [private] |
Definition at line 105 of file AsSchurDriver.hpp.
Referenced by data_A(), data_A_nonconst(), pcalc(), and pcalc_nonconst().
SmartPtr<SchurData> Ipopt::SchurDriver::data_B_ [private] |