10#ifndef __IPRESTOCONVCHECK_HPP__
11#define __IPRESTOCONVCHECK_HPP__
41 const std::string& prefix
45 bool call_intermediate_callback =
true
Base class for backtracking line search acceptors.
ConvergenceStatus
Convergence return enum.
This class stores a list of user set options.
Convergence check for the restoration phase.
Number kappa_resto_
Fraction of required reduction in infeasibility before problem is considered to be solved.
void operator=(const RestoConvergenceCheck &)
Default Assignment Operator.
virtual void SetOrigLSAcceptor(const BacktrackingLSAcceptor &orig_ls_acceptor)=0
Method for setting the LS acceptor from the main algorithm.
Number orig_constr_viol_tol_
Constraint violation tolerance for original algorithm.
virtual ConvergenceStatus TestOrigProgress(Number orig_trial_barr, Number orig_trial_theta)=0
Method for checking progress with original globalization mechanism.
Index maximum_iters_
Maximum number of iterations in restoration phase.
Index successive_resto_iter_
Counter for successive iterations in restoration phase.
Index maximum_resto_iters_
Maximum number of successive iterations in restoration phase.
bool first_resto_iter_
Flag indicating that this is the first call.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
RestoConvergenceCheck(const RestoConvergenceCheck &)
Copy Constructor.
virtual ConvergenceStatus CheckConvergence(bool call_intermediate_callback=true)
Pure virtual method for performing the convergence test.
virtual ~RestoConvergenceCheck()
Destructor.
RestoConvergenceCheck()
Default Constructor.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.
ipnumber Number
Type of all numbers.