AbcCommon.hpp

Go to the documentation of this file.
00001 /* $Id: AbcCommon.hpp 1910 2013-01-27 02:00:13Z stefan $ */
00002 // Copyright (C) 2003, International Business Machines
00003 // Corporation and others, Copyright (C) 2012, FasterCoin.  All Rights Reserved.
00004 // This code is licensed under the terms of the Eclipse Public License (EPL).
00005 /*
00006    Authors
00007 
00008    John Forrest
00009 
00010  */
00011 #ifndef AbcCommon_H
00012 #define AbcCommon_H
00013 
00014 #include "ClpConfig.h"
00015 
00016 /*
00017   0 - off
00018   1 - build Abc serial but no inherit code
00019   2 - build Abc serial and inherit code
00020   3 - build Abc cilk parallel but no inherit code
00021   4 - build Abc cilk parallel and inherit code
00022  */
00023 #ifdef CLP_HAS_ABC
00024 #if CLP_HAS_ABC==1
00025 #ifndef ABC_PARALLEL
00026 #define ABC_PARALLEL 0
00027 #endif
00028 #ifndef ABC_USE_HOMEGROWN_LAPACK
00029 #define ABC_USE_HOMEGROWN_LAPACK 2
00030 #endif
00031 #elif CLP_HAS_ABC==2
00032 #ifndef ABC_PARALLEL
00033 #define ABC_PARALLEL 0
00034 #endif
00035 #ifndef ABC_USE_HOMEGROWN_LAPACK
00036 #define ABC_USE_HOMEGROWN_LAPACK 2
00037 #endif
00038 #ifndef ABC_INHERIT
00039 #define ABC_INHERIT
00040 #endif
00041 #elif CLP_HAS_ABC==3
00042 #ifndef ABC_PARALLEL
00043 #define ABC_PARALLEL 2
00044 #endif
00045 #ifndef ABC_USE_HOMEGROWN_LAPACK
00046 #define ABC_USE_HOMEGROWN_LAPACK 2
00047 #endif
00048 #elif CLP_HAS_ABC==4
00049 #ifndef ABC_PARALLEL
00050 #define ABC_PARALLEL 2
00051 #endif
00052 #ifndef ABC_USE_HOMEGROWN_LAPACK
00053 #define ABC_USE_HOMEGROWN_LAPACK 2
00054 #endif
00055 #ifndef ABC_INHERIT
00056 #define ABC_INHERIT
00057 #endif
00058 #else
00059 #error "Valid values for CLP_HAS_ABC are 0-4"
00060 #endif
00061 #endif
00062 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2013 for Clp by  doxygen 1.6.1