Ipopt  3.12.12
 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 
13 #include "IpPDSystemSolver.hpp"
14 
15 namespace Ipopt
16 {
17 
22  {
23  public:
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 
48  {
49  return pd_solver_;
50  }
51 
52  private:
63 
66 
68  void operator=(const PDSearchDirCalculator&);
70 
75 
87 
88  };
89 
90 } // namespace Ipopt
91 
92 #endif
SmartPtr< PDSystemSolver > pd_solver_
bool mehrotra_algorithm_
Flag indicating if we want to do Mehrotras&#39;s algorithm.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
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...
Base class for computing the search direction for the line search.
void operator=(const PDSearchDirCalculator &)
Overloaded Equals Operator.
virtual bool ComputeSearchDirection()
Method for computing the search direction.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
This class stores a list of user set options.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
PDSearchDirCalculator()
Default Constructor.
SmartPtr< PDSystemSolver > PDSolver()
Method to return the pd_solver for additional processing.
Implementation of the search direction calculator that computes the pure primal dual step for the cur...
virtual ~PDSearchDirCalculator()
Default destructor.