Ipopt Documentation  
 
Loading...
Searching...
No Matches
config_default.h
Go to the documentation of this file.
1
2/* include the COIN-OR-wide system specific configure header */
3#include "configall_system.h"
4
5/* this needs to come before the include of config_ipopt_default.h */
6#ifndef IPOPTLIB_EXPORT
7#if defined(_WIN32) && defined(DLL_EXPORT)
8#define IPOPTLIB_EXPORT __declspec(dllexport)
9#else
10#define IPOPTLIB_EXPORT
11#endif
12#endif
13
14/* include the public project specific macros */
16
17/***************************************************************************/
18/* HERE DEFINE THE PROJECT SPECIFIC PRIVATE MACROS */
19/* These are only in effect in a setting that doesn't use configure */
20/***************************************************************************/
21
22/* Define to the debug sanity check level (0 is no test) */
23/* #define IPOPT_CHECKLEVEL 0 */
24
25/* Define to the debug verbosity level (0 is no output) */
26/* #define IPOPT_VERBOSITY 0 */
27
28/* If defined, the Ampl Solver Library is available. */
29/* #undef IPOPT_HAS_ASL 1 */
30
31/* If defined, the LAPACK Library is available. */
32#define IPOPT_HAS_LAPACK 1
33
34/* If defined, the HSL library is available. */
35/* #undef IPOPT_HAS_HSL 1 */
36
37/* If defined, the MUMPS library is available. */
38/* #undef IPOPT_HAS_MUMPS */
39
40/* Define to 1 if the linear solver loader should be compiled to allow dynamic
41 loading of shared libraries with linear solvers */
42/* #undef IPOPT_HAS_LINEARSOLVERLOADER */
43
44/* Define to 1 if you are using Pardiso from MKL */
45/* #undef IPOPT_HAS_PARDISO_MKL */
46
47/* Define to 1 if SPRAL is available */
48/* #undef IPOPT_HAS_SPRAL */
49
50/* Define to 1 if WSMP is available */
51/* #undef IPOPT_HAS_WSMP */
52
53/* Define to be the name of C-function for Inf check */
54#ifdef _MSC_VER
55#define IPOPT_C_FINITE _finite
56#else
57#define IPOPT_C_FINITE std::isfinite
58#endif
59
60#ifdef _MSC_VER
61#define IPOPT_HAS_RAND 1
62#define IPOPT_HAS_VA_COPY 1
63#endif
64
65#define IPOPT_BLAS_FUNC(name,NAME) F77_FUNC(name,NAME)
66#define IPOPT_LAPACK_FUNC(name,NAME) F77_FUNC(name,NAME)
67#define IPOPT_PARDISO_FUNC(name,NAME) F77_FUNC(name,NAME)
68#define IPOPT_WSMP_FUNC(name,NAME) F77_FUNC(name,NAME)
69#define IPOPT_WSMP_FUNC_(name,NAME) F77_FUNC_(name,NAME)