CouennePrecisions.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef COUENNE_PRECISIONS_HPP
00012 #define COUENNE_PRECISIONS_HPP
00013
00014 #include <math.h>
00015
00016 namespace Couenne {
00017
00018
00019 #define COUENNE_EPS 1.e-07
00020
00021
00022 #define COUENNE_BOUND_PREC 1.e-5
00023
00024
00025 #define COUENNE_EPS_INT 1.e-9
00026
00027
00028 #define COUENNE_EPS_SIMPL 1.e-20
00029
00030
00031 #ifndef COUENNE_INFINITY
00032 #define COUENNE_INFINITY 1.e+50
00033 #endif
00034
00035
00036 #define COU_MAX_COEFF 1.e+9
00037
00038
00039 #define COU_MIN_COEFF 1.e-9
00040
00041
00042 #define COUENNE_round(x) ((int) (floor ((x) + 0.5)))
00043
00044 #define MAX_BOUND 1.e45
00045
00047 const double Couenne_large_bound = 9.999e12;
00048
00049 }
00050
00051 #endif