Ipopt 3.11.9
Loading...
Searching...
No Matches
IpRestoPhase.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: IpRestoPhase.hpp 1861 2010-12-21 21:34:47Z andreasw $
6//
7// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8
9#ifndef __IPRESTOPHASE_HPP__
10#define __IPRESTOPHASE_HPP__
11
12#include "IpAlgStrategy.hpp"
13#include "IpIpoptNLP.hpp"
14#include "IpIpoptData.hpp"
16
17namespace Ipopt
18{
19
25 DECLARE_STD_EXCEPTION(RESTORATION_CONVERGED_TO_FEASIBLE_POINT);
26 DECLARE_STD_EXCEPTION(RESTORATION_FAILED);
27 DECLARE_STD_EXCEPTION(RESTORATION_MAXITER_EXCEEDED);
28 DECLARE_STD_EXCEPTION(RESTORATION_CPUTIME_EXCEEDED);
29 DECLARE_STD_EXCEPTION(RESTORATION_USER_STOP);
31
35 {
36 public:
44 {}
46
48 virtual bool InitializeImpl(const OptionsList& options,
49 const std::string& prefix) = 0;
50
53 virtual bool PerformRestoration() = 0;
54
55 private:
64
68 };
69
70} // namespace Ipopt
71
72#endif
#define DECLARE_STD_EXCEPTION(__except_type)
This is the base class for all algorithm strategy objects.
This class stores a list of user set options.
Base class for different restoration phases.
void operator=(const RestorationPhase &)
Overloaded Equals Operator.
virtual ~RestorationPhase()
Default Destructor.
RestorationPhase(const RestorationPhase &)
Copy Constructor.
RestorationPhase()
Default Constructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
virtual bool PerformRestoration()=0
Method called to perform restoration for the filter line search method.