Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
13 #include "IpOptErrorConvCheck.hpp"
15 
16 namespace Ipopt
17 {
18 
28 {
29 public:
31 
34 
36  virtual ~RestoConvergenceCheck();
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 
56 private:
65 
69  );
70 
72  void operator=(
74  );
76 
79  Number orig_trial_barr,
80  Number orig_trial_theta
81  ) = 0;
82 
84 
88 
91 
94 
98 
105 
108 };
109 
110 } // namespace Ipopt
111 
112 #endif
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Number kappa_resto_
Fraction of required reduction in infeasibility before problem is considered to be solved...
bool first_resto_iter_
Flag indicating that this is the first call.
Index maximum_resto_iters_
Maximum number of successive iterations in restoration phase.
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
Base class for backtracking line search acceptors.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
virtual ~RestoConvergenceCheck()
Destructor.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:171
This class stores a list of user set options.
ConvergenceStatus
Convergence return enum.
Definition: IpConvCheck.hpp:31
virtual void SetOrigLSAcceptor(const BacktrackingLSAcceptor &orig_ls_acceptor)=0
Method for setting the LS acceptor from the main algorithm.
virtual ConvergenceStatus CheckConvergence(bool call_intermediate_callback=true)
Pure virtual method for performing the convergence test.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
RestoConvergenceCheck()
Default Constructor.
Index maximum_iters_
Maximum number of iterations in restoration phase.
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 successive_resto_iter_
Counter for successive iterations in restoration phase.
Convergence check for the restoration phase.
void operator=(const RestoConvergenceCheck &)
Default Assignment Operator.