Ipopt Documentation  
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 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6 
7 #ifndef __IPMUORACLE_HPP__
8 #define __IPMUORACLE_HPP__
9 
10 #include "IpAlgStrategy.hpp"
11 
12 namespace Ipopt
13 {
14 
20 {
21 public:
24 
26  { }
27 
29  virtual ~MuOracle()
30  { }
32 
33  virtual bool InitializeImpl(
34  const OptionsList& options,
35  const std::string& prefix
36  ) = 0;
37 
48  virtual bool CalculateMu(
49  Number mu_min,
50  Number mu_max,
51  Number& new_mu
52  ) = 0;
53 
54 private:
65 
67  const MuOracle&
68  );
69 
70  void operator=(
71  const MuOracle&
72  );
74 
75 };
76 
77 } // namespace Ipopt
78 
79 #endif
This is the base class for all algorithm strategy objects.
Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter t...
Definition: IpMuOracle.hpp:20
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Implementation of the initialization method that has to be overloaded by for each derived class.
virtual ~MuOracle()
Destructor.
Definition: IpMuOracle.hpp:29
MuOracle()
Default Constructor.
Definition: IpMuOracle.hpp:25
MuOracle(const MuOracle &)
Copy Constructor.
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.
void operator=(const MuOracle &)
This class stores a list of user set options.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipnumber Number
Type of all numbers.
Definition: IpTypes.hpp:17