Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpRestoConvCheck.hpp
Go to the documentation of this file.
1// Copyright (C) 2004, 2009 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// was originally IpRestoFilterConvCheck.hpp (rev 781)
8// separated by A Waechter IBM 2008-06-24
9
10#ifndef __IPRESTOCONVCHECK_HPP__
11#define __IPRESTOCONVCHECK_HPP__
12
15
16namespace Ipopt
17{
18
28{
29public:
32
34
38
39 virtual bool InitializeImpl(
40 const OptionsList& options,
41 const std::string& prefix
42 );
43
45 bool call_intermediate_callback = true
46 );
47
49 virtual void SetOrigLSAcceptor(
50 const BacktrackingLSAcceptor& orig_ls_acceptor
51 ) = 0;
52
53 static void RegisterOptions(
55
56private:
66
69 );
70
74 );
76
79 Number orig_trial_barr,
80 Number orig_trial_theta
81 ) = 0;
82
85
88
91
94
98
105
108};
109
110} // namespace Ipopt
111
112#endif
Base class for backtracking line search acceptors.
ConvergenceStatus
Convergence return enum.
This class stores a list of user set options.
Convergence check for the restoration phase.
Number kappa_resto_
Fraction of required reduction in infeasibility before problem is considered to be solved.
void operator=(const RestoConvergenceCheck &)
Default Assignment Operator.
virtual void SetOrigLSAcceptor(const BacktrackingLSAcceptor &orig_ls_acceptor)=0
Method for setting the LS acceptor from the main algorithm.
Number orig_constr_viol_tol_
Constraint violation tolerance for original algorithm.
virtual ConvergenceStatus TestOrigProgress(Number orig_trial_barr, Number orig_trial_theta)=0
Method for checking progress with original globalization mechanism.
Index maximum_iters_
Maximum number of iterations in restoration phase.
Index successive_resto_iter_
Counter for successive iterations in restoration phase.
Index maximum_resto_iters_
Maximum number of successive iterations in restoration phase.
bool first_resto_iter_
Flag indicating that this is the first call.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
RestoConvergenceCheck(const RestoConvergenceCheck &)
Copy Constructor.
virtual ConvergenceStatus CheckConvergence(bool call_intermediate_callback=true)
Pure virtual method for performing the convergence test.
virtual ~RestoConvergenceCheck()
Destructor.
RestoConvergenceCheck()
Default Constructor.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:20
ipnumber Number
Type of all numbers.
Definition IpTypes.hpp:17