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 #define COUENNE_INFINITY 1.e+50
00032
00033
00034 #define COU_MAX_COEFF 1.e+9
00035
00036
00037 #define COU_MIN_COEFF 1.e-9
00038
00039
00040 #define COUENNE_round(x) ((int) (floor ((x) + 0.5)))
00041
00042 #define MAX_BOUND 1.e45
00043
00045 const double Couenne_large_bound = 9.999e12;
00046
00047 }
00048
00049 #endif