Dip-All  0.91.0
SmallIP_DecompApp.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, Lehigh University //
8 // //
9 // Copyright (C) 2002-2015, Lehigh University, Matthew Galati, and Ted Ralphs//
10 // All Rights Reserved. //
11 //===========================================================================//
12 
13 #ifndef SMALLIP_DECOMPAPP_INCLUDED
14 #define SMALLIP_DECOMPAPP_INCLUDED
15 
16 //===========================================================================//
17 #include "DecompApp.h"
18 
19 using namespace std;
20 
21 //===========================================================================//
30 //===========================================================================//
31 class SmallIP_DecompApp : public DecompApp {
32 private:
34  const string m_classTag;
35 
37  double * m_objective;
38 
42 
43 public:
46  /* Create models. */
47  void createModels();
48 
49 public:
50  /* @name Inherited (from virtual) methods. */
51  virtual int generateInitVars(DecompVarList & initVars);
52 
53 public:
55  DecompApp (utilParam),
56  m_classTag ("SMALL-APP"),
57  m_objective(NULL)
58  {
59  createModels();
60  }
61 
62  virtual ~SmallIP_DecompApp() {
63  UTIL_DELARR(m_objective);
64  };
65 };
66 
67 #endif
const string m_classTag
Class id tag (for log / debugging).
DecompConstraintSet m_modelPart2
virtual ~SmallIP_DecompApp()
#define UTIL_DELARR(x)
Definition: UtilMacros.h:29
SmallIP_DecompApp(UtilParameters &utilParam)
double * m_objective
The model objective coefficients (original space).
DecompConstraintSet m_modelPart1
The various model constraint systems used for different algos.
std::list< DecompVar * > DecompVarList
Definition: Decomp.h:53
The main application class.
Definition: DecompApp.h:50