MoochoPack::CheckConvergenceIP_Strategy Class Reference

Implementation of CheckConvergence_Strategy interface. More...

#include <MoochoPack_CheckConvergenceIP_Strategy.hpp>

Inheritance diagram for MoochoPack::CheckConvergenceIP_Strategy:

List of all members.

Overridden from CheckConvergenceStd_Strategy

virtual bool Converged (Algorithm &_algo)
virtual void print_step (const Algorithm &_algo, std::ostream &out, const std::string &L) const

Public Member Functions

 CheckConvergenceIP_Strategy (EOptErrorCheck opt_error_check=OPT_ERROR_REDUCED_GRADIENT_LAGR, EScaleKKTErrorBy scale_opt_error_by=SCALE_BY_ONE, EScaleKKTErrorBy scale_feas_error_by=SCALE_BY_ONE, EScaleKKTErrorBy scale_comp_error_by=SCALE_BY_ONE, bool scale_opt_error_by_Gf=true)

Detailed Description

Implementation of CheckConvergence_Strategy interface.

This object can not change the flow of control or do anything fancy. It just checks convergence by calculating norm errors and comparing with tolerance It can update iteration quantities if desired.

See the printed documentation generated by this->print_step().

Definition at line 45 of file MoochoPack_CheckConvergenceIP_Strategy.hpp.

Constructor & Destructor Documentation

MoochoPack::CheckConvergenceIP_Strategy::CheckConvergenceIP_Strategy ( EOptErrorCheck  opt_error_check = OPT_ERROR_REDUCED_GRADIENT_LAGR,
EScaleKKTErrorBy  scale_opt_error_by = SCALE_BY_ONE,
EScaleKKTErrorBy  scale_feas_error_by = SCALE_BY_ONE,
EScaleKKTErrorBy  scale_comp_error_by = SCALE_BY_ONE,
bool  scale_opt_error_by_Gf = true 

Definition at line 46 of file MoochoPack_CheckConvergenceIP_Strategy.cpp.

Member Function Documentation

bool MoochoPack::CheckConvergenceIP_Strategy::Converged ( Algorithm _algo  )  [virtual]

Reimplemented from MoochoPack::CheckConvergenceStd_Strategy.

Definition at line 63 of file MoochoPack_CheckConvergenceIP_Strategy.cpp.

void MoochoPack::CheckConvergenceIP_Strategy::print_step ( const Algorithm _algo,
std::ostream &  out,
const std::string &  L 
) const [virtual]

Reimplemented from MoochoPack::CheckConvergenceStd_Strategy.

Definition at line 171 of file MoochoPack_CheckConvergenceIP_Strategy.cpp.

The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:54:15 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7