9 #ifndef __IPINEXACTPDTERMINATIONTESTER_HPP__
10 #define __IPINEXACTPDTERMINATIONTESTER_HPP__
35 const std::string& prefix);
SmartPtr< const Vector > curr_Wv_s_
This class implements the termination tests for the primal-dual system.
SmartPtr< const Vector > curr_scaling_slacks_
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptType.
SmartPtr< Vector > curr_nabla_phi_plus_ATy_s_
This base class is for the termination tests for the iterative linear solver in the inexact version o...
SmartPtr< const Vector > curr_Av_c_
virtual Index GetSolverIterations() const
Return the number of iterative solver iteration from the most recent solve.
Number tcc_theta_mu_exponent_
mu exponent when multiplied to theta in the tangential component condition
SmartPtr< const Matrix > curr_jac_d_
Number tcc_psi_
Psi factor in the tangential component condition.
virtual void Clear()
This method can be called after the Solve is over and we can delete anything that has been allocated ...
double Number
Type of all numbers.
Number tt_kappa2_
kappa_2 factor in termination test 2
Number tcc_zeta_
zeta factor in the tangential component condition
SmartPtr< const Vector > curr_Av_d_
SmartPtr< Vector > curr_nabla_phi_plus_ATy_x_
Template class for Smart Pointers.
SmartPtr< const Vector > curr_grad_barrier_obj_s_
This class stores a list of user set options.
InexactPDTerminationTester & operator=(const InexactPDTerminationTester &)
Overloaded Equals Operator.
virtual ~InexactPDTerminationTester()
Default destructor.
Number rho_
rho constant from penalty parameter update.
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...
int Index
Type of all indices of vectors, matrices etc.
InexactPDTerminationTester()
Default constructor.
Number tt_eps2_
eps_2 constant in termination test 2
SmartPtr< const Vector > curr_grad_barrier_obj_x_
bool requires_scaling_
Is set to true if the linear system is scaled via slacks.
Index inexact_desired_pd_residual_iter_
Number of iterations allowed for desired pd residual.
virtual bool InitializeSolve()
Method for initializing for the next iterative solve.
Index last_iter_
Last iterative solver iteration counter.
SmartPtr< const Vector > curr_Wv_x_
Number tt_kappa1_
kappa_1 factor in termination test 1
Number inexact_desired_pd_residual_
Desired reduction of residual.
SmartPtr< const Matrix > curr_jac_c_
Number tcc_theta_
theta factor in the tangential component condition
ETerminationTest
Enum to report result of termination test.
Number tt_eps3_
eps_3 constant in termination test 3
virtual ETerminationTest TestTermination(Index ndim, const Number *sol, const Number *resid, Index iter, Number norm2_rhs)
This method checks if the current soltion of the iterative linear solver is good enough (by returning...