42 #ifndef EXAMPLE_NLP_FIRST_ORDER_INFO_H
43 #define EXAMPLE_NLP_FIRST_ORDER_INFO_H
45 #include "NLPInterfacePack_ExampleNLPObjGrad.hpp"
46 #include "NLPInterfacePack_NLPFirstOrder.hpp"
48 namespace NLPInterfacePack {
82 const VectorSpace::space_ptr_t& vec_space
133 void assert_is_initialized()
const;
141 void ExampleNLPFirstOrder::assert_is_initialized()
const
146 "ExampleNLPFirstOrder::initialize() has not been called yet." );
151 #endif // EXAMPLE_NLP_FIRST_ORDER_INFO_H
void initialize(bool test_setup)
ExampleNLPFirstOrder(const VectorSpace::space_ptr_t &vec_space, value_type xo, bool has_bounds, bool dep_bounded)
Constructor (see ExampleNLPDirect::ExampleNLPDirect()).
const FirstOrderInfo first_order_info() const
bool is_initialized() const
void imp_calc_Gc(const Vector &x, bool newx, const FirstOrderInfo &first_order_info) const
Simple example NLP subclass to illustrate how to implement the NLPObjGrad interface for a specialized...
Simple example NLP subclass to illustrate how to implement the NLPFirstOrder interface for a speciali...
void set_Gc(MatrixOp *Gc)
Overridden to check the concrete type of Gc.
const basis_sys_ptr_t basis_sys() const
Returns an ExampleBasisSystem.
const NLPFirstOrder::mat_fcty_ptr_t factory_Gc() const