Dip  0.92.4
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 // Authors: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8 // Ted Ralphs, Lehigh University (ted@lehigh.edu) //
9 // Jiadong Wang, Lehigh University (jiw408@lehigh.edu) //
10 // //
11 // Copyright (C) 2002-2019, Lehigh University, Matthew Galati, and Ted Ralphs//
12 // All Rights Reserved. //
13 //===========================================================================//
14 
15 #ifndef MILP_DECOMPAPP_INCLUDED
16 #define MILP_DECOMPAPP_INCLUDED
17 
18 //===========================================================================//
19 #include "DecompApp.h"
20 #include "MILP_Param.h"
21 //===========================================================================//
22 #include "CoinMpsIO.hpp"
23 //===========================================================================//
24 
32 //===========================================================================//
33 class MILP_DecompApp : public DecompApp{
34 private:
36  const string m_classTag;
37 
40 
43 
45  double * m_objective;
46 
50 
51 private:
55  void initializeApp(UtilParameters & utilParam);
56 
58  void createModels();
59 
60 public:
63  DecompApp (utilParam),
64  m_classTag ("MILP-APP"),
65  m_objective(NULL)
66  {
67  initializeApp(utilParam); //can there be a default?
68  }
69 
70  virtual ~MILP_DecompApp() {
72  }
73 };
74 
75 #endif
const string m_classTag
Class id tag (for log / debugging).
DecompConstraintSet m_modelRandRelax
#define UTIL_DELARR(x)
Definition: UtilMacros.h:29
virtual ~MILP_DecompApp()
virtual void initializeApp()
Initialize applications.
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:401
The main application class.
Definition: DecompApp.h:48