51 ,BasisSystem *basis_sys
56 namespace mmp = MemMngPack;
63 NLPFirstOrder::mat_fcty_ptr_t::element_type::obj_ptr_t
75 BasisSystem::mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t
77 BasisSystem::mat_fcty_ptr_t::element_type::obj_ptr_t
78 D = ( m && n > m && basis_sys->factory_C().get() ? basis_sys->factory_C()->create() :
Teuchos::null);
79 BasisSystem::mat_fcty_ptr_t::element_type::obj_ptr_t
80 GcUP = ( m && n > m && basis_sys->factory_GcUP().get() ? basis_sys->factory_GcUP()->create() :
Teuchos::null);
83 basis_sys->update_basis(
94 BasisSystemTesterSetOptions
95 opt_setter(&basis_sys_tester);
96 opt_setter.set_options(*options);
98 const bool result = basis_sys_tester.test_basis_system(
Extracts options from a text stream and then allows convenient access to them.
virtual void calc_Gc(const Vector &x, bool newx=true) const
Update the matrix for Gc at the point x and put it in the stored reference.
RTOp_index_type index_type
bool test_basis_system(NLPFirstOrder *nlp, BasisSystem *basis_sys, OptionsFromStreamPack::OptionsFromStream *options, std::ostream *out)
Test a BasisSystem object given matrices from a compatible NLPFirstOrder object.
Teuchos::AbstractFactory< AbstractLinAlgPack::MatrixOp > * factory_Gc
virtual size_type n() const
Return the number of variables.
NLP first order information interface class {abstract}.
virtual obj_ptr_t create() const =0
virtual const Vector & xinit() const =0
Returns a reference to the vector of the initial guess for the solution x.
virtual size_type m() const
Return the number of general equality constraints.
virtual void set_Gc(MatrixOp *Gc)
Set a pointer to a matrix object to be updated when this->calc_Gc() is called.