Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 // Authors: Andreas Waechter IBM 2005-10-13
6 
7 #ifndef __IPPDSEARCHDIRCALC_HPP__
8 #define __IPPDSEARCHDIRCALC_HPP__
9 
11 #include "IpPDSystemSolver.hpp"
12 
13 namespace Ipopt
14 {
15 
20 {
21 public:
23 
26  const SmartPtr<PDSystemSolver>& pd_solver
27  );
28 
30  virtual ~PDSearchDirCalculator();
32 
34  virtual bool InitializeImpl(
35  const OptionsList& options,
36  const std::string& prefix
37  );
38 
43  virtual bool ComputeSearchDirection();
44 
45  static void RegisterOptions(
46  const SmartPtr<RegisteredOptions>& roptions
47  );
48 
51  {
52  return pd_solver_;
53  }
54 
55 private:
65 
68 
72  );
73 
75  void operator=(
77  );
79 
81  SmartPtr<PDSystemSolver> pd_solver_;
84 
86 
91 
99 
100 };
101 
102 } // namespace Ipopt
103 
104 #endif
bool mehrotra_algorithm_
Flag indicating if we want to do Mehrotras&#39;s algorithm.
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.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
This class stores a list of user set options.
#define IPOPTLIB_EXPORT
SmartPtr< PDSystemSolver > PDSolver()
Returns the pd_solver for additional processing.
Implementation of the search direction calculator that computes the pure primal dual step for the cur...