Ipopt Documentation
Loading...
Searching...
No Matches
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
IpPDSystemSolver.hpp
SensBacksolver.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition
IpOptionsList.hpp:33
Ipopt::SensBacksolver
Definition
SensBacksolver.hpp:17
Ipopt::SimpleBacksolver
Definition
SensSimpleBacksolver.hpp:20
Ipopt::SimpleBacksolver::~SimpleBacksolver
~SimpleBacksolver()
Definition
SensSimpleBacksolver.hpp:27
Ipopt::SimpleBacksolver::allow_inexact_
bool allow_inexact_
Definition
SensSimpleBacksolver.hpp:44
Ipopt::SimpleBacksolver::Solve
bool Solve(SmartPtr< IteratesVector > delta_lhs, SmartPtr< const IteratesVector > delta_rhs)
Ipopt::SimpleBacksolver::SimpleBacksolver
SimpleBacksolver(SmartPtr< PDSystemSolver > pd_solver)
Ipopt::SimpleBacksolver::SimpleBacksolver
SimpleBacksolver()
Ipopt::SimpleBacksolver::pd_solver_
SmartPtr< PDSystemSolver > pd_solver_
Definition
SensSimpleBacksolver.hpp:43
Ipopt::SimpleBacksolver::InitializeImpl
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class.
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition
IpSmartPtr.hpp:165
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition
IpInexactAlgBuilder.hpp:14