/home/coin/svn-release/OS-2.5.0/Couenne/src/branch/operators/branchExprTrilinear.cpp File Reference
#include "CouennePrecisions.hpp"
#include "CouenneTypes.hpp"
#include "CouenneObject.hpp"
#include "CouenneExprTrilinear.hpp"
#include "CouenneFunTriplets.hpp"
#include "CouenneProjections.hpp"
Go to the source code of this file.
Define Documentation
#define SETBNDS |
( |
l, |
|
|
u, |
|
|
ind |
|
) |
|
Value:{ \
\
if (l < -COUENNE_INFINITY) {\
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 (u > COUENNE_INFINITY) {\
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.;}\
}\
}