42 #ifndef NLP_FIRST_ORDER_DIRECT_TESTER_H
43 #define NLP_FIRST_ORDER_DIRECT_TESTER_H
52 namespace NLPInterfacePack {
205 ,
bool dump_all =
false
270 ,
bool print_all_warnings
278 #endif // NLP_FIRST_ORDER_DIRECT_TESTER_H
AbstractLinAlgPack::size_type size_type
NLPDirectTester(const calc_fd_prod_ptr_t &calc_fd_prod=Teuchos::null, ETestingMethod Gf_testing_method=FD_DIRECTIONAL, ETestingMethod Gc_testing_method=FD_DIRECTIONAL, value_type Gf_warning_tol=1e-6, value_type Gf_error_tol=1e-1, value_type Gc_warning_tol=1e-6, value_type Gc_error_tol=1e-1, size_type num_fd_directions=1, bool dump_all=false)
Constructor.
Interface providing only direct first order sensitivity information.
bool finite_diff_check(NLPDirect *nlp, const Vector &xo, const Vector *xl, const Vector *xu, const Vector *c, const Vector *Gf, const Vector *py, const Vector *rGf, const MatrixOp *GcU, const MatrixOp *D, const MatrixOp *Uz, bool print_all_warnings, std::ostream *out) const
This function takes an NLP object and its computed derivatives and function values and validates the ...
Strategy interface for computing the product of the derivatives of the functions of an NLP along give...
Concrete class that tests the computed values of the NLPDirect interface using finite differences...
AbstractLinAlgPack::value_type value_type
STANDARD_COMPOSITION_MEMBERS(CalcFiniteDiffProd, calc_fd_prod)
STANDARD_MEMBER_COMPOSITION_MEMBERS(ETestingMethod, Gf_testing_method)
Members for option Gf_testing_method()