MoochoPack : Framework for Large-Scale Optimization Algorithms
Version of the Day
|
This class simply outputs the convergence information for each iteration. More...
#include <MoochoPack_MoochoTrackerSummaryStd.hpp>
Public Types | |
enum | EOptError |
Public Member Functions | |
MoochoTrackerSummaryStd (const ostream_ptr_t &o, const ostream_ptr_t &journal_out, EOptError opt_error=OPT_ERROR_REDUCED_GRADIENT_LAGR) | |
Construct with an output stream. More... | |
void | set_output_stream (const ostream_ptr_t &o) |
Set the output stream for summary outputting. More... | |
const ostream_ptr_t & | get_output_stream () const |
Get the output stream for summary outputting. More... | |
int | num_total_qp_iter () const |
Output the total number of qp iterations back to and the k=0 iteration. More... | |
Protected Member Functions | |
void | print_header (const NLPAlgoState &s) const |
Print the header to the output. More... | |
Overridden from AlgorithmTracker | |
void | output_iteration (const Algorithm &algo) const |
void | output_final (const Algorithm &algo, EAlgoReturn algo_return) const |
This class simply outputs the convergence information for each iteration.
Definition at line 55 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
Definition at line 61 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
MoochoPack::MoochoTrackerSummaryStd::MoochoTrackerSummaryStd | ( | const ostream_ptr_t & | o, |
const ostream_ptr_t & | journal_out, | ||
EOptError | opt_error = OPT_ERROR_REDUCED_GRADIENT_LAGR |
||
) |
Construct with an output stream.
void MoochoPack::MoochoTrackerSummaryStd::set_output_stream | ( | const ostream_ptr_t & | o | ) |
Set the output stream for summary outputting.
Definition at line 70 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
const MoochoTrackerSummaryStd::ostream_ptr_t & MoochoPack::MoochoTrackerSummaryStd::get_output_stream | ( | ) | const |
Get the output stream for summary outputting.
Definition at line 76 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
inline |
Output the total number of qp iterations back to and the k=0 iteration.
Definition at line 79 of file MoochoPack_MoochoTrackerSummaryStd.hpp.
Reimplemented from IterationPack::AlgorithmTracker.
Definition at line 81 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
virtual |
Reimplemented from IterationPack::AlgorithmTracker.
Definition at line 248 of file MoochoPack_MoochoTrackerSummaryStd.cpp.
|
protected |
Print the header to the output.
Definition at line 424 of file MoochoPack_MoochoTrackerSummaryStd.cpp.