Ipopt  3.11.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpRestoConvCheck.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8 //
9 // was originally IpRestoFilterConvCheck.hpp (rev 781)
10 // separated by A Waechter IBM 2008-06-24
11 
12 #ifndef __IPRESTOCONVCHECK_HPP__
13 #define __IPRESTOCONVCHECK_HPP__
14 
15 #include "IpOptErrorConvCheck.hpp"
17 
18 namespace Ipopt
19 {
20 
31  {
32  public:
37 
39  virtual ~RestoConvergenceCheck();
41 
43  virtual bool InitializeImpl(const OptionsList& options,
44  const std::string& prefix);
45 
47  virtual ConvergenceStatus CheckConvergence(bool call_intermediate_callback = true);
48 
50  virtual void SetOrigLSAcceptor(const BacktrackingLSAcceptor& orig_ls_acceptor) = 0;
51 
54  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
56  private:
65 
67  void operator=(const RestoConvergenceCheck&);
69 
72  virtual ConvergenceStatus
73  TestOrigProgress(Number orig_trial_barr, Number orig_trial_theta) = 0;
74 
87 
92 
95  };
96 
97 } // namespace Ipopt
98 
99 #endif