Ipopt Documentation  
SensDenseGenSchurDriver.hpp
Go to the documentation of this file.
1 // Copyright 2009, 2011 Hans Pirnay
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Date : 2009-11-19
6 
7 #ifndef __ASIFTSCHURDRIVER_HPP__
8 #define __ASIFTSCHURDRIVER_HPP__
9 
10 #include "SensSchurDriver.hpp"
11 #include "SensBacksolver.hpp"
12 #include "IpDenseGenMatrix.hpp"
13 
14 namespace Ipopt
15 {
16 
18 {
19 
20 public:
22  SmartPtr<SensBacksolver> backsolver,
25  );
26 
28 
30  virtual bool SchurBuild();
31 
33  virtual bool SchurFactorize();
34 
53  virtual bool SchurSolve(
57  SmartPtr<IteratesVector> Kf = NULL
58  );
59 
65 private:
69 };
70 
71 }
72 
73 #endif
DenseGenSchurDriver(SmartPtr< SensBacksolver > backsolver, SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B)
SmartPtr< SensBacksolver > backsolver_
SmartPtr< SchurData > ift_data_
DEPRECATED Performs a backsolve on S and K virtual bool SchurSolve(SmartPtr<IteratesVector> lhs,...
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.
SmartPtr< DenseGenMatrix > S_
virtual bool SchurFactorize()
Calls the factorization routine for the SchurMatrix.
virtual bool SchurBuild()
Creates the SchurMatrix from B and P.
This class is the interface for any class that deals with the Schur matrix from the point when it is ...
virtual SmartPtr< const PCalculator > pcalc() const
virtual SmartPtr< const SchurData > data_B() const
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
This file contains a base class for all exceptions and a set of macros to help with exceptions.