Ipopt Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IpLineSearch.hpp
Go to the documentation of this file.
1
// Copyright (C) 2004, 2006 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6
7
#ifndef __IPLINESEARCH_HPP__
8
#define __IPLINESEARCH_HPP__
9
10
#include "
IpAlgStrategy.hpp
"
11
#include "
IpIpoptCalculatedQuantities.hpp
"
12
13
namespace
Ipopt
14
{
15
17
class
IPOPTLIB_EXPORT
LineSearch
:
public
AlgorithmStrategyObject
18
{
19
public
:
23
LineSearch
()
24
{ }
25
27
virtual
~LineSearch
()
28
{ }
30
35
virtual
void
FindAcceptableTrialPoint() = 0;
36
44
virtual
void
Reset() = 0;
45
59
virtual
void
SetRigorousLineSearch(
60
bool
rigorous
61
) = 0;
62
66
virtual
bool
CheckSkippedLineSearch() = 0;
67
79
virtual
bool
ActivateFallbackMechanism() = 0;
80
81
private
:
93
LineSearch
(
94
const
LineSearch
&
95
);
96
97
void
operator=(
98
const
LineSearch
&
99
);
101
102
};
103
104
}
// namespace Ipopt
105
106
#endif
IpAlgStrategy.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:34
IpIpoptCalculatedQuantities.hpp
Ipopt::LineSearch::~LineSearch
virtual ~LineSearch()
Destructor.
Definition:
IpLineSearch.hpp:27
Ipopt::LineSearch::LineSearch
LineSearch()
Default Constructor.
Definition:
IpLineSearch.hpp:23
IPOPTLIB_EXPORT
#define IPOPTLIB_EXPORT
Definition:
config_default.h:16
Ipopt::LineSearch
Base class for line search objects.
Definition:
IpLineSearch.hpp:17