/home/coin/svn-release/OS-2.4.3/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"
Include dependency graph for branchExprTrilinear.cpp:

Go to the source code of this file.

Defines

#define SETBNDS(l, u, ind)

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.;}\
  }\
}

Generated on 16 Feb 2012 by  doxygen 1.6.1