Ipopt Documentation  
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 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6 
7 #ifndef __IPRESTOPHASE_HPP__
8 #define __IPRESTOPHASE_HPP__
9 
10 #include "IpAlgStrategy.hpp"
11 #include "IpIpoptNLP.hpp"
12 #include "IpIpoptData.hpp"
14 
15 namespace Ipopt
16 {
17 
19 
23 DECLARE_STD_EXCEPTION(RESTORATION_CONVERGED_TO_FEASIBLE_POINT);
24 DECLARE_STD_EXCEPTION(RESTORATION_FAILED);
25 DECLARE_STD_EXCEPTION(RESTORATION_MAXITER_EXCEEDED);
26 DECLARE_STD_EXCEPTION(RESTORATION_CPUTIME_EXCEEDED);
27 DECLARE_STD_EXCEPTION(RESTORATION_USER_STOP);
29 
35 {
36 public:
38 
41  { }
42 
45  { }
47 
48  virtual bool InitializeImpl(
49  const OptionsList& options,
50  const std::string& prefix
51  ) = 0;
52 
56  virtual bool PerformRestoration() = 0;
57 
58 private:
67 
70  const RestorationPhase&
71  );
72 
74  void operator=(
75  const RestorationPhase&
76  );
78 };
79 
80 } // namespace Ipopt
81 
82 #endif
void operator=(const RestorationPhase &)
Default Assignment Operator.
This is the base class for all algorithm strategy objects.
DECLARE_STD_EXCEPTION(FATAL_ERROR_IN_LINEAR_SOLVER)
virtual ~RestorationPhase()
Destructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
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
Implementation of the initialization method that has to be overloaded by for each derived class...
virtual bool PerformRestoration()=0
Method called to perform restoration for the filter line search method.
RestorationPhase()
Default Constructor.