class for multiplications More...
#include <CouenneExprTrilinear.hpp>
Public Member Functions | |
exprTrilinear (expression **, int) | |
Constructor. | |
exprTrilinear (expression *, expression *, expression *) | |
Constructor with two arguments. | |
expression * | clone (Domain *d=NULL) const |
Cloning method. | |
CouNumber | gradientNorm (const double *x) |
return l-2 norm of gradient at given point | |
virtual void | getBounds (expression *&, expression *&) |
Get lower and upper bound of an expression (if any). | |
virtual void | getBounds (CouNumber &lb, CouNumber &ub) |
Get value of lower and upper bound of an expression (if any). | |
void | generateCuts (expression *w, OsiCuts &cs, const CouenneCutGenerator *cg, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY) |
generate equality between *this and *w | |
virtual enum expr_type | code () |
code for comparison | |
bool | impliedBound (int, CouNumber *, CouNumber *, t_chg_bounds *, enum Couenne::expression::auxSign=Couenne::expression::AUX_EQ) |
implied bound processing | |
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 | |
virtual void | closestFeasible (expression *varind, expression *vardep, CouNumber &left, CouNumber &right) const |
compute ![]() ![]() |
class for multiplications
Definition at line 21 of file CouenneExprTrilinear.hpp.
exprTrilinear::exprTrilinear | ( | expression ** | al, | |
int | n | |||
) |
exprTrilinear::exprTrilinear | ( | expression * | arg0, | |
expression * | arg1, | |||
expression * | arg2 | |||
) |
Constructor with two arguments.
constructor with only two factors
Definition at line 29 of file exprTrilinear.cpp.
expression* Couenne::exprTrilinear::clone | ( | Domain * | d = NULL |
) | const [inline] |
Cloning method.
Definition at line 32 of file CouenneExprTrilinear.hpp.
CouNumber exprTrilinear::gradientNorm | ( | const double * | x | ) |
return l-2 norm of gradient at given point
Definition at line 79 of file exprTrilinear.cpp.
void exprTrilinear::getBounds | ( | expression *& | lb, | |
expression *& | ub | |||
) | [virtual] |
Get lower and upper bound of an expression (if any).
get lower/upper bounds of product f(x) g(x) in expression form
Definition at line 20 of file conv-exprTrilinear.cpp.
Get value of lower and upper bound of an expression (if any).
get lower/upper bounds of product f(x) g(x) in expression form
Definition at line 54 of file conv-exprTrilinear.cpp.
void exprTrilinear::generateCuts | ( | expression * | w, | |
OsiCuts & | cs, | |||
const CouenneCutGenerator * | cg, | |||
t_chg_bounds * | chg = NULL , |
|||
int | wind = -1 , |
|||
CouNumber | lbw = -COUENNE_INFINITY , |
|||
CouNumber | ubw = COUENNE_INFINITY | |||
) |
generate equality between *this and *w
Definition at line 1145 of file conv-exprTrilinear-gencuts.cpp.
virtual enum expr_type Couenne::exprTrilinear::code | ( | ) | [inline, virtual] |
code for comparison
Definition at line 52 of file CouenneExprTrilinear.hpp.
bool Couenne::exprTrilinear::impliedBound | ( | int | , | |
CouNumber * | , | |||
CouNumber * | , | |||
t_chg_bounds * | , | |||
enum Couenne::expression::auxSign | = Couenne::expression::AUX_EQ | |||
) |
implied bound processing
CouNumber exprTrilinear::selectBranch | ( | const CouenneObject * | obj, | |
const OsiBranchingInformation * | info, | |||
expression *& | var, | |||
double *& | brpts, | |||
double *& | brDist, | |||
int & | way | |||
) | [virtual] |
set up branching object by evaluating many branching points for each expression's arguments
Definition at line 22 of file branchExprTrilinear.cpp.
void exprTrilinear::closestFeasible | ( | expression * | varind, | |
expression * | vardep, | |||
CouNumber & | left, | |||
CouNumber & | right | |||
) | const [virtual] |
compute and
for Violation Transfer algorithm
compute $y^{lv}$ and $y^{uv}$ for Violation Transfer algorithm
Definition at line 45 of file exprTrilinear.cpp.