Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IpInexactDoglegNormal.hpp
Go to the documentation of this file.
1 // Copyright (C) 2008 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 2008-08-31
6 
7 #ifndef __IPINEXACTDOGLEGNORMAL_HPP__
8 #define __IPINEXACTDOGLEGNORMAL_HPP__
9 
13 
14 namespace Ipopt
15 {
19 {
20 public:
26  SmartPtr<InexactNormalTerminationTester> normal_tester = NULL
27  );
28 
30  virtual ~InexactDoglegNormalStep();
32 
33  virtual bool InitializeImpl(
34  const OptionsList& options,
35  const std::string& prefix
36  );
37 
45  virtual bool ComputeNormalStep(
46  SmartPtr<Vector>& normal_x,
47  SmartPtr<Vector>& normal_s
48  );
49 
50  static void RegisterOptions(
52  );
53 
54 private:
67 
71  );
72 
74  void operator=(
76  );
78 
83 
92 
97 
100 
103 };
104 
105 } // namespace Ipopt
106 
107 #endif
Number curr_omega_
Current value of the trust region factor.
virtual bool ComputeNormalStep(SmartPtr< Vector > &normal_x, SmartPtr< Vector > &normal_s)
Method for computing the normal step.
void operator=(const InexactDoglegNormalStep &)
Overloaded Assignment Operator.
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class...
Base class for computing the normal step for the inexact step calculation algorithm.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
This class stores a list of user set options.
Compute the normal step using a dogleg approach.
SmartPtr< InexactNormalTerminationTester > normal_tester_
Pointer to object that is used by the newton_step computation object to determine if iterative solver...
bool last_tr_inactive_
Flag indicating if trust region was active in last iteration.
InexactDoglegNormalStep()
Default Constructor.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
SmartPtr< InexactNewtonNormalStep > newton_step_
Pointer to object for computing the &quot;Newton&quot; step in the dogleg method.
virtual ~InexactDoglegNormalStep()
Destructor.