Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpOrigIterationOutput.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 __IPORIGITERATIONOUTPUT_HPP__
8#define __IPORIGITERATIONOUTPUT_HPP__
9
10#include "IpIterationOutput.hpp"
11
12namespace Ipopt
13{
14
18{
19public:
22
24
28
29 virtual bool InitializeImpl(
30 const OptionsList& options,
31 const std::string& prefix
32 );
33
39 virtual void WriteOutput();
40
43 static void RegisterOptions(
45 );
47
48private:
58
61 );
62
66 );
68
73
76
79
82};
83
84} // namespace Ipopt
85
86#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 original NLP.
bool print_info_string_
Flag indicating weather info string should be printed at end of iteration summary line.
virtual ~OrigIterationOutput()
Destructor.
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.
virtual void WriteOutput()
Method to do all the summary output per iteration.
OrigIterationOutput()
Default Constructor.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for OptionsList.
void operator=(const OrigIterationOutput &)
Overloaded Assignment Operator.
OrigIterationOutput(const OrigIterationOutput &)
Copy Constructor.
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.
Index print_frequency_iter_
Option indicating at which iteration frequency the summary line should be printed.
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