Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpRestoIterationOutput.hpp 2450 2013-12-16 09:28:37Z ghackebeil $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-09-27
8
9 #ifndef __IPRESTOITERATIONOUTPUT_HPP__
10 #define __IPRESTOITERATIONOUTPUT_HPP__
11
12 #include "IpIterationOutput.hpp"
13 #include "IpOrigIterationOutput.hpp"
14
15 namespace Ipopt
16 {
17
22 class RestoIterationOutput: public IterationOutput
23 {
24 public:
31 RestoIterationOutput(const SmartPtr<OrigIterationOutput>& resto_orig_iteration_output);
32
34 virtual ~RestoIterationOutput();
36
38 virtual bool InitializeImpl(const OptionsList& options,
39 const std::string& prefix);
40
44 virtual void WriteOutput();
45
46 private:
54 RestoIterationOutput();
55
57 RestoIterationOutput(const RestoIterationOutput&);
58
60 void operator=(const RestoIterationOutput&);
62
64 SmartPtr<OrigIterationOutput> resto_orig_iteration_output_;
65
68 bool print_info_string_;
69
71 InfPrOutput inf_pr_output_;
72
74 int print_frequency_iter_;
76 Number print_frequency_time_;
77 };
78
79 } // namespace Ipopt
80
81 #endif
IpIterationOutput.hpp
Ipopt::RestoIterationOutput::print_frequency_iter_
int print_frequency_iter_
Option indicating at which iteration frequency the summary line should be printed.
Definition: IpRestoIterationOutput.hpp:74
Ipopt::RestoIterationOutput::~RestoIterationOutput
virtual ~RestoIterationOutput()
Default destructor.
Ipopt::IterationOutput::InfPrOutput
InfPrOutput
enumeration for different inf_pr output options
Definition: IpIterationOutput.hpp:47
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::RestoIterationOutput::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Ipopt::RestoIterationOutput::resto_orig_iteration_output_
SmartPtr< OrigIterationOutput > resto_orig_iteration_output_
Pointer to output strategy object during regular iterations.
Definition: IpRestoIterationOutput.hpp:64
Ipopt::RestoIterationOutput::print_info_string_
bool print_info_string_
Flag indicating weather info string should be printed at end of iteration summary line...
Definition: IpRestoIterationOutput.hpp:68
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
IpOrigIterationOutput.hpp
Ipopt::IterationOutput
Base class for objects that do the output summary per iteration.
Definition: IpIterationOutput.hpp:22
Ipopt::RestoIterationOutput
Class for the iteration summary output for the restoration phase.
Definition: IpRestoIterationOutput.hpp:22
Ipopt::RestoIterationOutput::inf_pr_output_
InfPrOutput inf_pr_output_
Option indication what should be printed in inf_pr column.
Definition: IpRestoIterationOutput.hpp:71
Ipopt::RestoIterationOutput::print_frequency_time_
Number print_frequency_time_
Option indicating at which time frequency the summary line should be printed.
Definition: IpRestoIterationOutput.hpp:76
Ipopt::RestoIterationOutput::RestoIterationOutput
RestoIterationOutput()
Default Constructor.
Ipopt::RestoIterationOutput::operator=
void operator=(const RestoIterationOutput &)
Overloaded Equals Operator.
Ipopt::RestoIterationOutput::WriteOutput
virtual void WriteOutput()
Method to do all the summary output per iteration.