42 #ifndef NLPIP_NLP_FIRST_ORDER_THYRA_MODEL_EVALUATOR_HPP
43 #define NLPIP_NLP_FIRST_ORDER_THYRA_MODEL_EVALUATOR_HPP
49 namespace NLPInterfacePack {
67 const Teuchos::RCP<Thyra::ModelEvaluator<value_type> > &model
80 const Teuchos::RCP<Thyra::ModelEvaluator<value_type> > &model
114 const Vector& x,
bool newx
137 #endif // NLPIP_NLP_FIRST_ORDER_THYRA_MODEL_EVALUATOR_HPP
Struct for gradient (objective), objective and constriants (pointers)
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
void evalModel(const Vector &x, bool newx, const ZeroOrderInfo *zero_order_info, const ObjGradInfo *obj_grad_info, const FirstOrderInfo *first_order_info) const
void initialize(const Teuchos::RCP< Thyra::ModelEvaluator< value_type > > &model, const int p_idx, const int g_idx)
.Initialize given a Thyra::ModelEvaluator and a description of how to interpret it.
const ZeroOrderInfo zero_order_info() const
Return pointer to set quantities.
const ObjGradInfo obj_grad_info() const
Return objective gradient and zero order information.
const FirstOrderInfo first_order_info() const
Return objective gradient and zero order information.
const basis_sys_ptr_t basis_sys() const
Returns an ExampleBasisSystem.
Struct for zero and first order quantities (pointers)
Implements the base NLP interface using a Thyra::ModelEvaluator object.
Implement the NLPFirstOrder interface using a Thyra::ModelEvaluator object.
Struct for objective and constriants (pointer).
NLP first order information interface class {abstract}.
NLPFirstOrderThyraModelEvaluator()
Initialize to uninitialized.
void set_Gc(MatrixOp *Gc)
Overridden to check the concrete type of Gc.
virtual MatrixOp & Gc()
Returns non-const *this->get_Gc().
void imp_calc_Gc(const Vector &x, bool newx, const FirstOrderInfo &first_order_info) const
const NLPFirstOrder::mat_fcty_ptr_t factory_Gc() const