Ipopt  3.12.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpMonotoneMuUpdate.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8 
9 #ifndef __IPMONOTONEMUUPDATE_HPP__
10 #define __IPMONOTONEMUUPDATE_HPP__
11 
12 #include "IpMuUpdate.hpp"
13 #include "IpLineSearch.hpp"
14 #include "IpRegOptions.hpp"
15 
16 namespace Ipopt
17 {
18 
22  class MonotoneMuUpdate : public MuUpdate
23  {
24  public:
28  MonotoneMuUpdate(const SmartPtr<LineSearch>& linesearch);
29 
31  virtual ~MonotoneMuUpdate();
33 
35  virtual bool InitializeImpl(const OptionsList& options,
36  const std::string& prefix);
37 
43  virtual bool UpdateBarrierParameter();
44 
47  static void RegisterOptions(const SmartPtr<RegisteredOptions>& roptions);
49 
50  private:
60 
63 
65  void operator=(const MonotoneMuUpdate&);
67 
69  void CalcNewMuAndTau(Number &new_mu,
70  Number &new_tau);
71 
85 
87 
91 
96  };
97 
98 } // namespace Ipopt
99 
100 #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:17
void operator=(const MonotoneMuUpdate &)
Overloaded Equals Operator.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
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.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
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()
Default destructor.
Abstract Base Class for classes that implement methods for computing the barrier and fraction-to-the-...
Definition: IpMuUpdate.hpp:20
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Initialize method - overloaded from AlgorithmStrategyObject.