#include <exprMax.hpp>
Inheritance diagram for exprMax:
Public Member Functions | |
exprMax (expression **al, int n) | |
Constructor. | |
exprMax (expression *el0, expression *el1) | |
Constructor with only two arguments. | |
exprMax * | clone (Domain *d=NULL) const |
cloning method | |
std::string | printOp () const |
print operator | |
enum pos | printPos () const |
print position | |
CouNumber | operator() () |
function for the evaluation of the expression | |
expression * | differentiate (int) |
differentiation | |
expression * | simplify () |
simplification | |
virtual int | Linearity () |
get a measure of "how linear" the expression is (see CouenneTypes.h) | |
void | getBounds (expression *&, expression *&) |
Get lower and upper bound of an expression (if any). | |
virtual exprAux * | standardize (CouenneProblem *, bool addAux=true) |
reduce expression in standard form, creating additional aux variables (and constraints) | |
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 comparisons |
Definition at line 21 of file exprMax.hpp.
exprMax::exprMax | ( | expression ** | al, | |
int | n | |||
) | [inline] |
exprMax::exprMax | ( | expression * | el0, | |
expression * | el1 | |||
) | [inline] |
Constructor with only two arguments.
Definition at line 30 of file exprMax.hpp.
References exprOp::arglist_.
cloning method
Reimplemented from expression.
Definition at line 37 of file exprMax.hpp.
References exprOp::clonearglist(), exprMax(), and exprOp::nargs_.
std::string exprMax::printOp | ( | ) | const [inline, virtual] |
enum pos exprMax::printPos | ( | ) | const [inline, virtual] |
print position
Reimplemented from exprOp.
Definition at line 45 of file exprMax.hpp.
References PRE.
CouNumber exprMax::operator() | ( | ) | [inline, virtual] |
function for the evaluation of the expression
Implements expression.
Definition at line 86 of file exprMax.hpp.
References exprOp::arglist_, and exprOp::nargs_.
expression* exprMax::differentiate | ( | int | ) | [inline, virtual] |
expression* exprMax::simplify | ( | ) | [inline, virtual] |
virtual int exprMax::Linearity | ( | ) | [inline, virtual] |
get a measure of "how linear" the expression is (see CouenneTypes.h)
Reimplemented from exprOp.
Definition at line 60 of file exprMax.hpp.
References NONLINEAR.
void exprMax::getBounds | ( | expression *& | , | |
expression *& | ||||
) | [virtual] |
virtual exprAux* exprMax::standardize | ( | CouenneProblem * | , | |
bool | addAux = true | |||
) | [inline, virtual] |
reduce expression in standard form, creating additional aux variables (and constraints)
Reimplemented from exprOp.
Definition at line 68 of file exprMax.hpp.
void exprMax::generateCuts | ( | expression * | w, | |
OsiCuts & | cs, | |||
const CouenneCutGenerator * | cg, | |||
t_chg_bounds * | = NULL , |
|||
int | = -1 , |
|||
CouNumber | = -COUENNE_INFINITY , |
|||
CouNumber | = COUENNE_INFINITY | |||
) | [virtual] |
virtual enum expr_type exprMax::code | ( | ) | [inline, virtual] |
code for comparisons
Reimplemented from exprOp.
Definition at line 79 of file exprMax.hpp.
References COU_EXPRMAX.