Ipopt 3.11.9
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// $Id: IpConvCheck.hpp 1861 2010-12-21 21:34:47Z andreasw $
6//
7// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8
9#ifndef __IPCONVCHECK_HPP__
10#define __IPCONVCHECK_HPP__
11
12#include "IpAlgStrategy.hpp"
13
14namespace Ipopt
15{
16
21 {
22 public:
28
31 {}
33
45
47 virtual bool InitializeImpl(const OptionsList& options,
48 const std::string& prefix) = 0;
49
54 virtual ConvergenceStatus
55 CheckConvergence(bool call_intermediate_callback = true) = 0;
56
62 virtual bool CurrentIsAcceptable()=0;
63
64 private:
74 // ConvergenceCheck();
75
78
82
83 };
84
85} // namespace Ipopt
86
87#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 "accptable level" of accuracy.
void operator=(const ConvergenceCheck &)
Overloaded Equals Operator.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
ConvergenceCheck(const ConvergenceCheck &)
Default Constructor.
virtual ~ConvergenceCheck()
Default 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.