7#ifndef __IPCGPERTURBATIONHANDLER_HPP__
8#define __IPCGPERTURBATIONHANDLER_HPP__
IpoptData & IpData() const
IpoptCalculatedQuantities & IpCq() const
Class for all Chen-Goldfarb penalty method specific calculated quantities.
Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm.
Class for handling the perturbation factors delta_x, delta_s, delta_c, and delta_d in the primal dual...
CGPerturbationHandler()
Default Constructor.
CGPenaltyCq & CGPenCq()
Method to easily access CGPenalty calculated quantities.
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.
Number mult_diverg_feasibility_tol_
Feasibility for perturbation in pure Newton method.
CGPenaltyData & CGPenData()
Method to easily access CGPenalty data.
virtual ~CGPerturbationHandler()
Destructor.
void operator=(const CGPerturbationHandler &)
Default Assignment Operator.
CGPerturbationHandler(const CGPerturbationHandler &)
Copy Constructor.
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...
Number penalty_max_
The max reference value for scaling the penalty parameter.
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 ...
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Templated class which stores one entry for the CachedResult class.
IpoptAdditionalCq & AdditionalCq()
IpoptAdditionalData & AdditionalData()
Get access to additional data object.
This class stores a list of user set options.
Class for handling the perturbation factors delta_x, delta_s, delta_c, and delta_d in the primal dual...
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipnumber Number
Type of all numbers.