Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-ipopt-3.10.2
Ipopt
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: 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
Generated on Tue Jun 26 2012 17:01:43 by
1.8.1.1