Macros
branchExprTrilinear.cpp File Reference
#include "CouennePrecisions.hpp"
#include "CouenneTypes.hpp"
#include "CouenneObject.hpp"
#include "CouenneExprTrilinear.hpp"
#include "CouenneFunTriplets.hpp"
#include "CouenneProjections.hpp"
Include dependency graph for branchExprTrilinear.cpp:

Go to the source code of this file.

Macros

#define SETBNDS(l, u, ind)
 

Macro Definition Documentation

#define SETBNDS (   l,
  u,
  ind 
)
Value:
{ \
if (u > 1.) {*brpts = 0.; brDist [0] = brDist [1] = 1.; var = arglist_ [ind]; return 1.;}\
else {*brpts = 2*-fabs (u) - 1.; brDist [0] = brDist [1] = 1.; var = arglist_ [ind]; return 1.;}\
}\
if (l < -1.) {*brpts = 0.; brDist [0] = brDist [1] = 1.; var = arglist_ [ind]; return 1.;}\
else {*brpts = 2*fabs (u) + 1.; brDist [0] = brDist [1] = 1.; var = arglist_ [ind]; return 1.;}\
}\
}
if(!yyg->yy_init)
#define COUENNE_INFINITY