Dip  0.92.4
DecompModel.h
Go to the documentation of this file.
1 //===========================================================================//
2 // This file is part of the Decomp Solver Framework. //
3 // //
4 // Decomp is distributed under the Common Public License as part of the //
5 // COIN-OR repository (http://www.coin-or.org). //
6 // //
7 // Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8 // //
9 // Copyright (C) 2002-2007, Lehigh University, Matthew Galati, and Ted Ralphs//
10 // All Rights Reserved. //
11 //===========================================================================//
12 
13 
14 #ifndef DECOMP_MODEL_INCLUDED
15 #define DECOMP_MODEL_INCLUDED
16 
17 /*-----------------------------------------------------------------------*/
19 //class DecompVarList;
20 //class DecompCutList;
21 //class DecompVarPool;
22 //class DecompCutPool;
23 
24 #include "DecompTypes.h"
25 #include "DecompVarPool.h"
26 #include "DecompCutPool.h"
27 
28 /*-----------------------------------------------------------------------*/
29 class DecompModel {
30 
31 private:
35  DecompModel(const DecompModel&);
37 
38 public:
39  //TODO - change all data members to have m_
43  double* objCoeff; //original c (x-space)
44  //DecompConstraintSet modelCore; //[A'', b''] : THINK - naming
45  //DecompConstraintSet modelRelax; //[A', b' ]
46 
51  DecompVarList vars; //list of vars added to master
55 
56 public:
58  objCoeff(0),
59  //modelCore(),
60  //modelRelax(),
61  vars(),
62  cuts(),
63  varpool(),
64  cutpool()
65  {};
66  virtual ~DecompModel() {
68  }
69 
70 };
71 
72 #endif
std::list< DecompCut * > DecompCutList
Definition: Decomp.h:93
DecompCutPool cutpool
Definition: DecompModel.h:54
double * objCoeff
Model data objects (must be defined by users).
Definition: DecompModel.h:43
#define UTIL_DELARR(x)
Definition: UtilMacros.h:29
DecompVarList vars
Model data objects will be used during algos.
Definition: DecompModel.h:51
virtual ~DecompModel()
Definition: DecompModel.h:66
DecompModel & operator=(const DecompModel &rhs)
Definition: DecompModel.h:64
DecompCutList cuts
Definition: DecompModel.h:52
std::list< DecompVar * > DecompVarList
Definition: Decomp.h:91
DecompVarPool varpool
Definition: DecompModel.h:53