Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-ipopt-3.10.2
Ipopt
src
Algorithm
IpPDSearchDirCalc.hpp
Go to the documentation of this file.
1
// Copyright (C) 2005, 2009 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// $Id: IpPDSearchDirCalc.hpp 1861 2010-12-21 21:34:47Z andreasw $
6
//
7
// Authors: Andreas Waechter IBM 2005-10-13
8
9
#ifndef __IPPDSEARCHDIRCALC_HPP__
10
#define __IPPDSEARCHDIRCALC_HPP__
11
12
#include "
IpSearchDirCalculator.hpp
"
13
#include "
IpPDSystemSolver.hpp
"
14
15
namespace
Ipopt
16
{
17
21
class
PDSearchDirCalculator
:
public
SearchDirectionCalculator
22
{
23
public
:
27
PDSearchDirCalculator
(
const
SmartPtr<PDSystemSolver>
& pd_solver);
28
30
virtual
~PDSearchDirCalculator
();
32
34
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
35
const
std::string& prefix);
36
39
virtual
bool
ComputeSearchDirection
();
40
43
static
void
RegisterOptions
(
const
SmartPtr<RegisteredOptions>
& roptions);
45
47
SmartPtr<PDSystemSolver>
PDSolver
()
48
{
49
return
pd_solver_
;
50
}
51
52
private
:
62
PDSearchDirCalculator
();
63
65
PDSearchDirCalculator
(
const
PDSearchDirCalculator
&);
66
68
void
operator=
(
const
PDSearchDirCalculator
&);
70
73
SmartPtr<PDSystemSolver>
pd_solver_
;
75
81
bool
fast_step_computation_
;
85
bool
mehrotra_algorithm_
;
87
88
};
89
90
}
// namespace Ipopt
91
92
#endif
Generated on Tue Jun 26 2012 17:01:43 by
1.8.1.1