|
ConstrainedOptPack: C++ Tools for Constrained (and Unconstrained) Optimization Version of the Day
|
00001 // @HEADER 00002 // *********************************************************************** 00003 // 00004 // Moocho: Multi-functional Object-Oriented arCHitecture for Optimization 00005 // Copyright (2003) Sandia Corporation 00006 // 00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00008 // license for use of this work by or on behalf of the U.S. Government. 00009 // 00010 // This library is free software; you can redistribute it and/or modify 00011 // it under the terms of the GNU Lesser General Public License as 00012 // published by the Free Software Foundation; either version 2.1 of the 00013 // License, or (at your option) any later version. 00014 // 00015 // This library is distributed in the hope that it will be useful, but 00016 // WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 // Lesser General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU Lesser General Public 00021 // License along with this library; if not, write to the Free Software 00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00023 // USA 00024 // Questions? Contact Roscoe A. Bartlett (rabartl@sandia.gov) 00025 // 00026 // *********************************************************************** 00027 // @HEADER 00028 00029 #ifndef DECOMPOSITION_SYSTEM_COORDINATE_H 00030 #define DECOMPOSITION_SYSTEM_COORDINATE_H 00031 00032 #include "ConstrainedOptPack_DecompositionSystemVarReductImp.hpp" 00033 #include "Teuchos_StandardCompositionMacros.hpp" 00034 00035 namespace ConstrainedOptPack { 00036 00057 class DecompositionSystemCoordinate : public DecompositionSystemVarReductImp { 00058 public: 00059 00062 00064 DecompositionSystemCoordinate( 00065 const VectorSpace::space_ptr_t &space_x = Teuchos::null 00066 ,const VectorSpace::space_ptr_t &space_c = Teuchos::null 00067 ,const basis_sys_ptr_t &basis_sys = Teuchos::null 00068 ,const basis_sys_tester_ptr_t &basis_sys_tester = Teuchos::null 00069 ,EExplicitImplicit D_imp = MAT_IMP_AUTO 00070 ,EExplicitImplicit Uz_imp = MAT_IMP_AUTO 00071 ); 00072 00074 00077 00079 const mat_fcty_ptr_t factory_Y() const; 00081 const mat_nonsing_fcty_ptr_t factory_R() const; 00083 const mat_fcty_ptr_t factory_Uy() const; 00084 00086 00087 protected: 00088 00091 00093 mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t uninitialize_matrices( 00094 std::ostream *out 00095 ,EOutputLevel olevel 00096 ,MatrixOp *Y 00097 ,MatrixOpNonsing *R 00098 ,MatrixOp *Uy 00099 ) const; 00101 void initialize_matrices( 00102 std::ostream *out 00103 ,EOutputLevel olevel 00104 ,const mat_nonsing_fcty_ptr_t::element_type::obj_ptr_t &C 00105 ,const mat_fcty_ptr_t::element_type::obj_ptr_t &D 00106 ,MatrixOp *Y 00107 ,MatrixOpNonsing *R 00108 ,MatrixOp *Uy 00109 ,EMatRelations mat_rel 00110 ) const; 00112 void print_update_matrices( 00113 std::ostream& out, const std::string& leading_str ) const; 00114 00116 00117 }; // end class DecompositionSystemCoordinate 00118 00119 } // end namespace ConstrainedOptPack 00120 00121 #endif // DECOMPOSITION_SYSTEM_COORDINATE_H
1.7.4