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


Public Member Functions | |
| exprLog (expression *al) | |
| Constructors, destructor. | |
| expression * | clone (Domain *d=NULL) const |
| cloning method | |
| unary_function | F () |
| the operator's function | |
| std::string | printOp () const |
| print operator | |
| CouNumber | gradientNorm (const double *x) |
| return l-2 norm of gradient at given point | |
| expression * | differentiate (int index) |
| differentiation | |
| void | getBounds (expression *&, expression *&) |
| Get lower and upper bound of an expression (if any). | |
| 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 comparisons | |
| bool | impliedBound (int, CouNumber *, CouNumber *, t_chg_bounds *) |
| 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 bool | isBijective () const |
| return true if feasible | |
| virtual CouNumber | inverse (expression *vardep) const |
| inverse of this operator | |
| virtual bool | isCuttable (CouenneProblem *problem, int index) const |
| can this expression be further linearized or are we on its concave ("bad") side | |
Definition at line 20 of file exprLog.hpp.
| exprLog::exprLog | ( | expression * | al | ) | [inline] |
| expression* exprLog::clone | ( | Domain * | d = NULL |
) | const [inline, virtual] |
cloning method
Reimplemented from expression.
Definition at line 29 of file exprLog.hpp.
References exprUnary::argument_, and exprLog().
| unary_function exprLog::F | ( | ) | [inline, virtual] |
the operator's function
Reimplemented from exprUnary.
Definition at line 33 of file exprLog.hpp.
References log().
| std::string exprLog::printOp | ( | ) | const [inline, virtual] |
| CouNumber exprLog::gradientNorm | ( | const double * | x | ) | [virtual] |
| expression* exprLog::differentiate | ( | int | index | ) | [virtual] |
| void exprLog::getBounds | ( | expression *& | , | |
| expression *& | ||||
| ) | [virtual] |
| void exprLog::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 exprLog::code | ( | ) | [inline, virtual] |
code for comparisons
Reimplemented from exprUnary.
Definition at line 59 of file exprLog.hpp.
References COU_EXPRLOG.
| bool exprLog::impliedBound | ( | int | , | |
| CouNumber * | , | |||
| CouNumber * | , | |||
| t_chg_bounds * | ||||
| ) | [virtual] |
| virtual CouNumber exprLog::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
Reimplemented from expression.
| virtual bool exprLog::isBijective | ( | ) | const [inline, virtual] |
| virtual CouNumber exprLog::inverse | ( | expression * | vardep | ) | const [inline, virtual] |
inverse of this operator
Reimplemented from expression.
Definition at line 79 of file exprLog.hpp.
References exp().
| virtual bool exprLog::isCuttable | ( | CouenneProblem * | problem, | |
| int | index | |||
| ) | const [virtual] |
can this expression be further linearized or are we on its concave ("bad") side
Reimplemented from expression.
1.4.7