00001 //===========================================================================// 00002 // This file is part of the Decomp Solver Framework. // 00003 // // 00004 // Decomp is distributed under the Common Public License as part of the // 00005 // COIN-OR repository (http://www.coin-or.org). // 00006 // // 00007 // Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) // 00008 // // 00009 // Copyright (C) 2002-2007, Lehigh University, Matthew Galati, and Ted Ralphs// 00010 // All Rights Reserved. // 00011 //===========================================================================// 00012 00013 00014 #ifndef DECOMP_MODEL_INCLUDED 00015 #define DECOMP_MODEL_INCLUDED 00016 00017 /*-----------------------------------------------------------------------*/ 00018 class DecompConstraintSet; 00019 //class DecompVarList; 00020 //class DecompCutList; 00021 //class DecompVarPool; 00022 //class DecompCutPool; 00023 00024 #include "DecompTypes.h" 00025 #include "DecompVarPool.h" 00026 #include "DecompCutPool.h" 00027 00028 /*-----------------------------------------------------------------------*/ 00029 class DecompModel { 00030 00031 private: 00035 DecompModel(const DecompModel&); 00036 DecompModel& operator=(const DecompModel&); 00037 00038 public: 00039 //TODO - change all data members to have m_ 00043 double* objCoeff; //original c (x-space) 00044 //DecompConstraintSet modelCore; //[A'', b''] : THINK - naming 00045 //DecompConstraintSet modelRelax; //[A', b' ] 00046 00051 DecompVarList vars; //list of vars added to master 00052 DecompCutList cuts; 00053 DecompVarPool varpool; 00054 DecompCutPool cutpool; 00055 00056 public: 00057 DecompModel() : 00058 objCoeff(0), 00059 //modelCore(), 00060 //modelRelax(), 00061 vars(), 00062 cuts(), 00063 varpool(), 00064 cutpool() 00065 {}; 00066 virtual ~DecompModel() { 00067 UTIL_DELARR(objCoeff); 00068 } 00069 00070 }; 00071 00072 #endif