Ipopt  3.12.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
17 namespace 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:
41  {}
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 
66  void operator=(const RestorationPhase&);
68  };
69 
70 } // namespace Ipopt
71 
72 #endif
void operator=(const RestorationPhase &)
Overloaded Equals Operator.
This is the base class for all algorithm strategy objects.
virtual ~RestorationPhase()
Default Destructor.
This class stores a list of user set options.
Base class for different restoration phases.
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.
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
RestorationPhase()
Default Constructor.