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:
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:
67  const MuOracle&
68  );
69 
70  void operator=(
71  const MuOracle&
72  );
74 
75 };
76 
77 } // namespace Ipopt
78 
79 #endif
Ipopt::MuOracle::~MuOracle
virtual ~MuOracle()
Destructor.
Definition: IpMuOracle.hpp:29
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
Ipopt::MuOracle::operator=
void operator=(const MuOracle &)
Ipopt::MuOracle::MuOracle
MuOracle()
Default Constructor.
Definition: IpMuOracle.hpp:25
Ipopt::MuOracle::CalculateMu
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.
Ipopt::MuOracle
Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter t...
Definition: IpMuOracle.hpp:20
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
Ipopt::MuOracle::MuOracle
MuOracle(const MuOracle &)
Copy Constructor.
IpAlgStrategy.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33
Ipopt::MuOracle::InitializeImpl
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.