Ipopt Documentation  
 
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// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6
7#ifndef __IPMUORACLE_HPP__
8#define __IPMUORACLE_HPP__
9
10#include "IpAlgStrategy.hpp"
11
12namespace Ipopt
13{
14
20{
21public:
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
54private:
65
67 const MuOracle&
68 );
69
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...
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.
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 &)
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