Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpPDSearchDirCalc.hpp
Go to the documentation of this file.
1 // Copyright (C) 2005, 2009 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpPDSearchDirCalc.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Andreas Waechter IBM 2005-10-13
8
9 #ifndef __IPPDSEARCHDIRCALC_HPP__
10 #define __IPPDSEARCHDIRCALC_HPP__
11
12 #include "IpSearchDirCalculator.hpp"
13 #include "IpPDSystemSolver.hpp"
14
15 namespace Ipopt
16 {
17
21 class PDSearchDirCalculator : public SearchDirectionCalculator
22 {
23 public:
27 PDSearchDirCalculator(const SmartPtr<PDSystemSolver>& pd_solver);
28
30 virtual ~PDSearchDirCalculator();
32
34 virtual bool InitializeImpl(const OptionsList& options,
35 const std::string& prefix);
36
39 virtual bool ComputeSearchDirection();
40
43 static void RegisterOptions(const SmartPtr<RegisteredOptions>& roptions);
45
47 SmartPtr<PDSystemSolver> PDSolver()
48 {
49 return pd_solver_;
50 }
51
52 private:
62 PDSearchDirCalculator();
63
65 PDSearchDirCalculator(const PDSearchDirCalculator&);
66
68 void operator=(const PDSearchDirCalculator&);
70
73 SmartPtr<PDSystemSolver> pd_solver_;
75
81 bool fast_step_computation_;
85 bool mehrotra_algorithm_;
87
88 };
89
90 } // namespace Ipopt
91
92 #endif
Ipopt::PDSearchDirCalculator::pd_solver_
SmartPtr< PDSystemSolver > pd_solver_
Definition: IpPDSearchDirCalc.hpp:73
IpPDSystemSolver.hpp
Ipopt::PDSearchDirCalculator::mehrotra_algorithm_
bool mehrotra_algorithm_
Flag indicating if we want to do Mehrotras&#39;s algorithm.
Definition: IpPDSearchDirCalc.hpp:85
Ipopt::PDSearchDirCalculator::RegisterOptions
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
Ipopt::PDSearchDirCalculator::fast_step_computation_
bool fast_step_computation_
Flag indicating that we trust that the steps from the linear solver are very good and that we don&#39;t n...
Definition: IpPDSearchDirCalc.hpp:81
Ipopt::SearchDirectionCalculator
Base class for computing the search direction for the line search.
Definition: IpSearchDirCalculator.hpp:20
Ipopt::PDSearchDirCalculator::operator=
void operator=(const PDSearchDirCalculator &)
Overloaded Equals Operator.
Ipopt::PDSearchDirCalculator::ComputeSearchDirection
virtual bool ComputeSearchDirection()
Method for computing the search direction.
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::PDSearchDirCalculator::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Ipopt::PDSearchDirCalculator::PDSearchDirCalculator
PDSearchDirCalculator()
Default Constructor.
Ipopt::PDSearchDirCalculator::PDSolver
SmartPtr< PDSystemSolver > PDSolver()
Method to return the pd_solver for additional processing.
Definition: IpPDSearchDirCalc.hpp:47
Ipopt::PDSearchDirCalculator
Implementation of the search direction calculator that computes the pure primal dual step for the cur...
Definition: IpPDSearchDirCalc.hpp:21
Ipopt::PDSearchDirCalculator::~PDSearchDirCalculator
virtual ~PDSearchDirCalculator()
Default destructor.
IpSearchDirCalculator.hpp