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