42 #ifndef EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
43 #define EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
45 #include "NLPInterfacePack_ExampleNLPObjGrad.hpp"
46 #include "NLPInterfacePack_NLPDirect.hpp"
47 #include "AbstractLinAlgPack_VectorMutable.hpp"
48 #include "AbstractLinAlgPack_VectorSpace.hpp"
49 #include "AbstractLinAlgPack_VectorSpaceBlocked.hpp"
51 namespace NLPInterfacePack {
123 const VectorSpace::space_ptr_t& vec_space
184 void assert_is_initialized()
const;
192 void ExampleNLPDirect::assert_is_initialized()
const
197 "ExampleNLPDirect::initialize() has not been called yet." );
202 #endif // EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
void initialize(bool test_setup)
void calc_semi_newton_step(const Vector &x, VectorMutable *c, bool recalc_c, VectorMutable *py) const
const mat_fcty_ptr_t factory_D() const
ExampleNLPDirect(const VectorSpace::space_ptr_t &vec_space, value_type xo, bool has_bounds, bool dep_bounded)
Constructor.
Simple example NLP subclass to illustrate how to implement the NLPObjGrad interface for a specialized...
bool is_initialized() const
Simple example NLP subclass to illustrate how to implement the NLPDirect interface for a specialized ...
virtual VectorMutable & Gf()
void calc_point(const Vector &x, value_type *f, VectorMutable *c, bool recalc_c, VectorMutable *Gf, VectorMutable *py, VectorMutable *rGf, MatrixOp *GcU, MatrixOp *D, MatrixOp *Uz) const
virtual VectorMutable & c()
Range1D var_indep() const