Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-ipopt-3.10.2
Ipopt
src
Algorithm
IpRestoConvCheck.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: IpRestoConvCheck.hpp 1861 2010-12-21 21:34:47Z andreasw $
6
//
7
// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8
//
9
// was originally IpRestoFilterConvCheck.hpp (rev 781)
10
// separated by A Waechter IBM 2008-06-24
11
12
#ifndef __IPRESTOCONVCHECK_HPP__
13
#define __IPRESTOCONVCHECK_HPP__
14
15
#include "
IpOptErrorConvCheck.hpp
"
16
#include "
IpBacktrackingLSAcceptor.hpp
"
17
18
namespace
Ipopt
19
{
20
29
class
RestoConvergenceCheck
:
30
public
OptimalityErrorConvergenceCheck
31
{
32
public
:
36
RestoConvergenceCheck
();
37
39
virtual
~RestoConvergenceCheck
();
41
43
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
44
const
std::string& prefix);
45
47
virtual
ConvergenceStatus
CheckConvergence
(
bool
call_intermediate_callback =
true
);
48
50
virtual
void
SetOrigLSAcceptor
(
const
BacktrackingLSAcceptor
& orig_ls_acceptor) = 0;
51
54
static
void
RegisterOptions
(
SmartPtr<RegisteredOptions>
roptions);
56
private
:
64
RestoConvergenceCheck
(
const
RestoConvergenceCheck
&);
65
67
void
operator=
(
const
RestoConvergenceCheck
&);
69
72
virtual
ConvergenceStatus
73
TestOrigProgress
(
Number
orig_trial_barr,
Number
orig_trial_theta) = 0;
74
79
Number
kappa_resto_
;
81
Index
maximum_iters_
;
83
Index
maximum_resto_iters_
;
85
Number
orig_constr_viol_tol_
;
87
91
bool
first_resto_iter_
;
92
94
Index
successive_resto_iter_
;
95
};
96
97
}
// namespace Ipopt
98
99
#endif
Generated on Tue Jun 26 2012 17:01:43 by
1.8.1.1