Ipopt Documentation  
 
Loading...
Searching...
No Matches
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
12namespace Ipopt
13{
14
17{
18public:
21
24
27 { }
29
43
45 virtual bool InitializeImpl(
46 const OptionsList& options,
47 const std::string& prefix
48 ) = 0;
49
57 bool call_intermediate_callback = true
58 ) = 0;
59
67 virtual bool CurrentIsAcceptable() = 0;
68
69private:
80
81 // ConvergenceCheck();
84 const ConvergenceCheck&
85 );
86
89 const ConvergenceCheck&
90 );
92
93};
94
95} // namespace Ipopt
96
97#endif
This is the base class for all algorithm strategy objects.
Base class for checking the algorithm termination criteria.
ConvergenceStatus
Convergence return enum.
ConvergenceCheck()
Constructor.
virtual bool CurrentIsAcceptable()=0
Method for testing if the current iterate is considered to satisfy the "acceptable level" of accuracy...
void operator=(const ConvergenceCheck &)
Default Assignment Operator.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
ConvergenceCheck(const ConvergenceCheck &)
Default Constructor.
virtual ~ConvergenceCheck()
Destructor.
virtual ConvergenceStatus CheckConvergence(bool call_intermediate_callback=true)=0
Pure virtual method for performing the convergence test.
This class stores a list of user set options.
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.