Ipopt
3.12.12
Main Page
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
Ipopt::SimpleBacksolver::Solve
bool Solve(SmartPtr< IteratesVector > delta_lhs, SmartPtr< const IteratesVector > delta_rhs)
Ipopt::SimpleBacksolver::pd_solver_
SmartPtr< PDSystemSolver > pd_solver_
Definition:
SensSimpleBacksolver.hpp:37
IpPDSystemSolver.hpp
Ipopt::SensBacksolver
Definition:
SensBacksolver.hpp:17
Ipopt::SimpleBacksolver
Definition:
SensSimpleBacksolver.hpp:18
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition:
IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
SensBacksolver.hpp
Ipopt::SimpleBacksolver::SimpleBacksolver
SimpleBacksolver()
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::SimpleBacksolver::~SimpleBacksolver
~SimpleBacksolver()
Definition:
SensSimpleBacksolver.hpp:24
Ipopt::SimpleBacksolver::allow_inexact_
bool allow_inexact_
Definition:
SensSimpleBacksolver.hpp:38
Generated on Sun Nov 18 2018 03:31:51 for Ipopt by
1.8.5