Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpIterationOutput.hpp 2020 2011-06-16 20:46:16Z andreasw $
6 //
7 // Authors: Andreas Waechter, Carl Laird IBM 2004-09-27
8
9 #ifndef __IPITERATIONOUTPUT_HPP__
10 #define __IPITERATIONOUTPUT_HPP__
11
12 #include "IpAlgStrategy.hpp"
13 #include "IpIpoptNLP.hpp"
14 #include "IpIpoptData.hpp"
15 #include "IpIpoptCalculatedQuantities.hpp"
16
17 namespace Ipopt
18 {
19
22 class IterationOutput: public AlgorithmStrategyObject
23 {
24 public:
28 IterationOutput()
29 {}
30
32 virtual ~IterationOutput()
33 {}
35
37 virtual bool InitializeImpl(const OptionsList& options,
38 const std::string& prefix) = 0;
39
43 virtual void WriteOutput() = 0;
44
45 protected:
47 enum InfPrOutput
48 {
49 INTERNAL=0,
50 ORIGINAL
51 };
52
53 private:
61 IterationOutput(const IterationOutput&);
62
64 void operator=(const IterationOutput&);
66
67 };
68
69 } // namespace Ipopt
70
71 #endif
IpAlgStrategy.hpp
IpIpoptNLP.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
Ipopt::IterationOutput::InfPrOutput
InfPrOutput
enumeration for different inf_pr output options
Definition: IpIterationOutput.hpp:47
IpIpoptCalculatedQuantities.hpp
Ipopt::IterationOutput::~IterationOutput
virtual ~IterationOutput()
Default destructor.
Definition: IpIterationOutput.hpp:32
Ipopt::IterationOutput::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt::IterationOutput::WriteOutput
virtual void WriteOutput()=0
Method to do all the summary output per iteration.
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::IterationOutput::IterationOutput
IterationOutput()
Default Constructor.
Definition: IpIterationOutput.hpp:28
Ipopt::IterationOutput
Base class for objects that do the output summary per iteration.
Definition: IpIterationOutput.hpp:22
Ipopt::IterationOutput::INTERNAL
Definition: IpIterationOutput.hpp:49
Ipopt::IterationOutput::operator=
void operator=(const IterationOutput &)
Overloaded Equals Operator.
IpIpoptData.hpp
Ipopt::IterationOutput::ORIGINAL
Definition: IpIterationOutput.hpp:50