Go to the documentation of this file.
7 #ifndef __IPINEXACTNORMALTERMINATIONTESTER_HPP__
8 #define __IPINEXACTNORMALTERMINATIONTESTER_HPP__
32 const std::string& prefix
Number c_Avc_norm_cauchy_
Value of normal problem objective function achived by the Cauchy step.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
double Number
Type of all numbers.
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.
This class implements the termination tests for the primal-dual system.
virtual bool InitializeSolve()
Method for initializing for the next iterative solve.
int Index
Type of all indices of vectors, matrices etc.
virtual Index GetSolverIterations() const
Return the number of iterative solver iteration from the most recent solve.
Template class for Smart Pointers.
void Set_c_Avc_norm_cauchy(Number c_Avc_norm_cauchy)
Method for setting the normal problem objective function value at the Cauchy step.
InexactNormalTerminationTester()
Default Constructor.
virtual ~InexactNormalTerminationTester()
Destructor.
virtual ETerminationTest TestTermination(Index ndim, const Number *sol, const Number *resid, Index iter, Number norm2_rhs)
This method checks if the current solution of the iterative linear solver is good enough (by returnin...
Index inexact_normal_max_iter_
Maximal number of iterative solve iterations.
This base class is for the termination tests for the iterative linear solver in the inexact version o...
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Index last_iter_
Last iterative solver iteration counter.
ETerminationTest
Enum to report result of termination test.
InexactNormalTerminationTester & operator=(const InexactNormalTerminationTester &)
Overloaded Assignment Operator.
This class stores a list of user set options.
Number inexact_normal_tol_
Desired reduction of residual.
bool requires_scaling_
Is set to true if the linear system is scaled via slacks.
virtual void Clear()
This method can be called after the Solve is over and we can delete anything that has been allocated ...