#include <IpConvCheck.hpp>
Inheritance diagram for Ipopt::ConvergenceCheck:
Public Types | |
CONTINUE | |
CONVERGED | |
CONVERGED_TO_ACCEPTABLE_POINT | |
MAXITER_EXCEEDED | |
DIVERGING | |
USER_STOP | |
FAILED | |
enum | ConvergenceStatus { CONTINUE, CONVERGED, CONVERGED_TO_ACCEPTABLE_POINT, MAXITER_EXCEEDED, DIVERGING, USER_STOP, FAILED } |
Convergence return enum. More... | |
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
overloaded from AlgorithmStrategyObject | |
virtual ConvergenceStatus | CheckConvergence (bool call_intermediate_callback=true)=0 |
Pure virtual method for performing the convergence test. | |
virtual bool | CurrentIsAcceptable ()=0 |
Method for testing if the current iterate is considered to satisfy the "accptable level" of accuracy. | |
Constructors/Destructors | |
ConvergenceCheck () | |
Constructor. | |
virtual | ~ConvergenceCheck () |
Default destructor. | |
Private Member Functions | |
Default Compiler Generated Methods | |
(Hidden to avoid implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
ConvergenceCheck (const ConvergenceCheck &) | |
Copy Constructor. | |
void | operator= (const ConvergenceCheck &) |
Overloaded Equals Operator. |
Definition at line 20 of file IpConvCheck.hpp.
Convergence return enum.
CONTINUE | |
CONVERGED | |
CONVERGED_TO_ACCEPTABLE_POINT | |
MAXITER_EXCEEDED | |
DIVERGING | |
USER_STOP | |
FAILED |
Definition at line 35 of file IpConvCheck.hpp.
Ipopt::ConvergenceCheck::ConvergenceCheck | ( | ) | [inline] |
virtual Ipopt::ConvergenceCheck::~ConvergenceCheck | ( | ) | [inline, virtual] |
Ipopt::ConvergenceCheck::ConvergenceCheck | ( | const ConvergenceCheck & | ) | [private] |
Copy Constructor.
virtual bool Ipopt::ConvergenceCheck::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [pure virtual] |
overloaded from AlgorithmStrategyObject
Implements Ipopt::AlgorithmStrategyObject.
Implemented in Ipopt::OptimalityErrorConvergenceCheck, and Ipopt::RestoFilterConvergenceCheck.
virtual ConvergenceStatus Ipopt::ConvergenceCheck::CheckConvergence | ( | bool | call_intermediate_callback = true |
) | [pure virtual] |
Pure virtual method for performing the convergence test.
If call_intermediate_callback is true, the user callback method in the NLP should be called in order to see if the user requests an early termination.
Implemented in Ipopt::OptimalityErrorConvergenceCheck, and Ipopt::RestoFilterConvergenceCheck.
virtual bool Ipopt::ConvergenceCheck::CurrentIsAcceptable | ( | ) | [pure virtual] |
Method for testing if the current iterate is considered to satisfy the "accptable level" of accuracy.
The idea is that if the desired convergence tolerance cannot be achieved, the algorithm might stop after a number of acceptable points have been encountered.
Implemented in Ipopt::OptimalityErrorConvergenceCheck.
void Ipopt::ConvergenceCheck::operator= | ( | const ConvergenceCheck & | ) | [private] |
Overloaded Equals Operator.