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