Main Page
Namespaces
Classes
Files
File List
File Members
var
build
temp
tmp.niCloInx4p
4.0-0-0
coinor-ipopt
coinor-ipopt-3.10.2
Ipopt
contrib
sIPOPT
src
SensStdStepCalc.hpp
Go to the documentation of this file.
1
// Copyright 2009, 2011 Hans Pirnay
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// Date : 2009-05-16
6
7
#ifndef __ASSTDSTEPCALC_HPP__
8
#define __ASSTDSTEPCALC_HPP__
9
10
#include "
SensBacksolver.hpp
"
11
#include "
SensStepCalc.hpp
"
12
#include <vector>
13
14
15
namespace
Ipopt
16
{
17
18
class
StdStepCalculator
:
public
SensitivityStepCalculator
19
{
20
public
:
21
StdStepCalculator
(
SmartPtr<SchurData>
ift_data,
22
SmartPtr<SensBacksolver>
backsolver);
23
24
virtual
~StdStepCalculator
();
25
26
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
27
const
std::string& prefix);
28
31
virtual
bool
Step
(
DenseVector
& delta_u,
IteratesVector
& sol);
32
33
bool
BoundCheck
(
IteratesVector
& sol,
34
std::vector<Index>& x_bound_violations_idx,
35
std::vector<Number>& x_bound_violations_du);
36
37
private
:
38
SmartPtr<SchurData>
ift_data_
;
39
SmartPtr<SensBacksolver>
backsolver_
;
40
Number
bound_eps_
;
41
bool
kkt_residuals_
;
42
};
43
}
44
45
#endif
Generated on Mon Mar 17 2014 19:49:12 by
1.8.1.2