Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpSearchDirCalculator.hpp
Go to the documentation of this file.
1// Copyright (C) 2005, 2007 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 __IPSEARCHDIRCALCULATOR_HPP__
8#define __IPSEARCHDIRCALCULATOR_HPP__
9
10#include "IpAlgStrategy.hpp"
11
12namespace Ipopt
13{
14
19{
20public:
23
26
31
32 virtual bool InitializeImpl(
33 const OptionsList& options,
34 const std::string& prefix
35 ) = 0;
36
41 virtual bool ComputeSearchDirection() = 0;
42
43private:
54
55 // SearchDirectionCalculator();
56
60 );
61
65 );
67
68};
69
70} // namespace Ipopt
71
72#endif
This is the base class for all algorithm strategy objects.
This class stores a list of user set options.
Base class for computing the search direction for the line search.
virtual bool ComputeSearchDirection()=0
Pure virtual method for computing the search direction.
void operator=(const SearchDirectionCalculator &)
Default Assignment Operator.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Implementation of the initialization method that has to be overloaded by for each derived class.
SearchDirectionCalculator(const SearchDirectionCalculator &)
Default Constructor.
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.