| 1 |
#===========================================================================# |
| 2 |
# # |
| 3 |
# This file is part of the SYMPHONY MILP Solver Framework. # |
| 4 |
# # |
| 5 |
# SYMPHONY was jointly developed by Ted Ralphs ([email protected]) and # |
| 6 |
# Laci Ladanyi ([email protected]). # |
| 7 |
# # |
| 8 |
# The author of this file is Menal Guzelsoy # |
| 9 |
# # |
| 10 |
# (c) Copyright 2000-2015 Lehigh University. All Rights Reserved. # |
| 11 |
# # |
| 12 |
# This software is licensed under the Eclipse Public License. Please see # |
| 13 |
# accompanying file for terms. # |
| 14 |
# # |
| 15 |
#===========================================================================# |
| 16 |
|
| 17 |
# $Id: Makefile.in 726 2006-04-17 04:16:00Z andreasw $ |
| 18 |
|
| 19 |
MASTERNAME = vrp |
| 20 |
|
| 21 |
SYMAPPLNAME = VRP |
| 22 |
|
| 23 |
# CHANGEME: Additional sources |
| 24 |
# - Names of your additional C/C++ source files without any extensions |
| 25 |
ADDFILES = |
| 26 |
|
| 27 |
# CHANGEME: Put any additional libraries here. |
| 28 |
LIBS = |
| 29 |
|
| 30 |
# CHANGEME: Additional flags for compilation (e.g., include flags) |
| 31 |
CFLAGS = |
| 32 |
|
| 33 |
# CHANGEME: Additional options specific to VRP |
| 34 |
|
| 35 |
############################################################################## |
| 36 |
# This section is for CONCORDE |
| 37 |
############################################################################## |
| 38 |
|
| 39 |
############################################################################## |
| 40 |
# This solver can use separation routines from CONCORDE, the |
| 41 |
# TSP solver of Applegate, Bixby, Chvatal, and Cook. To enable this option: |
| 42 |
# 1. set the variables DO_CONCORDE_CUTS to TRUE. |
| 43 |
# 2. Download the source code for CONCORDE and the qsopt LP solver from |
| 44 |
# http://www.tsp.gatech.edu. |
| 45 |
# 3. Put qsopt.a and qsopt.h in ~/lib (make the directory if it doesn't exist). |
| 46 |
# 4. Put a copy of qsopt.h in ~/include (make this directory if it doesn't |
| 47 |
# exist). |
| 48 |
#.5. Rename qsopt.a libqsopt.a (so it is detected as a library). |
| 49 |
# 6. Build concorde with qsopt as the LP solver (configure --with-qsopt=~/lib). |
| 50 |
# 7. Move the resulting library concorde.a to ~/lib and rename it |
| 51 |
# libconcorde.a (or create a soft link). |
| 52 |
# 8. Put a copy of concorde.h in ~/include (or create a soft link). |
| 53 |
# 9. Make the CNRP application as usual. |
| 54 |
############################################################################## |
| 55 |
|
| 56 |
DO_CONCORDE_CUTS = FALSE |
| 57 |
|
| 58 |
ifeq ($(DO_CONCORDE_CUTS),TRUE) |
| 59 |
ADDLIBS += -L${HOME}/lib -lconcorde -lqsopt |
| 60 |
ADDINCFLAGS += -I${HOME}/include |
| 61 |
endif |
| 62 |
############################################################################## |
| 63 |
# Usually, you don't have to change anything below this point. |
| 64 |
############################################################################## |
| 65 |
|
| 66 |
############################################################################## |
| 67 |
# This section is for listing source file names |
| 68 |
############################################################################## |
| 69 |
|
| 70 |
USER_COMMON_FILES = vrp_macros compute_cost network vrp_dg_functions |
| 71 |
|
| 72 |
USER_MASTER_FILES = vrp_main vrp_master vrp_io vrp_master_functions \ |
| 73 |
small_graph |
| 74 |
|
| 75 |
USER_TM_FILES = |
| 76 |
|
| 77 |
USER_LP_FILES = vrp_lp_branch vrp_lp |
| 78 |
|
| 79 |
USER_CG_FILES = vrp_cg biconnected shrink |
| 80 |
ifeq ($(DO_CONCORDE_CUTS),TRUE) |
| 81 |
USER_CG_FILES += tsp # $(TSP_FILES) |
| 82 |
endif |
| 83 |
|
| 84 |
USER_CP_FILES = vrp_cp |
| 85 |
|
| 86 |
USER_DG_FILES = vrp_dg vrp_dg_network |
| 87 |
|
| 88 |
ifeq ($(DO_CONCORDE_CUTS),TRUE) |
| 89 |
ADDINCFLAGS += -DDO_TSP_CUTS |
| 90 |
endif |
| 91 |
|
| 92 |
include ../Makefile.Applications |