MOOCHO (Single Doxygen Collection) Version of the Day
Public Member Functions
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]

List of all members.

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
 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
 PreEvalNewPointBarrier_Step (const value_type relative_bound_push=0.01, const value_type absolute_bound_push=0.001)

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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines