#include <exprMin.hpp>
Inheritance diagram for exprMin:


Public Member Functions | |
| exprMin (expression **al, int n) | |
| Constructor. | |
| exprMin (expression *el0, expression *el1) | |
| Constructor with only two arguments. | |
| exprMin * | clone (Domain *d=NULL) const |
| Cloning method. | |
| std::string | printOp () const |
| Print operator. | |
| enum pos | printPos () const |
| Print operator. | |
| 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 exprMin.hpp.
| exprMin::exprMin | ( | expression ** | al, | |
| int | n | |||
| ) | [inline] |
| exprMin::exprMin | ( | expression * | el0, | |
| expression * | el1 | |||
| ) | [inline] |
Constructor with only two arguments.
Definition at line 30 of file exprMin.hpp.
References exprOp::arglist_.
Cloning method.
Reimplemented from expression.
Definition at line 37 of file exprMin.hpp.
References exprOp::clonearglist(), exprMin(), and exprOp::nargs_.
| std::string exprMin::printOp | ( | ) | const [inline, virtual] |
| enum pos exprMin::printPos | ( | ) | const [inline, virtual] |
Print operator.
Reimplemented from exprOp.
Definition at line 45 of file exprMin.hpp.
References PRE.
| CouNumber exprMin::operator() | ( | ) | [inline, virtual] |
Function for the evaluation of the expression.
Implements expression.
Definition at line 86 of file exprMin.hpp.
References exprOp::arglist_, and exprOp::nargs_.
| expression* exprMin::differentiate | ( | int | ) | [inline, virtual] |
| expression* exprMin::simplify | ( | ) | [inline, virtual] |
| virtual int exprMin::Linearity | ( | ) | [inline, virtual] |
get a measure of "how linear" the expression is (see CouenneTypes.h)
Reimplemented from exprOp.
Definition at line 60 of file exprMin.hpp.
References NONLINEAR.
| void exprMin::getBounds | ( | expression *& | , | |
| expression *& | ||||
| ) | [virtual] |
Get lower and upper bound of an expression (if any).
Reimplemented from expression.
Definition at line 21 of file exprMinMax.cpp.
| virtual exprAux* exprMin::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 exprMin.hpp.
| void exprMin::generateCuts | ( | expression * | w, | |
| OsiCuts & | cs, | |||
| const CouenneCutGenerator * | cg, | |||
| t_chg_bounds * | = NULL, |
|||
| int | = -1, |
|||
| CouNumber | = -COUENNE_INFINITY, |
|||
| CouNumber | = COUENNE_INFINITY | |||
| ) | [virtual] |
Generate equality between *this and *w.
Reimplemented from expression.
Definition at line 34 of file exprMinMax.cpp.
| virtual enum expr_type exprMin::code | ( | ) | [inline, virtual] |
Code for comparisons.
Reimplemented from exprOp.
Definition at line 79 of file exprMin.hpp.
References COU_EXPRMIN.
1.4.7