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 
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:
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:
70  const RestorationPhase&
71  );
72 
74  void operator=(
75  const RestorationPhase&
76  );
78 };
79 
80 } // namespace Ipopt
81 
82 #endif
Ipopt::RestorationPhase::RestorationPhase
RestorationPhase(const RestorationPhase &)
Copy Constructor.
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
Ipopt::RestorationPhase::PerformRestoration
virtual bool PerformRestoration()=0
Method called to perform restoration for the filter line search method.
Ipopt::RestorationPhase
Base class for different restoration phases.
Definition: IpRestoPhase.hpp:35
Ipopt::RestorationPhase::RestorationPhase
RestorationPhase()
Default Constructor.
Definition: IpRestoPhase.hpp:40
IpIpoptCalculatedQuantities.hpp
Ipopt::RestorationPhase::InitializeImpl
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.
Ipopt::RestorationPhase::~RestorationPhase
virtual ~RestorationPhase()
Destructor.
Definition: IpRestoPhase.hpp:44
IpIpoptData.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
IpAlgStrategy.hpp
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(FATAL_ERROR_IN_LINEAR_SOLVER)
Ipopt::RestorationPhase::operator=
void operator=(const RestorationPhase &)
Default Assignment Operator.
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33
IpIpoptNLP.hpp