source: branches/Couenne/Couenne/src/expression/CouennePrecisions.h @ 534

Last change on this file since 534 was 534, checked in by pbelotti, 13 years ago

moved include files to make them doxygenable. Introduced three-way branching, with fixed intervals for now. Added check for small bound interval within all generateCuts()

File size: 692 bytes
Line 
1/*
2 * Name:    CouennePrecisions.h
3 * Author:  Pietro Belotti
4 * Purpose: constants for evaluation procedures
5 *
6 * (C) Pietro Belotti. This file is licensed under the Common Public License (CPL)
7 */
8
9#ifndef COUENNE_PRECISIONS_H
10#define COUENNE_PRECISIONS_H
11
12#include <CouenneTypes.h>
13#include <math.h>
14
15/* keep it at least 1e-7, or strange things happen */
16#define COUENNE_EPS       1e-7
17#define COUENNE_EPS_CHK       1e-7
18#define COUENNE_EPS_SET       1e-15
19
20#define COUENNE_EPS_SIMPL 1e-20
21
22#define COUENNE_INFINITY  1e+50
23#define COUENNE_INFINITY_CHK  1e+30
24#define COUENNE_INFINITY_SET  1e+60
25
26#define COU_MAX_COEFF     1e6
27
28#define COUENNE_round(x) ((int) (floor ((x) + 0.5)))
29
30#endif
Note: See TracBrowser for help on using the repository browser.