Ipopt 3.11.9
Loading...
Searching...
No Matches
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
14namespace 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
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.
Abstract Base Class for classes that are able to compute a suggested value of the barrier parameter t...
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Initialize method - overloaded from AlgorithmStrategyObject.
virtual ~MuOracle()
Default destructor.
MuOracle()
Default Constructor.
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 &)
Overloaded Equals Operator.
This class stores a list of user set options.
double Number
Type of all numbers.
Definition IpTypes.hpp:17