Ipopt Documentation  
 
Loading...
Searching...
No Matches
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// Authors: Andreas Waechter IBM 2005-10-13
6
7#ifndef __IPPDSEARCHDIRCALC_HPP__
8#define __IPPDSEARCHDIRCALC_HPP__
9
11#include "IpPDSystemSolver.hpp"
12
13namespace Ipopt
14{
15
20{
21public:
24
26 const SmartPtr<PDSystemSolver>& pd_solver
27 );
28
32
34 virtual bool InitializeImpl(
35 const OptionsList& options,
36 const std::string& prefix
37 );
38
43 virtual bool ComputeSearchDirection();
44
45 static void RegisterOptions(
46 const SmartPtr<RegisteredOptions>& roptions
47 );
48
51 {
52 return pd_solver_;
53 }
54
55private:
66
68
72 );
73
77 );
79
84
87
91
99
100};
101
102} // namespace Ipopt
103
104#endif
This class stores a list of user set options.
Implementation of the search direction calculator that computes the pure primal dual step for the cur...
void operator=(const PDSearchDirCalculator &)
Default Assignment Operator.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
SmartPtr< PDSystemSolver > PDSolver()
Returns the pd_solver for additional processing.
PDSearchDirCalculator()
Default Constructor.
virtual bool ComputeSearchDirection()
Method for computing the search direction.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
bool mehrotra_algorithm_
Flag indicating if we want to do Mehrotras's algorithm.
virtual ~PDSearchDirCalculator()
Destructor.
bool fast_step_computation_
Flag indicating that we trust that the steps from the linear solver are very good and that we don't n...
PDSearchDirCalculator(const PDSearchDirCalculator &)
Copy Constructor.
PDSearchDirCalculator(const SmartPtr< PDSystemSolver > &pd_solver)
Constructor.
SmartPtr< PDSystemSolver > pd_solver_
Base class for computing the search direction for the line search.
Template class for Smart Pointers.
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.