Ipopt
3.12.13
src
Algorithm
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$
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
Definition:
matlabjournal.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:34
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
overloaded from AlgorithmStrategyObject
Ipopt::RestorationPhase::~RestorationPhase
virtual ~RestorationPhase()
Default Destructor.
Definition:
IpRestoPhase.hpp:43
IpIpoptData.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:35
IpAlgStrategy.hpp
Ipopt::RestorationPhase::operator=
void operator=(const RestorationPhase &)
Overloaded Equals Operator.
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
IpIpoptNLP.hpp
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
Generated on Sun Jan 5 2020 00:00:00 for Ipopt by
1.8.16