00001 // Last edit: 12/26/05 00002 // 00003 // Name: OS_tm.cpp 00004 // Author: Francois Margot 00005 // Tepper School of Business 00006 // Carnegie Mellon University, Pittsburgh, PA 15213 00007 // email: fmargot@andrew.cmu.edu 00008 // Date: 12/28/03 00009 //----------------------------------------------------------------------------- 00010 // Copyright (C) 2003, Francois Margot, International Business Machines 00011 // Corporation and others. All Rights Reserved. 00012 00013 #include "OS_init.hpp" 00014 #include "OS_lp.hpp" 00015 #include "OS_tm.hpp" 00016 #include "OS_packer.hpp" 00017 00018 using namespace std; 00019 00020 /****************************************************************************/ 00021 BCP_lp_user *OS_init::lp_init(BCP_lp_prob& p) { 00022 return new OS_lp; 00023 } 00024 00025 /****************************************************************************/ 00026 BCP_tm_user* OS_init::tm_init(BCP_tm_prob& p, 00027 const int argnum, const char * const * arglist) 00028 { 00029 00030 00031 00032 cout << "Compilation flags: "; 00033 00034 #ifdef HEUR_SOL 00035 cout << "HEUR_SOL "; 00036 #endif 00037 00038 #ifdef CUSTOM_BRANCH 00039 cout << "CUSTOM_BRANCH "; 00040 #endif 00041 00042 #ifdef USER_DATA 00043 cout << "USER_DATA "; 00044 #endif 00045 00046 cout << endl << endl; 00047 00048 00049 OS_tm* tm = new OS_tm; 00050 00051 tm->readInput(NULL); 00052 00053 return tm; 00054 } 00055 00056 BCP_user_pack * OS_init::packer_init(BCP_user_class* p) { 00057 return new OS_packer; 00058 }