Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpMonotoneMuUpdate.hpp
Go to the documentation of this file.
1// Copyright (C) 2004, 2010 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 __IPMONOTONEMUUPDATE_HPP__
8#define __IPMONOTONEMUUPDATE_HPP__
9
10#include "IpMuUpdate.hpp"
11#include "IpLineSearch.hpp"
12#include "IpRegOptions.hpp"
13
14namespace Ipopt
15{
16
22{
23public:
26
28 const SmartPtr<LineSearch>& linesearch
29 );
30
34
35 virtual bool InitializeImpl(
36 const OptionsList& options,
37 const std::string& prefix
38 );
39
48 virtual bool UpdateBarrierParameter();
49
50 static void RegisterOptions(
51 const SmartPtr<RegisteredOptions>& roptions
52 );
53
54private:
66
69 const MonotoneMuUpdate&
70 );
71
73 const MonotoneMuUpdate&);
75
78 Number& new_mu,
79 Number& new_tau
80 );
81
84
95
97
100
106};
107
108} // namespace Ipopt
109
110#endif
SmartPtr< LineSearch > linesearch_
MonotoneMuUpdate(const SmartPtr< LineSearch > &linesearch)
Default Constructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class.
void CalcNewMuAndTau(Number &new_mu, Number &new_tau)
Internal method for computing the new values for mu and tau.
void operator=(const MonotoneMuUpdate &)
bool initialized_
Flag indicating whether the method has been called at least once so far.
MonotoneMuUpdate(const MonotoneMuUpdate &)
Copy Constructor.
virtual bool UpdateBarrierParameter()
Method for determining the barrier parameter for the next iteration.
virtual ~MonotoneMuUpdate()
Destructor.
Number mu_init_
Initial value of the barrier parameter.
Number tau_min_
Tau_min for fraction to boundary rule.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
bool first_iter_resto_
If true, no modification of the barrier parameter will be done at the first call of Update (fix for t...
Abstract Base Class for classes that implement methods for computing the barrier and fraction-to-the-...
This class stores a list of user set options.
Template class for Smart Pointers.
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