46 const char name_HL[] =
"HL";
49 namespace NLPInterfacePack {
AbstractLinAlgPack::size_type size_type
NLPSecondOrder()
Initialize to no reference set to calculation quanities.
void initialize(bool test_setup)
Initialize the NLP for its first use.
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
virtual MatrixSymOp & HL()
Returns non-const *this->get_HL().
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
void initialize(bool test_setup)
Initialize the NLP for its first use.
ContainedClass * get_role_name(ContainedClass *role_name_, bool owns_role_name_, const char name[])
void unset_quantities()
Call to unset all storage quantities (both in this class and all subclasses).
virtual void set_HL(MatrixSymOp *HL)
Set a pointer to a matrix object to be updated when this->calc_HL() is called.
virtual size_type num_HL_evals() const
Number of Hessian evaluations.
virtual MatrixSymOp * get_HL()
Return pointer passed to this->set_HL().
void assert_role_name_set(const ContainedClass *role_name_, const char func_name[], const char name[])
Assert that the reference is set.
virtual void imp_calc_HL(const Vector &x, const Vector *lambda, bool newpoint, const SecondOrderInfo &second_order_info) const =0
Overridden to compute Gc(x) and perhaps Gf(x), f(x) and c(x).
ContainedClass & role_name(ContainedClass *role_name_, bool owns_role_name_, const char name[])
void unset_quantities()
Call to unset all storage quantities (both in this class and all subclasses).
virtual void calc_HL(const Vector &x, const Vector *lambda, bool newpoint=true) const
Update the matrix for HL at the point x, lambda, lambdaI and put it in the stored reference...
virtual size_type m() const
Return the number of general equality constraints.
const SecondOrderInfo second_order_info() const
Return objective gradient and zero order information.