42 #ifndef NLP_FIRST_DERIVATIVES_TESTER_H
43 #define NLP_FIRST_DERIVATIVES_TESTER_H
52 namespace NLPInterfacePack {
197 ,
bool print_all_warnings
211 ,
bool print_all_warnings
223 ,
bool print_all_warnings
230 #endif // NLP_FIRST_DERIVATIVES_TESTER_H
AbstractLinAlgPack::size_type size_type
bool fd_directional_check(NLP *nlp, const Vector &xo, const Vector *xl, const Vector *xu, const MatrixOp *Gc, const Vector *Gf, bool print_all_warnings, std::ostream *out) const
STANDARD_MEMBER_COMPOSITION_MEMBERS(ETestingMethod, fd_testing_method)
bool fd_check_all(NLP *nlp, const Vector &xo, const Vector *xl, const Vector *xu, const MatrixOp *Gc, const Vector *Gf, bool print_all_warnings, std::ostream *out) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Strategy interface for computing the product of the derivatives of the functions of an NLP along give...
bool finite_diff_check(NLP *nlp, const Vector &xo, const Vector *xl, const Vector *xu, const MatrixOp *Gc, const Vector *Gf, bool print_all_warnings, std::ostream *out) const
This function takes an NLP object and its computed derivatives and function values and validates the ...
NLP interface class {abstract}.
STANDARD_COMPOSITION_MEMBERS(CalcFiniteDiffProd, calc_fd_prod)
NLPFirstDerivTester(const calc_fd_prod_ptr_t &calc_fd_prod=Teuchos::rcp(new CalcFiniteDiffProd()), ETestingMethod fd_testing_method=FD_DIRECTIONAL, size_type num_fd_directions=1, value_type warning_tol=1e-8, value_type error_tol=1e-3)
Constructor.
AbstractLinAlgPack::value_type value_type
Concrete class that tests the derivatives using finite differences.