Debian Codegraph @

SYMPHONY/config

raw
1 ##############################################################################
2 ##############################################################################
3 # #
4 # This file is part of the SYMPHONY MILP Solver Framework. #
5 # #
6 # SYMPHONY was jointly developed by Ted Ralphs ([email protected]) and #
7 # Laci Ladanyi ([email protected]). #
8 # #
9 # (c) Copyright 2000-2005 Ted Ralphs. All Rights Reserved. #
10 # #
11 # This software is licensed under the Common Public License. Please see #
12 # accompanying file for terms. #
13 # #
14 ##############################################################################
15 ##############################################################################
16
17 ##############################################################################
18 ##############################################################################
19 # The architecture should be detected and set automatically if you are working
20 # on one of the following:
21 #
22 # LINUX, CYGWIN, RS6K, SUN4SOL2, SUNMP, X86SOL2, ALPHA
23 #
24 # Note that these architecture names are the ones used to define the
25 # various architectures recognized by the Parallel Virtual Machine (PVM)
26 # library. If your arcitecture is not listed, simply set it below and then
27 # search for the places in the Makefile where there are architecture-specific
28 # variables set and make sure to set them properly for your specific
29 # architecture. For each architecture, there will be three subdirectories
30 # created called $(SYMBUILDDIR)/bin/$(ARCH), $(SYMBUILDDIR)/dep/$(ARCH) and
31 # ${SYMBUILDDIR)/objects/$(ARCH) where the corresponding objects, binaries,
32 # and dependencies for each architecture type will reside.
33 ##############################################################################
34 ##############################################################################
35
36 #ARCH = LINUX
37
38 ##############################################################################
39 # If you have PVM installed, this will set the variable ARCH automatically.
40 ##############################################################################
41
42 #ARCH=${PVM_ARCH}
43
44 ##############################################################################
45 # If you want to build SYMPHONY in a directory outside the source tree,
46 # uncomment this and fill in the directory here. Setting this variable will
47 # cause all object, library, and binary files to be built and installed in this
48 # root directory. This is helpful if you don't have write access to the
49 # directory where SYMPHONY is installed.
50 ##############################################################################
51
52 #SYMBUILDDIR = .
53
54 ##############################################################################
55 # System command definitions
56 ##############################################################################
57
58 ##############################################################################
59 # Note: If you are getting errors using make, try changing MAKE to "gmake"
60 # and also using gmake on the command line.
61 ##############################################################################
62
63 MAKE = make
64
65 AWK = awk
66
67 AR = ar -r
68
69 RANLIB = ranlib
70
71 ##############################################################################
72 # COINROOT is the path to the root directory of the COIN libraries. Many of
73 # the new features of SYMPHONY require the COIN libraries to be installed.
74 # BY default, SYMPHONY should be located in the COINROOT directory.
75 ##############################################################################
76
77 COINROOT = $(HOME)/COIN-SYMPHONY
78
79 ##############################################################################
80 # LIBTYPE is the variable to indicate what type of SYMPHONY library
81 # (SHARED or STATIC) is to be created. Also note that, the COIN libraries
82 # will be having the same type if they are to be installed through SYMPHONY,
83 # i.e., by typing "make coin".
84 ##############################################################################
85
86 LIBTYPE = SHARED
87
88 ##############################################################################
89 ##############################################################################
90 # LP solver dependent definitions
91 ##############################################################################
92 ##############################################################################
93
94 ##############################################################################
95 # OSL definitions
96 ##############################################################################
97
98 #Uncomment the line below if you want to use the native OSL interface.
99 #Note that OSL can also be used through the OSI (see below).
100 #LP_SOLVER = OSL
101
102 #Set the paths and the name of the library
103 ifeq ($(LP_SOLVER),OSL)
104 LPSINCDIR = /usr/local/include/
105 LPLIBPATHS = /home/tkr/src/osllib/lib
106 LPLIB = -losl
107 endif
108
109 ##############################################################################
110 # CPLEX definitions
111 ##############################################################################
112
113 #Uncomment the line below if you want to use the native CPLEX interface.
114 #Note that CPLEX can also be used through the OSI (see below).
115 #LP_SOLVER = CPLEX
116
117 ifeq ($(LP_SOLVER),CPLEX)
118 LPSINCDIR = /usr/local/include/
119 LPLIBPATHS = /usr/local/lib/
120 LPLIB = -lcplex
121 endif
122
123 ##############################################################################
124 # OSI definitions
125 ##############################################################################
126
127 #Uncomment the line below if you want to use a solver with an OSI interface.
128 LP_SOLVER = OSI
129
130 #The following variable defines what Lp solver to use
131 OSI_INTERFACE = CLP
132
133 #Set the paths and the name of the library
134 ifeq ($(LP_SOLVER),OSI)
135 LPINCDIR = $(COINROOT)/include
136 LPLIBPATHS = $(COINROOT)/lib
137 LPLIB = -lOsi -lCoinUtils
138 ifeq ($(OSI_INTERFACE),CPLEX)
139 LPSINCDIR = /usr/local/include
140 LPLIBPATHS += /usr/local/lib/
141 LPLIB += -lOsiCpx -lcplex
142 endif
143 ifeq ($(OSI_INTERFACE),OSL)
144 LPSINCDIR += $(HOME)/OSL/osllib/include
145 LPLIBPATHS += $(HOME)/OSL/osllib/lib
146 LPLIB += -lOsiOsl -losl
147 endif
148 ifeq ($(OSI_INTERFACE),CLP)
149 LPSINCDIR +=
150 LPLIBPATHS +=
151 LPLIB += -lOsiClp -lClp
152 endif
153 ifeq ($(OSI_INTERFACE),XPRESS)
154 LPSINCDIR += /usr/local/xpress/include
155 LPLIBPATHS += /usr/local/xpress/lib
156 LPLIB += -lOsiXpr -lxprs
157 endif
158 ifeq ($(OSI_INTERFACE),SOPLEX)
159 LPSINCDIR += ${HOME}/include
160 LPLIBPATHS += ${HOME}/lib
161 LPLIB += -lOsiSpx -lsoplex.linux.x86.gnu.opt
162 endif
163 ifeq ($(OSI_INTERFACE),VOL)
164 LPSINCDIR +=
165 LPLIBPATHS +=
166 LPLIB += -lOsiVol
167 endif
168 ifeq ($(OSI_INTERFACE),DYLP)
169 LPSINCDIR += ${HOME}/include
170 LPLIBPATHS += ${HOME}/lib
171 LPLIB += -lOsiDylp -lOsiDylpSolver -ldylpstd
172 endif
173 ifeq ($(OSI_INTERFACE),GLPK)
174 LPSINCDIR += ${HOME}/src/glpk-4.7/include
175 LPLIBPATHS += ${HOME}/src/glpk-4.7/src
176 LPLIB += -lOsiGlpk -lglpk
177 endif
178 endif
179
180 ##############################################################################
181 # Interactive optimizer definitions
182 ##############################################################################
183
184 ##############################################################################
185 # If you want to use the GNU readline library, then simply set the following
186 # flag. It will allow the interactive shell to be able to behave exactly like
187 # the Linux terminal command line, i.e., it will keep the history of the used
188 # commands, will complete the input word to possible commands, etc. Make sure
189 # that you have the needed package (readline.h and history.h include files
190 # and their libraries) on the system files path.
191 ##############################################################################
192
193 # This flag is automatically set to FALSE for the archs CYGWIN and Darwin...
194
195 HAS_READLINE = TRUE
196
197 ##############################################################################
198 # GLPMPL definitions
199 ##############################################################################
200
201 ##############################################################################
202 # SYMPHONY includes the GMPL parser from GLPK by default. If you don't want
203 # to compile those files, simply set the following flag off.
204 ##############################################################################
205
206 USE_GLPMPL = TRUE
207
208 ##############################################################################
209 ##############################################################################
210 # Generate generic cutting planes. If you are using the OSI interface, you
211 # can now add generic cutting planes from the CGL by setting the flag below.
212 # Which cutting planes are added can be controlled by SYMPHONY parameters (see
213 # the user's manual
214 ##############################################################################
215 ##############################################################################
216
217 USE_CGL_CUTS = TRUE
218
219 ##############################################################################
220 # If you wish to compile and use SYMPHONY or one of the application through
221 # the SYMPHONY OSI interface, set USE_OSI_INTERFACE to TRUE below. This will
222 # only have the main function to call the OSI SYMPHONY interface. See the
223 # corresponding main function for the implementation. Note that
224 # you must have COIN and OSI SYMPHONY interface installed to use this
225 # capability. See above to set the path to the COIN root directory.
226 ##############################################################################
227
228 USE_OSI_INTERFACE = FALSE
229
230 ##############################################################################
231 ##############################################################################
232 # COMM Protocol definitions
233 ##############################################################################
234 ##############################################################################
235
236 ##############################################################################
237 # If you want something other than PVM, add it here.
238 ##############################################################################
239
240 ##############################################################################
241 # Setting COMM_PROTOCOL to NONE will allow compilation without linking the
242 # PVM library, but only works if a single executable is produced (either
243 # sequential or shared-memory). Change the COMM_PROTOCOL if you want to
244 # compile a distributed version of the code.
245 ##############################################################################
246
247 COMM_PROTOCOL = NONE
248 #COMM_PROTOCOL = PVM
249
250 ##############################################################################
251 ##############################################################################
252 # Set the compiler -- If an OpenMP compliant copiler is used, then a shared
253 # memory version of the code will result as long as at least COMPILE_IN_LP is
254 # set to TRUE (see comments above). Note that if you do not plan to install
255 # the COIN libraries, you can change the the compiler to be gcc for faster
256 # compilation. Also note that, this compiler will be used to make COIN
257 # libraries if they are to be installed through SYMPHONY, i.e., by typing
258 # "make coin".
259 ##############################################################################
260 ##############################################################################
261
262 CC = g++
263
264 ##############################################################################
265 # Set the optimization level
266 # NOTE: if it is set to "-g" then everything is compiled debugging enabled.
267 # if it is set to "-O" then it'll be reset to the highest possible opt
268 # otherwise it'll left alone
269 ##############################################################################
270
271 OPT = -O
272
273 ##############################################################################
274 # Set the optimization level for the COIN libraries.
275 ##############################################################################
276
277 COIN_OPT = -O
278
279 ##############################################################################
280 ##############################################################################
281 # These options are for configuring the modules and have the following
282 # meanings:
283 #
284 # SYM_COMPILE_IN_CG: If set to true, then the CG function will be called
285 # directly from each LP solver instead of running as a separate
286 # executable. Note that the parameter "use_cg" should be set to FALSE
287 # (the default) if this option is set. The executable containing the LP
288 # solver will have the suffix _cg added to it to denote the inclusion of
289 # the cut generator function.
290 # SYM_COMPILE_IN_CP: As above, if this flag is set, then the cut pool resides
291 # in the LP solver and the pool is scanned directly from there. Note that
292 # if this option is chosen when multiple LP processes are running, then
293 # they will all have their own cut pool. The executable containing the
294 # LP solver will have the suffix _cp added to it to denote the inclusion
295 # of the cut generator function.
296 # SYM_COMPILE_IN_LP: If this flag is set, the LP solver will be called
297 # directly from the tree manager. Note that this necessarily implies
298 # that there only be one LP solver. This DOES NOT automatically imply
299 # that the cut generator and/or cut pool will be compiled in. The tree
300 # manager executable name will have the appropriate suffix added to it
301 # to denote the inclusion of the LP solver function.
302 # SYM_COMPILE_IN_TM: If this flag is set, the tree manager function will be
303 # compiled directly from the master module instead of running as a
304 # separate executable. This DOES NOT imply that the LP, cut generator
305 # or cut pool functions will be compiled in. The master executable
306 # name will contain a suffix indicating what functions are compiled in.
307 #
308 # Note that if an OpenMP compliant compiler is used to make a shared-memory
309 # version of the code, then it is recommended to set all these
310 # variables to TRUE. However, it should work with only COMPILE_IN_LP
311 # set to TRUE.
312 ##############################################################################
313 ##############################################################################
314
315 # !!!These variables will be overriden if user's or one of the application's
316 # Makefile is called!!!
317
318 ##############################################################################
319 ##############################################################################
320 # Note: The only parallel configuration currently supported is
321 # to set SYM_COMPILE_IN_LP = FALSE
322 ##############################################################################
323 ##############################################################################
324
325 SYM_COMPILE_IN_CG = TRUE
326 SYM_COMPILE_IN_CP = TRUE
327 SYM_COMPILE_IN_LP = TRUE
328 SYM_COMPILE_IN_TM = TRUE
329
330 ##############################################################################
331 ##############################################################################
332 # A bunch of other compile-time options
333 ##############################################################################
334 ##############################################################################
335
336 ##############################################################################
337 # Compile in the sensitivity analysis features
338 ##############################################################################
339
340 SENSITIVITY_ANALYSIS = FALSE
341
342 ##############################################################################
343 # Option to only process the root node (for testing root lower bounds)
344 ##############################################################################
345
346 ROOT_NODE_ONLY = FALSE
347
348 ##############################################################################
349 # ccmalloc related flags
350 ##############################################################################
351
352 CCMALLOC = ccmalloc
353
354 ######################################################################
355 # Whether to compile in the fractional branching option
356 ######################################################################
357
358 COMPILE_FRAC_BRANCHING = FALSE
359
360 #######################################################################
361 # Whether to perform additional sanity checks (for debugging purposes)
362 #######################################################################
363
364 DO_TESTS = FALSE
365
366 #######################################################################
367 # More testing ....
368 #######################################################################
369
370 TM_BASIS_TESTS = FALSE
371
372 #######################################################################
373 # Additional debugging options
374 #######################################################################
375
376 TRACE_PATH = FALSE
377 CHECK_CUT_VALIDITY = FALSE
378
379 #######################################################################
380 # Additional statistics
381 #######################################################################
382
383 STATISTICS = FALSE
384
385 ##############################################################################
386 # Some experimental pseudo-cost branching stuff
387 ##############################################################################
388
389 PSEUDO_COSTS = FALSE
390
391 ##############################################################################
392 # Set this to true if you are going to use the IGD graph drawing application
393 ##############################################################################
394
395 DRAWGRAPH = FALSE
396