Ipopt Documentation  
 
Loading...
Searching...
No Matches
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"
14
15namespace Ipopt
16{
17
21{
22public:
25
28
31 { }
33
34 virtual bool InitializeImpl(
35 const OptionsList& options,
36 const std::string& prefix
37 ) = 0;
38
44 virtual void WriteOutput() = 0;
45
46protected:
49 {
50 INTERNAL = 0,
51 ORIGINAL
52 };
53
54private:
64
66 const IterationOutput&
67 );
68
70 const IterationOutput&
71 );
73
74};
75
76} // namespace Ipopt
77
78#endif
This is the base class for all algorithm strategy objects.
Base class for objects that do the output summary per iteration.
virtual ~IterationOutput()
Destructor.
void operator=(const IterationOutput &)
virtual void WriteOutput()=0
Method to do all the summary output per iteration.
InfPrOutput
enumeration for different inf_pr output options
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.
IterationOutput()
Default Constructor.
IterationOutput(const IterationOutput &)
Copy Constructor.
This class stores a list of user set options.
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.