00001 /* 00002 * Include file for the configuration of Ipopt. 00003 * 00004 * On systems where the code is configured with the configure script 00005 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this 00006 * header file includes the automatically generated header file, and 00007 * undefines macros that might configure with other Config.h files. 00008 * 00009 * On systems that are compiled in other ways (e.g., with the 00010 * Developer Studio), a header files is included to define those 00011 * macros that depend on the operating system and the compiler. The 00012 * macros that define the configuration of the particular user setting 00013 * (e.g., presence of other COIN packages or third party code) are set 00014 * here. The project maintainer needs to remember to update this file 00015 * and choose reasonable defines. A user can modify the default 00016 * setting by editing this file here. 00017 * 00018 */ 00019 00020 #ifndef __IPOPTCONFIG_H__ 00021 #define __IPOPTCONFIG_H__ 00022 00023 #ifdef HAVE_CONFIG_H 00024 #include "config_ipopt.h" 00025 00026 /* undefine macros that could conflict with those in other config.h 00027 files */ 00028 #undef PACKAGE 00029 #undef PACKAGE_BUGREPORT 00030 #undef PACKAGE_NAME 00031 #undef PACKAGE_STRING 00032 #undef PACKAGE_TARNAME 00033 #undef PACKAGE_VERSION 00034 #undef VERSION 00035 00036 #else /* HAVE_CONFIG_H */ 00037 00038 /* include the COIN-wide system specific configure header */ 00039 #include "configall_system.h" 00040 00041 /***************************************************************************/ 00042 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ 00043 /***************************************************************************/ 00044 00045 /* Define to the debug sanity check level (0 is no test) */ 00046 #define COIN_IPOPT_CHECKLEVEL 0 00047 00048 /* Define to the debug verbosity level (0 is no output) */ 00049 #define COIN_IPOPT_VERBOSITY 0 00050 00051 /* If defined, the Ampl Solver Library is available. */ 00052 #define COIN_HAS_ASL 1 00053 00054 /* If defined, the BLAS Library is available. */ 00055 #define COIN_HAS_BLAS 1 00056 00057 /* Define to 1 if the Ipopt package is used */ 00058 #define COIN_HAS_IPOPT 1 00059 00060 /* If defined, the LAPACK Library is available. */ 00061 #define COIN_HAS_LAPACK 1 00062 00063 /* Define to 1 if MA27 is available */ 00064 #define HAVE_MA27 1 00065 00066 /* Define to 1 if MA57 is available */ 00067 /* #undef HAVE_MA57 */ 00068 00069 /* Define to 1 if MC19 is available */ 00070 #define HAVE_MC19 1 00071 00072 /* Define to 1 if MUMPS is available */ 00073 /* #undef HAVE_MUMPS */ 00074 00075 /* Define to 1 if Pardiso is available */ 00076 /* #undef HAVE_PARDISO */ 00077 00078 /* Define to 1 if you are using the parallel version of Pardiso */ 00079 /* #undef HAVE_PARDISO_PARALLEL */ 00080 00081 /* Define to 1 if TAUCS is available */ 00082 /* #undef HAVE_TAUCS */ 00083 00084 /* Define to 1 if WSMP is available */ 00085 /* #undef HAVE_WSMP */ 00086 00087 #endif /* HAVE_CONFIG_H */ 00088 00089 /* In the Ipopt code, we use IP_DEBUG to indicate debug compile */ 00090 #if COIN_IPOPT_DEBUG > 0 00091 #define IP_DEBUG 1 00092 #endif 00093 00094 /* Type of Fortran integer translated into C */ 00095 typedef FORTRAN_INTEGER_TYPE ipfint; 00096 00097 #endif /*__IPOPTCONFIG_H__*/