Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

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"
15 #include "IpIpoptCalculatedQuantities.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
34 class RestorationPhase : public AlgorithmStrategyObject
35 {
36 public:
40 RestorationPhase()
41 {}
43 virtual ~RestorationPhase()
44 {}
46
48 virtual bool InitializeImpl(const OptionsList& options,
49 const std::string& prefix) = 0;
50
53 virtual bool PerformRestoration() = 0;
54
55 private:
63 RestorationPhase(const RestorationPhase&);
64
66 void operator=(const RestorationPhase&);
68 };
69
70 } // namespace Ipopt
71
72 #endif
Ipopt::RestorationPhase::operator=
void operator=(const RestorationPhase &)
Overloaded Equals Operator.
IpAlgStrategy.hpp
IpIpoptNLP.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
IpIpoptCalculatedQuantities.hpp
Ipopt::RestorationPhase::~RestorationPhase
virtual ~RestorationPhase()
Default Destructor.
Definition: IpRestoPhase.hpp:43
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::RestorationPhase
Base class for different restoration phases.
Definition: IpRestoPhase.hpp:34
Ipopt::RestorationPhase::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt::RestorationPhase::PerformRestoration
virtual bool PerformRestoration()=0
Method called to perform restoration for the filter line search method.
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
Ipopt::RestorationPhase::RestorationPhase
RestorationPhase()
Default Constructor.
Definition: IpRestoPhase.hpp:40
IpIpoptData.hpp