AbcCommon.hpp

Go to the documentation of this file.
00001 /* $Id: AbcCommon.hpp 2074 2014-12-10 09:43:54Z forrest $ */
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 #ifndef CLP_INHERIT_MODE
00041 #define CLP_INHERIT_MODE 2
00042 #endif
00043 #endif
00044 #elif CLP_HAS_ABC==3
00045 #ifndef ABC_PARALLEL
00046 #define ABC_PARALLEL 2
00047 #endif
00048 #ifndef ABC_USE_HOMEGROWN_LAPACK
00049 #define ABC_USE_HOMEGROWN_LAPACK 2
00050 #endif
00051 #elif CLP_HAS_ABC==4
00052 #ifndef ABC_PARALLEL
00053 #define ABC_PARALLEL 2
00054 #endif
00055 #ifndef ABC_USE_HOMEGROWN_LAPACK
00056 #define ABC_USE_HOMEGROWN_LAPACK 2
00057 #endif
00058 #ifndef ABC_INHERIT
00059 #define ABC_INHERIT
00060 #endif
00061 #else
00062 #error "Valid values for CLP_HAS_ABC are 0-4"
00063 #endif
00064 #endif
00065 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2015 for Cgl by  doxygen 1.6.1