Ipopt
3.11.4
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
contrib
sIPOPT
src
SensSimpleBacksolver.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-04-06
6
//
7
// Purpose : This is the same as IpSensitivityCalculator.hpp
8
// It implements the SensBacksolver Interface.
9
10
#ifndef __ASSIMPLEBACKSOLVER_HPP__
11
#define __ASSIMPLEBACKSOLVER_HPP__
12
13
14
#include "
IpPDSystemSolver.hpp
"
15
#include "
SensBacksolver.hpp
"
16
17
namespace
Ipopt {
18
class
SimpleBacksolver
:
public
SensBacksolver
19
{
20
public
:
21
22
SimpleBacksolver
(
SmartPtr<PDSystemSolver>
pd_solver);
23
24
~SimpleBacksolver
()
25
{}
26
27
bool
InitializeImpl
(
const
OptionsList
& options,
28
const
std::string& prefix);
29
30
bool
Solve
(
SmartPtr<IteratesVector>
delta_lhs,
SmartPtr<const IteratesVector>
delta_rhs);
31
32
33
private
:
34
35
SimpleBacksolver
();
36
37
SmartPtr<PDSystemSolver>
pd_solver_
;
38
bool
allow_inexact_
;
39
};
40
}
41
42
#endif
Generated on Mon Oct 21 2013 19:08:14 for Ipopt by
1.8.4