7#ifndef __IPINEXACTPDSOLVER_HPP__
8#define __IPINEXACTPDSOLVER_HPP__
42 const std::string& prefix
This is the base class for all algorithm strategy objects.
IpoptData & IpData() const
IpoptCalculatedQuantities & IpCq() const
Base class for Solver for the augmented system.
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.
This is the implementation of the Primal-Dual System, allowing the usage of an inexact linear solver.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
InexactPDSolver()
Default Constructor.
SmartPtr< AugSystemSolver > augSysSolver_
Pointer to the Solver for the augmented system.
SmartPtr< PDPerturbationHandler > perturbHandler_
Pointer to the Perturbation Handler.
bool is_pardiso_
flag indicating if we are dealing with the Pardiso solver (temporary)
Number tcc_psi_
Psi factor in the tangential component condition.
InexactCq & InexCq()
Method to easily access Inexact calculated quantities.
virtual ~InexactPDSolver()
Destructor.
Index inexact_regularization_ls_count_trigger_
Threshold on line search evaluation count to trigger Hessian modification.
void ComputeResiduals(const SymMatrix &W, const Matrix &J_c, const Matrix &J_d, const Matrix &Pd_L, const Matrix &Pd_U, const Vector &v_L, const Vector &v_U, const Vector &slack_s_L, const Vector &slack_s_U, const Vector &sigma_s, const IteratesVector &rhs, const IteratesVector &res, IteratesVector &resid)
Internal function for computing the residual (resid) given the right hand side (rhs) and the solution...
bool modify_hessian_with_slacks_
flag indicating if the Hessian for the (s,s) part should be modified with the slacks instead of the i...
InexactPDSolver(AugSystemSolver &augSysSolver, PDPerturbationHandler &perturbHandler)
Constructor that takes in the Augmented System solver that is to be used inside.
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class.
Index last_info_ls_count_
Number tcc_theta_
theta factor in the tangential component condition
bool HessianRequiresChange()
Method for checking if the Hessian matrix has to be modified.
InexactPDSolver & operator=(const InexactPDSolver &)
Overloaded Assignment Operator.
virtual bool Solve(const IteratesVector &rhs, IteratesVector &sol)
Solve the primal dual system, given one right hand side.
InexactData & InexData()
Method to easily access Inexact data.
Number tcc_theta_mu_exponent_
mu exponent when multiplied to theta in the tangential component condition
IpoptAdditionalCq & AdditionalCq()
IpoptAdditionalData & AdditionalData()
Get access to additional data object.
Specialized CompoundVector class specifically for the algorithm iterates.
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...
Template class for Smart Pointers.
This is the base class for all derived symmetric matrix types.
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.