7 #ifndef __IPCGPERTURBATIONHANDLER_HPP__ 8 #define __IPCGPERTURBATIONHANDLER_HPP__ 41 const std::string& prefix
Class for handling the perturbation factors delta_x, delta_s, delta_c, and delta_d in the primal dual...
CGPerturbationHandler()
Default Constructor.
bool PerturbForSingularity(Number &delta_x, Number &delta_s, Number &delta_c, Number &delta_d)
This method returns perturbation factors for the case when the most recent factorization resulted in ...
IpoptCalculatedQuantities & IpCq() const
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Class for handling the perturbation factors delta_x, delta_s, delta_c, and delta_d in the primal dual...
IpoptAdditionalCq & AdditionalCq()
IpoptData & IpData() const
This file contains a base class for all exceptions and a set of macros to help with exceptions...
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class...
Template class for Smart Pointers.
Number mult_diverg_feasibility_tol_
Feasibility for perturbation in pure Newton method.
This class stores a list of user set options.
Number penalty_max_
The max reference value for scaling the penalty parameter.
Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm...
bool ConsiderNewSystem(Number &delta_x, Number &delta_s, Number &delta_c, Number &delta_d)
This method must be called for each new matrix, and before any other method for generating perturbati...
CGPenaltyCq & CGPenCq()
Method to easily access CGPenalty calculated quantities.
Class for all Chen-Goldfarb penalty method specific calculated quantities.
IpoptAdditionalData & AdditionalData()
Get access to additional data object.
ipnumber Number
Type of all numbers.
void operator=(const CGPerturbationHandler &)
Default Assignment Operator.
CGPenaltyData & CGPenData()
Method to easily access CGPenalty data.
virtual ~CGPerturbationHandler()
Destructor.