Dip-All  0.91.0
MILP_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 MILP_DECOMPAPP_INCLUDED
14 #define MILP_DECOMPAPP_INCLUDED
15 
16 //===========================================================================//
17 #include "DecompApp.h"
18 #include "MILP_Param.h"
19 //===========================================================================//
20 #include "CoinMpsIO.hpp"
21 //===========================================================================//
22 
30 //===========================================================================//
31 class MILP_DecompApp : public DecompApp{
32 private:
34  const string m_classTag;
35 
38 
41 
43  double * m_objective;
44 
48 
49 private:
53  void initializeApp(UtilParameters & utilParam);
54 
56  void createModels();
57 
58 public:
61  DecompApp (utilParam),
62  m_classTag ("MILP-APP"),
63  m_objective(NULL)
64  {
65  initializeApp(utilParam); //can there be a default?
66  }
67 
68  virtual ~MILP_DecompApp() {
70  }
71 };
72 
73 #endif
const string m_classTag
Class id tag (for log / debugging).
void initializeApp(UtilParameters &utilParam)
Initialize application.
DecompConstraintSet m_modelRandRelax
#define UTIL_DELARR(x)
Definition: UtilMacros.h:29
virtual ~MILP_DecompApp()
MILP_DecompApp(UtilParameters &utilParam)
double * m_objective
The model objective coefficients (original space).
DecompConstraintSet m_modelRandCore
The model constraint systems used for different algos.
void createModels()
Create model part.
CoinMpsIO m_mpsIO
MPS object for reading MILP instances.
MILP_Param m_appParam
Application specific parameters.
MPS IO Interface.
Definition: CoinMpsIO.hpp:329
The main application class.
Definition: DecompApp.h:50