Ipopt  3.12.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpMuOracle.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2007 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpMuOracle.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8 
9 #ifndef __IPMUORACLE_HPP__
10 #define __IPMUORACLE_HPP__
11 
12 #include "IpAlgStrategy.hpp"
13 
14 namespace Ipopt
15 {
16 
22  {
23  public:
28  {}
30  virtual ~MuOracle()
31  {}
33 
35  virtual bool InitializeImpl(const OptionsList& options,
36  const std::string& prefix) = 0;
37 
46  virtual bool CalculateMu(Number mu_min, Number mu_max, Number& new_mu) = 0;
47 
48  private:
57 
59  MuOracle(const MuOracle&);
60 
62  void operator=(const MuOracle&);
64 
65  };
66 
67 } // namespace Ipopt
68 
69 #endif
This is the base class for all algorithm strategy objects.
MuOracle()
Default Constructor.
Definition: IpMuOracle.hpp:27
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
virtual ~MuOracle()
Default destructor.
Definition: IpMuOracle.hpp:30
virtual bool CalculateMu(Number mu_min, Number mu_max, Number &new_mu)=0
Method for computing the value of the barrier parameter that could be used in the current iteration...
Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter t...
Definition: IpMuOracle.hpp:21
This class stores a list of user set options.
void operator=(const MuOracle &)
Overloaded Equals Operator.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Initialize method - overloaded from AlgorithmStrategyObject.