MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
MoochoPack::PreEvalNewPointBarrier_Step Class Reference

Standard evaluation step class for extra parameters in primal/dual barrier method. More...

#include <MoochoPack_PreEvalNewPointBarrier_Step.hpp>

Inheritance diagram for MoochoPack::PreEvalNewPointBarrier_Step:
Inheritance graph
[legend]

Public Member Functions

 STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, relative_bound_push)
 relative fraction for initializing x within bounds. xl_sb = min(xl+relative_bound_push*(xu-xl), xl + absolute_bound_push) xu_sb = max(xu-relative_bound_push*(xu-xl), xu - absolute_bound_push) if (xl_sb > xu_sb) then x = (xl + (xu-xl)/2 else if (x < xl_sb) then x = xl_sb else if (x > xu_sb) then x = xu_sb More...
 
 STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, absolute_bound_push)
 absolute measure for initializing x within bounds. xl_sb = min(xl+relative_bound_push*(xu-xl), xl + absolute_bound_push) xu_sb = max(xu-relative_bound_push*(xu-xl), xu - absolute_bound_push) if (xl_sb > xu_sb) then x = (xl + (xu-xl)/2 else if (x < xl_sb) then x = xl_sb else if (x > xu_sb) then x = xu_sb More...
 
 PreEvalNewPointBarrier_Step (const value_type relative_bound_push=0.01, const value_type absolute_bound_push=0.001)
 
- Public Member Functions inherited from IterationPack::AlgorithmStep
virtual ~AlgorithmStep ()
 
virtual void initialize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just before the algorithm is run. More...
 
virtual void inform_updated (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm to inform when a runtime configuration change is finihed. More...
 
virtual void finalize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just after an algorithm is terminiated. More...
 

Overridden from AlgorithmStep

bool do_step (Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
 
void print_step (const IterationPack::Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const
 Called by Algorithm::print_algorithm() to print out what this step does in Matlab like format. More...
 

Additional Inherited Members

- Public Types inherited from IterationPack::AlgorithmStep
typedef size_t poss_type
 

Detailed Description

Standard evaluation step class for extra parameters in primal/dual barrier method.

This class calculates invXu, invXl invXu_m_invXl

Definition at line 64 of file MoochoPack_PreEvalNewPointBarrier_Step.hpp.

Constructor & Destructor Documentation

MoochoPack::PreEvalNewPointBarrier_Step::PreEvalNewPointBarrier_Step ( const value_type  relative_bound_push = 0.01,
const value_type  absolute_bound_push = 0.001 
)

Constructor.

Definition at line 63 of file MoochoPack_PreEvalNewPointBarrier_Step.cpp.

Member Function Documentation

MoochoPack::PreEvalNewPointBarrier_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( value_type  ,
relative_bound_push   
)

relative fraction for initializing x within bounds. xl_sb = min(xl+relative_bound_push*(xu-xl), xl + absolute_bound_push) xu_sb = max(xu-relative_bound_push*(xu-xl), xu - absolute_bound_push) if (xl_sb > xu_sb) then x = (xl + (xu-xl)/2 else if (x < xl_sb) then x = xl_sb else if (x > xu_sb) then x = xu_sb

MoochoPack::PreEvalNewPointBarrier_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS ( value_type  ,
absolute_bound_push   
)

absolute measure for initializing x within bounds. xl_sb = min(xl+relative_bound_push*(xu-xl), xl + absolute_bound_push) xu_sb = max(xu-relative_bound_push*(xu-xl), xu - absolute_bound_push) if (xl_sb > xu_sb) then x = (xl + (xu-xl)/2 else if (x < xl_sb) then x = xl_sb else if (x > xu_sb) then x = xu_sb

bool MoochoPack::PreEvalNewPointBarrier_Step::do_step ( Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss 
)
virtual
void MoochoPack::PreEvalNewPointBarrier_Step::print_step ( const IterationPack::Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss,
std::ostream &  out,
const std::string &  leading_str 
) const
virtual

Called by Algorithm::print_algorithm() to print out what this step does in Matlab like format.

The default does nothing.

Reimplemented from IterationPack::AlgorithmStep.

Definition at line 162 of file MoochoPack_PreEvalNewPointBarrier_Step.cpp.


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