1 | /* $Id: CbcConfig.h 1522 2010-11-04 17:46:05Z lou $ */ |
---|
2 | /* |
---|
3 | * Include file for the configuration of Cbc. |
---|
4 | * |
---|
5 | * On systems where the code is configured with the configure script |
---|
6 | * (i.e., compilation is always done with HAVE_CONFIG_H defined), this |
---|
7 | * header file includes the automatically generated header file, and |
---|
8 | * undefines macros that might configure with other Config.h files. |
---|
9 | * |
---|
10 | * On systems that are compiled in other ways (e.g., with the |
---|
11 | * Developer Studio), a header files is included to define those |
---|
12 | * macros that depend on the operating system and the compiler. The |
---|
13 | * macros that define the configuration of the particular user setting |
---|
14 | * (e.g., presence of other COIN packages or third party code) are set |
---|
15 | * here. The project maintainer needs to remember to update this file |
---|
16 | * and choose reasonable defines. A user can modify the default |
---|
17 | * setting by editing this file here. |
---|
18 | * |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef __CBCCONFIG_H__ |
---|
22 | #define __CBCCONFIG_H__ |
---|
23 | |
---|
24 | #ifdef HAVE_CONFIG_H |
---|
25 | #include "config_cbc.h" |
---|
26 | |
---|
27 | /* undefine macros that could conflict with those in other config.h |
---|
28 | files */ |
---|
29 | #undef PACKAGE |
---|
30 | #undef PACKAGE_BUGREPORT |
---|
31 | #undef PACKAGE_NAME |
---|
32 | #undef PACKAGE_STRING |
---|
33 | #undef PACKAGE_TARNAME |
---|
34 | #undef PACKAGE_VERSION |
---|
35 | #undef VERSION |
---|
36 | |
---|
37 | #else /* HAVE_CONFIG_H */ |
---|
38 | |
---|
39 | /* include the COIN-wide system specific configure header */ |
---|
40 | #include "configall_system.h" |
---|
41 | |
---|
42 | /***************************************************************************/ |
---|
43 | /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ |
---|
44 | /***************************************************************************/ |
---|
45 | |
---|
46 | /* Define to the debug sanity check level (0 is no test) */ |
---|
47 | #define COIN_CBC_CHECKLEVEL 0 |
---|
48 | |
---|
49 | /* Define to the debug verbosity level (0 is no output) */ |
---|
50 | #define COIN_CBC_VERBOSITY 0 |
---|
51 | |
---|
52 | /* Define to 1 if the Cbc package is used */ |
---|
53 | #define COIN_HAS_CBC 1 |
---|
54 | |
---|
55 | /* Define to 1 if the Cgl package is used */ |
---|
56 | #define COIN_HAS_CGL 1 |
---|
57 | |
---|
58 | /* Define to 1 if the Clp package is used */ |
---|
59 | #define COIN_HAS_CLP 1 |
---|
60 | |
---|
61 | /* Define to 1 if the CoinUtils package is used */ |
---|
62 | #define COIN_HAS_COINUTILS 1 |
---|
63 | |
---|
64 | /* Define to 1 if the Osi package is used */ |
---|
65 | #define COIN_HAS_OSI 1 |
---|
66 | |
---|
67 | /* Define to 1 if the Vol package is used */ |
---|
68 | #define COIN_HAS_VOL 1 |
---|
69 | |
---|
70 | /* Define to 1 if the Cplex package is used */ |
---|
71 | /* #undef COIN_HAS_CPX */ |
---|
72 | |
---|
73 | /* Define to 1 if the Dylp package is used */ |
---|
74 | /* #undef COIN_HAS_DYLP */ |
---|
75 | |
---|
76 | /* Define to 1 if the FortMP package is used */ |
---|
77 | /* #undef COIN_HAS_FMP */ |
---|
78 | |
---|
79 | /* Define to 1 if the Glpk package is used */ |
---|
80 | /* #undef COIN_HAS_GLPK */ |
---|
81 | |
---|
82 | /* Define to 1 if the Mosek package is used */ |
---|
83 | /* #undef COIN_HAS_MSK */ |
---|
84 | |
---|
85 | /* Define to 1 if the Osl package is used */ |
---|
86 | /* #undef COIN_HAS_OSL */ |
---|
87 | |
---|
88 | /* Define to 1 if the Soplex package is used */ |
---|
89 | /* #undef COIN_HAS_SPX */ |
---|
90 | |
---|
91 | /* Define to 1 if the Sym package is used */ |
---|
92 | /* #undef COIN_HAS_SYM */ |
---|
93 | |
---|
94 | /* Define to 1 if the Xpress package is used */ |
---|
95 | /* #undef COIN_HAS_XPR */ |
---|
96 | |
---|
97 | /* Cbc version */ |
---|
98 | #define CBC_VERSION "2.6" |
---|
99 | |
---|
100 | /* |
---|
101 | For additional information about how to set OSICBC_DFLT_SOLVER, |
---|
102 | OSICBC_DFLT_SOLVER_CLP, and OSICBC_DFLT_SOLVER_HPP, please see comments at |
---|
103 | the beginning of OsiCbcSolverInterface.cpp. Unless you know what you're |
---|
104 | doing, you should use clp with OsiCbc. Just uncomment the next three |
---|
105 | defines. |
---|
106 | */ |
---|
107 | /* |
---|
108 | Define to the name of the default solver interface class, e.g., |
---|
109 | OsiClpSolverInterface. |
---|
110 | */ |
---|
111 | /* #define OSICBC_DFLT_SOLVER OsiClpSolverInterface */ |
---|
112 | |
---|
113 | /* Define this symbol if clp is the default solver. */ |
---|
114 | /* #define OSICBC_DFLT_SOLVER_CLP 1 */ |
---|
115 | |
---|
116 | /* |
---|
117 | Define to the name of the .hpp file for the default solver interface class, |
---|
118 | e.g., "OsiClpSolverInterface.hpp" (include quotes) |
---|
119 | */ |
---|
120 | /* #define OSICBC_DFLT_SOLVER_HPP "OsiClpSolverInterface.hpp" */ |
---|
121 | |
---|
122 | #endif /* HAVE_CONFIG_H */ |
---|
123 | |
---|
124 | #endif /* __CBCCONFIG_H__ */ |
---|