Ipopt Documentation  
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:
23 
26  SmartPtr<InexactNormalTerminationTester> normal_tester = NULL
27  );
28 
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:
65 
67 
71  );
72 
74  void operator=(
76  );
78 
83 
92 
97 
100 
103 };
104 
105 } // namespace Ipopt
106 
107 #endif
Compute the normal step using a dogleg approach.
void operator=(const InexactDoglegNormalStep &)
Overloaded Assignment Operator.
bool last_tr_inactive_
Flag indicating if trust region was active in last iteration.
virtual ~InexactDoglegNormalStep()
Destructor.
InexactDoglegNormalStep(const InexactDoglegNormalStep &)
Copy Constructor.
SmartPtr< InexactNormalTerminationTester > normal_tester_
Pointer to object that is used by the newton_step computation object to determine if iterative solver...
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
InexactDoglegNormalStep()
Default Constructor.
Number curr_omega_
Current value of the trust region factor.
InexactDoglegNormalStep(SmartPtr< InexactNewtonNormalStep > newton_step, SmartPtr< InexactNormalTerminationTester > normal_tester=NULL)
Default Constructor.
SmartPtr< InexactNewtonNormalStep > newton_step_
Pointer to object for computing the "Newton" step in the dogleg method.
virtual bool ComputeNormalStep(SmartPtr< Vector > &normal_x, SmartPtr< Vector > &normal_s)
Method for computing the normal step.
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.
This class stores a list of user set options.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:165
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipnumber Number
Type of all numbers.
Definition: IpTypes.hpp:17