44 #include "NLPInterfacePack_NLPDirect.hpp"
45 #include "AbstractLinAlgPack_MatrixOp.hpp"
46 #include "AbstractLinAlgPack_VectorSpace.hpp"
47 #include "Teuchos_Assert.hpp"
49 namespace NLPInterfacePack {
69 return Range1D(1,
m());
73 return Range1D(
m()+1,
n());
77 return Range1D(1,
m());
82 return Range1D::Invalid;
100 return Teuchos::null;
106 return factory_transDtD_;
void initialize(bool test_setup)
Initialize the NLP for its first use.
virtual Range1D con_decomp() const
Return the range of decomposed equality constraints.
virtual const mat_fcty_ptr_t factory_GcU() const
Return a matrix factory object for creating GcU.
virtual const mat_fcty_ptr_t factory_Uz() const
Return a matrix factory object for Uz = F + E * D.
void set_factories(const mat_sym_fcty_ptr_t &factory_transDtD, const mat_sym_nonsing_fcty_ptr_t &factory_S)
Initialize the factory objects for the special matrices for D'*D and S = I + D'*D.
virtual size_type r() const
Returns the number of decomposed equality constraints (r <= m).
virtual const mat_fcty_ptr_t factory_GcUD() const
Return a matrix factory object for a mutable matrix compatible with GcU(var_dep). ...
virtual const mat_sym_fcty_ptr_t factory_transDtD() const
Returns a matrix factory for the result of J = D'*D
virtual Range1D con_undecomp() const
Return the range of undecomposed equality constraints.
void initialize(bool test_setup)
Initialize the NLP for its first use.
virtual size_type n() const
Return the number of variables.
virtual Range1D var_dep() const
Return the range of dependent (i.e. basic) variables.
virtual Range1D var_indep() const
Return the range of independent (i.e. nonbasic) variables.
virtual const mat_sym_nonsing_fcty_ptr_t factory_S() const
Returns a matrix factory for the result of S = I + D'*D
virtual size_type m() const
Return the number of general equality constraints.