Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-ipopt-3.10.2
Ipopt
src
Algorithm
IpOptErrorConvCheck.hpp
Go to the documentation of this file.
1
// Copyright (C) 2004, 2010 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// $Id: IpOptErrorConvCheck.hpp 1861 2010-12-21 21:34:47Z andreasw $
6
//
7
// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8
9
#ifndef __IPOPTERRORCONVCHECK_HPP__
10
#define __IPOPTERRORCONVCHECK_HPP__
11
12
#include "
IpConvCheck.hpp
"
13
14
namespace
Ipopt
15
{
16
20
class
OptimalityErrorConvergenceCheck
:
public
ConvergenceCheck
21
{
22
public
:
26
OptimalityErrorConvergenceCheck
();
27
29
virtual
~OptimalityErrorConvergenceCheck
();
31
33
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
34
const
std::string& prefix);
35
37
virtual
ConvergenceStatus
38
CheckConvergence
(
bool
call_intermediate_callback =
true
);
39
42
virtual
bool
CurrentIsAcceptable
();
43
46
static
void
RegisterOptions
(
SmartPtr<RegisteredOptions>
roptions);
48
49
protected
:
53
Index
max_iterations_
;
55
Number
dual_inf_tol_
;
57
Number
constr_viol_tol_
;
59
Number
compl_inf_tol_
;
63
Index
acceptable_iter_
;
66
Number
acceptable_tol_
;
68
Number
acceptable_dual_inf_tol_
;
70
Number
acceptable_constr_viol_tol_
;
72
Number
acceptable_compl_inf_tol_
;
75
Number
acceptable_obj_change_tol_
;
77
Number
diverging_iterates_tol_
;
79
Number
mu_target_
;
81
Number
max_cpu_time_
;
83
84
private
:
92
OptimalityErrorConvergenceCheck
(
const
OptimalityErrorConvergenceCheck
&);
93
95
void
operator=
(
const
OptimalityErrorConvergenceCheck
&);
97
100
Index
acceptable_counter_
;
101
104
Number
last_obj_val_
;
105
108
Number
curr_obj_val_
;
109
111
Index
last_obj_val_iter_
;
112
};
113
114
}
// namespace Ipopt
115
116
#endif
Generated on Tue Jun 26 2012 17:01:43 by
1.8.1.1