Ipopt Documentation
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
#include "
IpPDSystemSolver.hpp
"
14
#include "
SensBacksolver.hpp
"
15
16
namespace
Ipopt
17
{
18
19
class
SIPOPTLIB_EXPORT
SimpleBacksolver
:
public
SensBacksolver
20
{
21
public
:
22
23
SimpleBacksolver
(
24
SmartPtr<PDSystemSolver>
pd_solver
25
);
26
27
~SimpleBacksolver
()
28
{ }
29
30
bool
InitializeImpl(
31
const
OptionsList
& options,
32
const
std::string& prefix
33
);
34
35
bool
Solve(
36
SmartPtr<IteratesVector>
delta_lhs,
37
SmartPtr<const IteratesVector>
delta_rhs
38
);
39
40
private
:
41
SimpleBacksolver
();
42
43
SmartPtr<PDSystemSolver>
pd_solver_
;
44
bool
allow_inexact_
;
45
};
46
47
}
48
49
#endif
Ipopt::SimpleBacksolver::pd_solver_
SmartPtr< PDSystemSolver > pd_solver_
Definition:
SensSimpleBacksolver.hpp:43
IpPDSystemSolver.hpp
Ipopt::SensBacksolver
Definition:
SensBacksolver.hpp:16
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions...
Definition:
IpInexactAlgBuilder.hpp:13
Ipopt::SimpleBacksolver
Definition:
SensSimpleBacksolver.hpp:19
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition:
IpSmartPtr.hpp:164
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
SensBacksolver.hpp
Ipopt::SimpleBacksolver::~SimpleBacksolver
~SimpleBacksolver()
Definition:
SensSimpleBacksolver.hpp:27
Ipopt::SimpleBacksolver::allow_inexact_
bool allow_inexact_
Definition:
SensSimpleBacksolver.hpp:44
SIPOPTLIB_EXPORT
#define SIPOPTLIB_EXPORT
Definition:
config.h:216