00001 // Copyright (C) 2004, 2011 International Business Machines and others. 00002 // All Rights Reserved. 00003 // This code is published under the Eclipse Public License. 00004 // 00005 // $Id: IpOrigIterationOutput.hpp 2167 2013-03-08 11:15:38Z stefan $ 00006 // 00007 // Authors: Andreas Waechter, Carl Laird IBM 2004-09-27 00008 00009 #ifndef __IPORIGITERATIONOUTPUT_HPP__ 00010 #define __IPORIGITERATIONOUTPUT_HPP__ 00011 00012 #include "IpIterationOutput.hpp" 00013 00014 namespace Ipopt 00015 { 00016 00019 class OrigIterationOutput: public IterationOutput 00020 { 00021 public: 00025 OrigIterationOutput(); 00026 00028 virtual ~OrigIterationOutput(); 00030 00032 virtual bool InitializeImpl(const OptionsList& options, 00033 const std::string& prefix); 00034 00038 virtual void WriteOutput(); 00039 00042 static void RegisterOptions(SmartPtr<RegisteredOptions> roptions); 00044 00045 private: 00053 OrigIterationOutput(const OrigIterationOutput&); 00054 00056 void operator=(const OrigIterationOutput&); 00058 00061 bool print_info_string_; 00062 00064 InfPrOutput inf_pr_output_; 00065 00067 int print_frequency_iter_; 00069 Number print_frequency_time_; 00070 }; 00071 00072 } // namespace Ipopt 00073 00074 #endif