Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
17 class DenseGenSchurDriver: public SchurDriver
18 {
19
20 public:
21
22 DenseGenSchurDriver(SmartPtr<SensBacksolver> backsolver,
23 SmartPtr<PCalculator> pcalc,
24 SmartPtr<SchurData> data_B);
25
26 virtual ~DenseGenSchurDriver();
27
29 virtual bool SchurBuild();
30
32 virtual bool SchurFactorize();
33
52 virtual bool SchurSolve(SmartPtr<IteratesVector> x,
53 SmartPtr<const IteratesVector> f,
54 SmartPtr<Vector> g,
55 SmartPtr<IteratesVector> Kf=NULL);
56
62 private:
63 SmartPtr<SchurData> ift_data_;
64 SmartPtr<SensBacksolver> backsolver_;
65 SmartPtr<DenseGenMatrix> S_;
66
67 };
68 }
69
70 #endif
x
Number * x
Input: Starting point Output: Optimal solution.
Definition: IpStdCInterface.h:238
Ipopt::DenseGenSchurDriver::S_
SmartPtr< DenseGenMatrix > S_
Definition: SensDenseGenSchurDriver.hpp:65
Ipopt::SchurDriver
Definition: SensSchurDriver.hpp:18
g
Number Number * g
Values of constraint at final point (output only - ignored if set to NULL)
Definition: IpStdCInterface.h:238
Ipopt::DenseGenSchurDriver::ift_data_
SmartPtr< SchurData > ift_data_
DEPRECATED Performs a backsolve on S and K virtual bool SchurSolve(SmartPtr&lt;IteratesVector&gt; lhs...
Definition: SensDenseGenSchurDriver.hpp:63
Ipopt::DenseGenSchurDriver::~DenseGenSchurDriver
virtual ~DenseGenSchurDriver()
Ipopt::SchurDriver::data_B
virtual SmartPtr< const SchurData > data_B() const
Definition: SensSchurDriver.hpp:56
Ipopt::DenseGenSchurDriver::SchurBuild
virtual bool SchurBuild()
Creates the SchurMatrix from B and P.
Ipopt::DenseGenSchurDriver::SchurSolve
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.
Ipopt::DenseGenSchurDriver::backsolver_
SmartPtr< SensBacksolver > backsolver_
Definition: SensDenseGenSchurDriver.hpp:64
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
SensBacksolver.hpp
Ipopt::DenseGenSchurDriver
Definition: SensDenseGenSchurDriver.hpp:17
Ipopt::DenseGenSchurDriver::SchurFactorize
virtual bool SchurFactorize()
Calls the factorization routine for the SchurMatrix.
Ipopt::SchurDriver::pcalc
virtual SmartPtr< const PCalculator > pcalc() const
Definition: SensSchurDriver.hpp:71
Ipopt::DenseGenSchurDriver::DenseGenSchurDriver
DenseGenSchurDriver(SmartPtr< SensBacksolver > backsolver, SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B)
IpDenseGenMatrix.hpp
SensSchurDriver.hpp