42 #ifndef EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
43 #define EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
51 namespace NLPInterfacePack {
123 const VectorSpace::space_ptr_t& vec_space
197 "ExampleNLPDirect::initialize() has not been called yet." );
202 #endif // EXAMPLE_NLP_FIRST_ORDER_DIRECT_H
virtual value_type & f()
Returns non-const *this->get_f().
void initialize(bool test_setup)
void assert_is_initialized() const
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
void calc_semi_newton_step(const Vector &x, VectorMutable *c, bool recalc_c, VectorMutable *py) const
const mat_fcty_ptr_t factory_D() const
Interface providing only direct first order sensitivity information.
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
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.
AbstractLinAlgPack::value_type value_type
Abstract interface for mutable coordinate vectors {abstract}.
Simple example NLP subclass to illustrate how to implement the NLPDirect interface for a specialized ...
virtual VectorMutable & Gf()
Returns non-const *this->get_Gf().
RangePack::Range1D Range1D
mat_fcty_ptr_t factory_D_
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()
Returns non-const *this->get_c().
Range1D var_indep() const