Ipopt::SchurDriver Class Reference

#include <SensSchurDriver.hpp>

Inheritance diagram for Ipopt::SchurDriver:

Inheritance graph
[legend]
Collaboration diagram for Ipopt::SchurDriver:

Collaboration graph
[legend]
List of all members.

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 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 ()
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< Vector > delta_u, SmartPtr< IteratesVector > sol=NULL)=0
 Performs a backsolve on S and K.

Private Member Functions

 SchurDriver ()
 Performs a backsolve on S and K; calls the latter with sol=K^(-1)*r_s=0 virtual bool SchurSolve(SmartPtr<IteratesVector> lhs, SmartPtr<const IteratesVector> rhs, SmartPtr<Vector> delta_u) =0;.

Private Attributes

SmartPtr< PCalculatorpcalc_
SmartPtr< SchurDatadata_B_

Detailed Description

Definition at line 18 of file SensSchurDriver.hpp.


Constructor & Destructor Documentation

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 SensSchurDriver.hpp.

virtual Ipopt::SchurDriver::~SchurDriver (  )  [inline, virtual]

Definition at line 39 of file SensSchurDriver.hpp.

Ipopt::SchurDriver::SchurDriver (  )  [inline, private]

Performs a backsolve on S and K; calls the latter with sol=K^(-1)*r_s=0 virtual bool SchurSolve(SmartPtr<IteratesVector> lhs, SmartPtr<const IteratesVector> rhs, SmartPtr<Vector> delta_u) =0;.

Definition at line 102 of file SensSchurDriver.hpp.


Member Function Documentation

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 SensSchurDriver.hpp.

virtual SmartPtr<const SchurData> Ipopt::SchurDriver::data_A (  )  const [inline, virtual]

Const accessor methods to the SchurData for for the derived classes.

Definition at line 51 of file SensSchurDriver.hpp.

References pcalc_.

virtual SmartPtr<const SchurData> Ipopt::SchurDriver::data_B (  )  const [inline, virtual]

Definition at line 56 of file SensSchurDriver.hpp.

References Ipopt::ConstPtr(), and data_B_.

virtual SmartPtr<SchurData> Ipopt::SchurDriver::data_A_nonconst (  )  [inline, virtual]

Definition at line 61 of file SensSchurDriver.hpp.

References pcalc_.

virtual SmartPtr<SchurData> Ipopt::SchurDriver::data_B_nonconst (  )  [inline, virtual]

Definition at line 66 of file SensSchurDriver.hpp.

References data_B_.

virtual SmartPtr<const PCalculator> Ipopt::SchurDriver::pcalc (  )  const [inline, virtual]

Definition at line 71 of file SensSchurDriver.hpp.

References Ipopt::ConstPtr(), and pcalc_.

virtual SmartPtr<PCalculator> Ipopt::SchurDriver::pcalc_nonconst (  )  [inline, virtual]

Definition at line 76 of file SensSchurDriver.hpp.

References pcalc_.

virtual bool Ipopt::SchurDriver::SchurBuild (  )  [pure virtual]

Creates the SchurMatrix from B and P.

Implemented in Ipopt::DenseGenSchurDriver.

virtual bool Ipopt::SchurDriver::SchurFactorize (  )  [pure virtual]

Calls the factorization routine for the SchurMatrix.

Implemented in Ipopt::DenseGenSchurDriver.

virtual bool Ipopt::SchurDriver::SchurSolve ( SmartPtr< IteratesVector lhs,
SmartPtr< const IteratesVector rhs,
SmartPtr< Vector delta_u,
SmartPtr< IteratesVector sol = NULL 
) [pure virtual]

Performs a backsolve on S and K.


Member Data Documentation

SmartPtr<PCalculator> Ipopt::SchurDriver::pcalc_ [private]

Definition at line 106 of file SensSchurDriver.hpp.

Referenced by data_A(), data_A_nonconst(), pcalc(), and pcalc_nonconst().

SmartPtr<SchurData> Ipopt::SchurDriver::data_B_ [private]

Definition at line 108 of file SensSchurDriver.hpp.

Referenced by data_B(), and data_B_nonconst().


The documentation for this class was generated from the following file:
Generated on Wed Sep 21 07:03:31 2011 by  doxygen 1.4.7