Ipopt Documentation
IpIterationOutput.hpp
Go to the documentation of this file.
1
// Copyright (C) 2004, 2011 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// Authors: Andreas Waechter, Carl Laird IBM 2004-09-27
6
7
#ifndef __IPITERATIONOUTPUT_HPP__
8
#define __IPITERATIONOUTPUT_HPP__
9
10
#include "
IpAlgStrategy.hpp
"
11
#include "
IpIpoptNLP.hpp
"
12
#include "
IpIpoptData.hpp
"
13
#include "
IpIpoptCalculatedQuantities.hpp
"
14
15
namespace
Ipopt
16
{
17
20
class
IPOPTLIB_EXPORT
IterationOutput
:
public
AlgorithmStrategyObject
21
{
22
public
:
26
IterationOutput
()
27
{ }
28
30
virtual
~IterationOutput
()
31
{ }
33
34
virtual
bool
InitializeImpl(
35
const
OptionsList
& options,
36
const
std::string& prefix
37
) = 0;
38
44
virtual
void
WriteOutput() = 0;
45
46
protected
:
48
enum
InfPrOutput
49
{
50
INTERNAL = 0,
51
ORIGINAL
52
};
53
54
private
:
65
IterationOutput
(
66
const
IterationOutput
&
67
);
68
69
void
operator=(
70
const
IterationOutput
&
71
);
73
74
};
75
76
}
// namespace Ipopt
77
78
#endif
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition:
IpInexactAlgBuilder.hpp:13
Ipopt::IterationOutput
Base class for objects that do the output summary per iteration.
Definition:
IpIterationOutput.hpp:20
IpIpoptCalculatedQuantities.hpp
IPOPTLIB_EXPORT
#define IPOPTLIB_EXPORT
Definition:
config_default.h:16
Ipopt::IterationOutput::~IterationOutput
virtual ~IterationOutput()
Destructor.
Definition:
IpIterationOutput.hpp:30
Ipopt::IterationOutput::IterationOutput
IterationOutput()
Default Constructor.
Definition:
IpIterationOutput.hpp:26
IpIpoptData.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:34
Ipopt::IterationOutput::InfPrOutput
InfPrOutput
enumeration for different inf_pr output options
Definition:
IpIterationOutput.hpp:48
IpAlgStrategy.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
IpIpoptNLP.hpp