Ipopt  3.12.12
 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"
16 
17 namespace Ipopt
18 {
19 
23  {
24  public:
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:
48  {
51  };
52 
53  private:
62 
64  void operator=(const IterationOutput&);
66 
67  };
68 
69 } // namespace Ipopt
70 
71 #endif
This is the base class for all algorithm strategy objects.
InfPrOutput
enumeration for different inf_pr output options
virtual ~IterationOutput()
Default destructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
virtual void WriteOutput()=0
Method to do all the summary output per iteration.
This class stores a list of user set options.
IterationOutput()
Default Constructor.
Base class for objects that do the output summary per iteration.
void operator=(const IterationOutput &)
Overloaded Equals Operator.