42 #ifndef EXAMPLE_NLP_FIRST_ORDER_INFO_H
43 #define EXAMPLE_NLP_FIRST_ORDER_INFO_H
48 namespace NLPInterfacePack {
82 const VectorSpace::space_ptr_t& vec_space
146 "ExampleNLPFirstOrder::initialize() has not been called yet." );
151 #endif // EXAMPLE_NLP_FIRST_ORDER_INFO_H
void initialize(bool test_setup)
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
ExampleNLPFirstOrder(const VectorSpace::space_ptr_t &vec_space, value_type xo, bool has_bounds, bool dep_bounded)
Constructor (see ExampleNLPDirect::ExampleNLPDirect()).
void assert_is_initialized() const
NLPFirstOrder::basis_sys_ptr_t basis_sys_
const FirstOrderInfo first_order_info() const
Return objective gradient and zero order information.
bool is_initialized() const
Struct for zero and first order quantities (pointers)
NLPFirstOrder::mat_fcty_ptr_t factory_Gc_
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.
NLP first order information interface class {abstract}.
NLP interface class {abstract}.
Thrown if any member functions are called before initialize() has been called.
NLP()
Initialize to no reference set to calculation quanities.
virtual MatrixOp & Gc()
Returns non-const *this->get_Gc().
AbstractLinAlgPack::value_type value_type
const basis_sys_ptr_t basis_sys() const
Returns an ExampleBasisSystem.
const NLPFirstOrder::mat_fcty_ptr_t factory_Gc() const