Ipopt Documentation  
IpMonotoneMuUpdate.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2010 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6 
7 #ifndef __IPMONOTONEMUUPDATE_HPP__
8 #define __IPMONOTONEMUUPDATE_HPP__
9 
10 #include "IpMuUpdate.hpp"
11 #include "IpLineSearch.hpp"
12 #include "IpRegOptions.hpp"
13 
14 namespace Ipopt
15 {
16 
22 {
23 public:
25 
28  const SmartPtr<LineSearch>& linesearch
29  );
30 
32  virtual ~MonotoneMuUpdate();
34 
35  virtual bool InitializeImpl(
36  const OptionsList& options,
37  const std::string& prefix
38  );
39 
48  virtual bool UpdateBarrierParameter();
49 
50  static void RegisterOptions(
51  const SmartPtr<RegisteredOptions>& roptions
52  );
53 
54 private:
66 
69  const MonotoneMuUpdate&
70  );
71 
72  void operator=(
73  const MonotoneMuUpdate&);
75 
77  void CalcNewMuAndTau(
78  Number& new_mu,
79  Number& new_tau
80  );
81 
83 
95 
97 
100 
106 };
107 
108 } // namespace Ipopt
109 
110 #endif
SmartPtr< LineSearch > linesearch_
bool first_iter_resto_
If true, no modification of the barrier parameter will be done at the first call of Update (fix for t...
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
void operator=(const MonotoneMuUpdate &)
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Number tau_min_
Tau_min for fraction to boundary rule.
void CalcNewMuAndTau(Number &new_mu, Number &new_tau)
Internal method for computing the new values for mu and tau.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
bool initialized_
Flag indicating whether the method has been called at least once so far.
This class stores a list of user set options.
virtual bool UpdateBarrierParameter()
Method for determining the barrier parameter for the next iteration.
Number mu_init_
Initial value of the barrier parameter.
Monotone Mu Update.
virtual ~MonotoneMuUpdate()
Destructor.
Abstract Base Class for classes that implement methods for computing the barrier and fraction-to-the-...
Definition: IpMuUpdate.hpp:19
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...