/home/coin/SVN-release/OS-2.4.2/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.;}\
  }\
}

Referenced by Couenne::exprTrilinear::selectBranch().


Generated on Wed Nov 30 03:07:29 2011 by  doxygen 1.4.7