Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpRestoIterationOutput.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-09-27
6
7#ifndef __IPRESTOITERATIONOUTPUT_HPP__
8#define __IPRESTOITERATIONOUTPUT_HPP__
9
10#include "IpIterationOutput.hpp"
12
13namespace Ipopt
14{
15
22{
23public:
26
34 const SmartPtr<OrigIterationOutput>& resto_orig_iteration_output
35 );
36
40
41 virtual bool InitializeImpl(
42 const OptionsList& options,
43 const std::string& prefix
44 );
45
51 virtual void WriteOutput();
52
53private:
63
65
69 );
70
74 );
76
79
84
87
90
93};
94
95} // namespace Ipopt
96
97#endif
Base class for objects that do the output summary per iteration.
InfPrOutput
enumeration for different inf_pr output options
This class stores a list of user set options.
Class for the iteration summary output for the restoration phase.
virtual ~RestoIterationOutput()
Destructor.
RestoIterationOutput(const RestoIterationOutput &)
Copy Constructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class.
SmartPtr< OrigIterationOutput > resto_orig_iteration_output_
Pointer to output strategy object during regular iterations.
Index print_frequency_iter_
Option indicating at which iteration frequency the summary line should be printed.
InfPrOutput inf_pr_output_
Option indication what should be printed in inf_pr column.
Number print_frequency_time_
Option indicating at which time frequency the summary line should be printed.
virtual void WriteOutput()
Method to do all the summary output per iteration.
bool print_info_string_
Flag indicating weather info string should be printed at end of iteration summary line.
RestoIterationOutput(const SmartPtr< OrigIterationOutput > &resto_orig_iteration_output)
Constructor.
RestoIterationOutput()
Default Constructor.
void operator=(const RestoIterationOutput &)
Default Assignment Operator.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:20
ipnumber Number
Type of all numbers.
Definition IpTypes.hpp:17