Ipopt  3.12.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
Ipopt::RestoIterationOutput Class Reference

Class for the iteration summary output for the restoration phase. More...

#include <IpRestoIterationOutput.hpp>

+ Inheritance diagram for Ipopt::RestoIterationOutput:

Public Member Functions

virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 overloaded from AlgorithmStrategyObject More...
 
virtual void WriteOutput ()
 Method to do all the summary output per iteration. More...
 
Constructors/Destructors
 RestoIterationOutput (const SmartPtr< OrigIterationOutput > &resto_orig_iteration_output)
 Constructor. More...
 
virtual ~RestoIterationOutput ()
 Default destructor. More...
 
- Public Member Functions inherited from Ipopt::IterationOutput
 IterationOutput ()
 Default Constructor. More...
 
virtual ~IterationOutput ()
 Default destructor. More...
 
- Public Member Functions inherited from Ipopt::AlgorithmStrategyObject
bool Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix)
 This method is called every time the algorithm starts again - it is used to reset any internal state. More...
 
bool ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix)
 Reduced version of the Initialize method, which does not require special Ipopt information. More...
 
 AlgorithmStrategyObject ()
 Default Constructor. More...
 
virtual ~AlgorithmStrategyObject ()
 Default Destructor. More...
 
- Public Member Functions inherited from Ipopt::ReferencedObject
 ReferencedObject ()
 
virtual ~ReferencedObject ()
 
Index ReferenceCount () const
 
void AddRef (const Referencer *referencer) const
 
void ReleaseRef (const Referencer *referencer) const
 

Private Member Functions

Default Compiler Generated Methods (Hidden to avoid

implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

 RestoIterationOutput ()
 Default Constructor. More...
 
 RestoIterationOutput (const RestoIterationOutput &)
 Copy Constructor. More...
 
void operator= (const RestoIterationOutput &)
 Overloaded Equals Operator. More...
 

Private Attributes

SmartPtr< OrigIterationOutputresto_orig_iteration_output_
 Pointer to output strategy object during regular iterations. More...
 
bool print_info_string_
 Flag indicating weather info string should be printed at end of iteration summary line. More...
 
InfPrOutput inf_pr_output_
 Option indication what should be printed in inf_pr column. More...
 
int print_frequency_iter_
 Option indicating at which iteration frequency the summary line should be printed. More...
 
Number print_frequency_time_
 Option indicating at which time frequency the summary line should be printed. More...
 

Additional Inherited Members

- Protected Types inherited from Ipopt::IterationOutput
enum  InfPrOutput { INTERNAL =0, ORIGINAL }
 enumeration for different inf_pr output options More...
 
- Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject
const JournalistJnlst () const
 
IpoptNLPIpNLP () const
 
IpoptDataIpData () const
 
IpoptCalculatedQuantitiesIpCq () const
 
bool HaveIpData () const
 

Detailed Description

Class for the iteration summary output for the restoration phase.

This prints information for the ORIGINAL NLP (and possibly for the restoration phase NLP.

Definition at line 22 of file IpRestoIterationOutput.hpp.

Constructor & Destructor Documentation

Ipopt::RestoIterationOutput::RestoIterationOutput ( const SmartPtr< OrigIterationOutput > &  resto_orig_iteration_output)

Constructor.

If resto_orig_iteration_output is not NULL, the output will be done twice per iteration, first for the restoration phase problem, and secondly using the functions for the original NLP.

virtual Ipopt::RestoIterationOutput::~RestoIterationOutput ( )
virtual

Default destructor.

Ipopt::RestoIterationOutput::RestoIterationOutput ( )
private

Default Constructor.

Ipopt::RestoIterationOutput::RestoIterationOutput ( const RestoIterationOutput )
private

Copy Constructor.

Member Function Documentation

virtual bool Ipopt::RestoIterationOutput::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
)
virtual

overloaded from AlgorithmStrategyObject

Implements Ipopt::IterationOutput.

virtual void Ipopt::RestoIterationOutput::WriteOutput ( )
virtual

Method to do all the summary output per iteration.

This include the one-line summary output as well as writing the details about the iterates if desired

Implements Ipopt::IterationOutput.

void Ipopt::RestoIterationOutput::operator= ( const RestoIterationOutput )
private

Overloaded Equals Operator.

Member Data Documentation

SmartPtr<OrigIterationOutput> Ipopt::RestoIterationOutput::resto_orig_iteration_output_
private

Pointer to output strategy object during regular iterations.

Definition at line 64 of file IpRestoIterationOutput.hpp.

bool Ipopt::RestoIterationOutput::print_info_string_
private

Flag indicating weather info string should be printed at end of iteration summary line.

Definition at line 68 of file IpRestoIterationOutput.hpp.

InfPrOutput Ipopt::RestoIterationOutput::inf_pr_output_
private

Option indication what should be printed in inf_pr column.

Definition at line 71 of file IpRestoIterationOutput.hpp.

int Ipopt::RestoIterationOutput::print_frequency_iter_
private

Option indicating at which iteration frequency the summary line should be printed.

Definition at line 74 of file IpRestoIterationOutput.hpp.

Number Ipopt::RestoIterationOutput::print_frequency_time_
private

Option indicating at which time frequency the summary line should be printed.

Definition at line 76 of file IpRestoIterationOutput.hpp.


The documentation for this class was generated from the following file: