15 #define M_SQRT2l (sqrt (2.))
18 #include "CoinHelperFunctions.hpp"
22 using namespace Couenne;
29 const OsiBranchingInformation *
info,
37 int ind = var ->
Index ();
39 assert ((ind >= 0) && (obj -> Reference () ->
Index () >= 0));
42 y0 = info -> solution_ [obj -> Reference () ->
Index ()];
44 brpts = (
double *) realloc (brpts,
sizeof (
double));
55 brDist = (
double *) realloc (brDist, 2 *
sizeof (
double));
65 return CoinMin (brDist [0], brDist [1]);
void fint fint fint real fint real real real real real real real real real fint real fint fint fint real fint fint fint fint * info
OsiObject for auxiliary variables $w=f(x)$.
virtual CouNumber selectBranch(const CouenneObject *obj, const OsiBranchingInformation *info, expression *&var, double *&brpts, double *&brDist, int &way)
set up branching object by evaluating many branching points for each expression's arguments ...
expression * argument_
single argument taken by this expression
virtual int Index() const
Return index of variable (only valid for exprVar and exprAux)
double CouNumber
main number type in Couenne