Ipopt
3.11.9
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
IpPDSystemSolver.hpp
SensBacksolver.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:33
Ipopt::SensBacksolver
Definition:
SensBacksolver.hpp:18
Ipopt::SimpleBacksolver
Definition:
SensSimpleBacksolver.hpp:19
Ipopt::SimpleBacksolver::~SimpleBacksolver
~SimpleBacksolver()
Definition:
SensSimpleBacksolver.hpp:24
Ipopt::SimpleBacksolver::allow_inexact_
bool allow_inexact_
Definition:
SensSimpleBacksolver.hpp:38
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:37
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:183
Ipopt
Definition:
matlabjournal.hpp:14
Generated by
1.9.1