MILP_DecompApp.h

Go to the documentation of this file.
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, Lehigh University                                 //
00008 //                                                                           //
00009 // Copyright (C) 2002-2015, Lehigh University, Matthew Galati, and Ted Ralphs//
00010 // All Rights Reserved.                                                      //
00011 //===========================================================================//
00012 
00013 #ifndef MILP_DECOMPAPP_INCLUDED
00014 #define MILP_DECOMPAPP_INCLUDED
00015 
00016 //===========================================================================//
00017 #include "DecompApp.h"
00018 #include "MILP_Param.h"
00019 //===========================================================================//
00020 #include "CoinMpsIO.hpp"
00021 //===========================================================================//
00022 
00030 //===========================================================================//
00031 class MILP_DecompApp : public DecompApp{
00032 private:
00034    const string m_classTag;
00035    
00037    CoinMpsIO m_mpsIO;
00038    
00040    MILP_Param m_appParam;
00041 
00043    double * m_objective;
00044    
00046    DecompConstraintSet m_modelRandCore;
00047    DecompConstraintSet m_modelRandRelax;
00048       
00049 private:
00053    void initializeApp(UtilParameters & utilParam);
00054 
00056    void createModels();
00057    
00058 public:
00060    MILP_DecompApp(UtilParameters & utilParam) : 
00061       DecompApp  (utilParam),
00062       m_classTag ("MILP-APP"),
00063       m_objective(NULL)
00064    {
00065       initializeApp(utilParam); //can there be a default?
00066    }
00067    
00068    virtual ~MILP_DecompApp() {
00069       UTIL_DELARR(m_objective);
00070    }
00071 };
00072 
00073 #endif

Generated on 5 Apr 2015 for Dip-All by  doxygen 1.6.1