Ipopt  3.12.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpInexactDoglegNormal.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Andreas Waechter IBM 2008-08-31
8 
9 #ifndef __IPINEXACTDOGLEGNORMAL_HPP__
10 #define __IPINEXACTDOGLEGNORMAL_HPP__
11 
15 
16 namespace Ipopt
17 {
21  {
22  public:
27  SmartPtr<InexactNormalTerminationTester> normal_tester = NULL);
28 
30  virtual ~InexactDoglegNormalStep();
32 
34  virtual bool InitializeImpl(const OptionsList& options,
35  const std::string& prefix);
36 
41  virtual bool ComputeNormalStep(SmartPtr<Vector>& normal_x,
42  SmartPtr<Vector>& normal_s);
43 
46  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
48 
49  private:
60 
63 
67 
71 
78 
83 
86 
89  };
90 
91 } // namespace Ipopt
92 
93 #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 Equals Operator.
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Base class for computing the normal step for the inexact step calculation algorithm.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
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 onstructor.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptType.
SmartPtr< InexactNewtonNormalStep > newton_step_
Pointer to object for computing the &quot;Newton&quot; step in the dogleg method.
virtual ~InexactDoglegNormalStep()
Default destructor.