Ipopt Documentation  
IpConvCheck.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 #ifndef __IPCONVCHECK_HPP__
8 #define __IPCONVCHECK_HPP__
9 
10 #include "IpAlgStrategy.hpp"
11 
12 namespace Ipopt
13 {
14 
17 {
18 public:
20 
23  { }
24 
27  { }
29 
32  {
41  FAILED
42  };
43 
45  virtual bool InitializeImpl(
46  const OptionsList& options,
47  const std::string& prefix
48  ) = 0;
49 
56  virtual ConvergenceStatus CheckConvergence(
57  bool call_intermediate_callback = true
58  ) = 0;
59 
67  virtual bool CurrentIsAcceptable() = 0;
68 
69 private:
79 
81  // ConvergenceCheck();
84  const ConvergenceCheck&
85  );
86 
88  void operator=(
89  const ConvergenceCheck&
90  );
92 
93 };
94 
95 } // namespace Ipopt
96 
97 #endif
This is the base class for all algorithm strategy objects.
#define IPOPTLIB_EXPORT
Definition: config.h:94
Base class for checking the algorithm termination criteria.
Definition: IpConvCheck.hpp:16
This file contains a base class for all exceptions and a set of macros to help with exceptions...
This class stores a list of user set options.
ConvergenceStatus
Convergence return enum.
Definition: IpConvCheck.hpp:31
virtual ~ConvergenceCheck()
Destructor.
Definition: IpConvCheck.hpp:26
ConvergenceCheck()
Constructor.
Definition: IpConvCheck.hpp:22