Go to the documentation of this file.
10 #ifndef __IPFILTERLSACCEPTOR_HPP__
11 #define __IPFILTERLSACCEPTOR_HPP__
39 const std::string& prefix);
116 bool called_from_restoration=
false)
const;
Number reference_gradBarrTDelta_
Barrier gradient transpose search direction at the point with respect to which progress is to be made...
virtual bool TrySecondOrderCorrection(Number alpha_primal_test, Number &alpha_primal, SmartPtr< IteratesVector > &actual_delta)
Try a second order correction for the constraints.
void operator=(const FilterLSAcceptor &)
Overloaded Equals Operator.
CorrectorTypeEnum
enumeration for the corrector type
Index max_soc_
Maximal number of second order correction steps.
virtual bool TryCorrector(Number alpha_primal_test, Number &alpha_primal, SmartPtr< IteratesVector > &actual_delta)
Try higher order corrector (for fast local convergence).
virtual ~FilterLSAcceptor()
Default destructor.
Number watchdog_barr_
Barrier objective function at reference point.
Index max_filter_resets_
maximal allowed number of filter resets.
bool ArmijoHolds(Number alpha_primal_test)
Method for checking the Armijo condition, given a trial step size.
Number kappa_soc_
Required reduction in constraint violation before trying multiple second order correction steps .
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for OptionsList.
Number theta_min_
Infeasibility switching bound.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
InitializeImpl - overloaded from AlgorithmStrategyObject.
virtual void InitThisLineSearch(bool in_watchdog)
Initialization for the next line search.
double Number
Type of all numbers.
Number corrector_compl_avrg_red_fact_
parameter in heurstic that determines whether corrector step should be tried.
virtual Number CalculateAlphaMin()
Method returning the lower bound on the trial step sizes.
bool IsFtype(Number alpha_primal_test)
Method for checking if the current step size satisfies the f-type switching condition.
CorrectorTypeEnum corrector_type_
Type of corrector steps that should be tried.
Filter filter_
Filter with entries.
int Index
Type of all indices of vectors, matrices etc.
virtual void StopWatchDog()
Method for setting internal data if the watchdog procedure is stopped.
bool skip_corr_if_neg_curv_
Flag indicating whether the corrector should be skipped in an iteration in which negative curvature i...
bool IsAcceptableToCurrentIterate(Number trial_barr, Number trial_theta, bool called_from_restoration=false) const
Checks if a trial point is acceptable to the current iterate.
virtual char UpdateForNextIteration(Number alpha_primal_test)
Method for ending the current line search.
SmartPtr< PDSystemSolver > pd_solver_
Template class for Smart Pointers.
Number reference_theta_
Constraint violation at the point with respect to which progress is to be made.
Index n_filter_resets_
Counter for the filter resets done so far.
void AugmentFilter()
Augment the filter used on the current values of the barrier objective function and the contraint vio...
bool skip_corr_in_monotone_mode_
Flag indicating whether the corrector should be skipped during the monotone mu mode.
Index soc_method_
Second method correction method.
Number watchdog_gradBarrTDelta_
Barrier gradient transpose search direction at reference point.
bool IsAcceptableToCurrentFilter(Number trial_barr, Number trial_theta) const
Checks if a trial point is acceptable to the current filter.
Number theta_max_
Upper bound on infeasibility.
virtual void Reset()
Reset the acceptor.
Index count_successive_filter_rejections_
Counter of successive iterations in which filter was reason for last rejection.
virtual bool CheckAcceptabilityOfTrialPoint(Number alpha_primal)
Method for checking if current trial point is acceptable.
Index filter_reset_trigger_
interation counter trigger for filter reset.
Base class for backtracking line search acceptors.
This class stores a list of user set options.
Number last_rejection_due_to_filter_
True, if last rejected was due to the filter.
FilterLSAcceptor(const SmartPtr< PDSystemSolver > &pd_solver)
Constructor.
Number watchdog_theta_
Constraint violation at reference point.
Number obj_max_inc_
Maximal increase in objective function in orders of magnitute (log10).
Number reference_barr_
Barrier objective function at the point with respect to which progress is to be made.
virtual void PrepareRestoPhaseStart()
Method that is called before the restoration phase is called.
virtual void StartWatchDog()
Method for setting internal data if the watchdog procedure is started.