#include <exprOpp.hpp>
Inheritance diagram for exprOpp:
Public Member Functions | |
exprOpp (expression *al) | |
Constructors, destructor. | |
expression * | clone (Domain *d=NULL) const |
cloning method | |
unary_function | F () |
the operator's function | |
void | print (std::ostream &out, bool descend) const |
Output. | |
CouNumber | gradientNorm (const double *x) |
return l-2 norm of gradient at given point | |
expression * | differentiate (int index) |
differentiation | |
virtual expression * | simplify () |
simplification | |
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). | |
void | getBounds (CouNumber &, CouNumber &) |
Get value of lower and upper bound of an expression (if any). | |
virtual void | generateCuts (expression *, const OsiSolverInterface &, OsiCuts &, const CouenneCutGenerator *, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY) |
special version for linear constraints | |
virtual enum expr_type | code () |
code for comparisons | |
bool | isInteger () |
is this expression integer? | |
bool | impliedBound (int, CouNumber *, CouNumber *, t_chg_bounds *) |
implied bound processing | |
exprAux * | standardize (CouenneProblem *, bool addAux=true) |
standardization (to deal with complex arguments) |
Definition at line 26 of file exprOpp.hpp.
exprOpp::exprOpp | ( | expression * | al | ) | [inline] |
expression* exprOpp::clone | ( | Domain * | d = NULL |
) | const [inline, virtual] |
cloning method
Reimplemented from expression.
Definition at line 35 of file exprOpp.hpp.
References exprUnary::argument_, and exprOpp().
unary_function exprOpp::F | ( | ) | [inline, virtual] |
the operator's function
Reimplemented from exprUnary.
Definition at line 39 of file exprOpp.hpp.
References opp().
void exprOpp::print | ( | std::ostream & | out, | |
bool | descend | |||
) | const [virtual] |
CouNumber exprOpp::gradientNorm | ( | const double * | x | ) | [inline, virtual] |
return l-2 norm of gradient at given point
Reimplemented from expression.
Definition at line 47 of file exprOpp.hpp.
References exprUnary::argument_, and expression::Index().
expression* exprOpp::differentiate | ( | int | index | ) | [virtual] |
virtual expression* exprOpp::simplify | ( | ) | [virtual] |
int exprOpp::Linearity | ( | ) | [inline, virtual] |
get a measure of "how linear" the expression is (see CouenneTypes.h)
Reimplemented from exprUnary.
Definition at line 57 of file exprOpp.hpp.
References exprUnary::argument_.
void exprOpp::getBounds | ( | expression *& | , | |
expression *& | ||||
) | [virtual] |
virtual void exprOpp::generateCuts | ( | expression * | , | |
const OsiSolverInterface & | , | |||
OsiCuts & | , | |||
const CouenneCutGenerator * | , | |||
t_chg_bounds * | = NULL , |
|||
int | = -1 , |
|||
CouNumber | = -COUENNE_INFINITY , |
|||
CouNumber | = COUENNE_INFINITY | |||
) | [virtual] |
virtual enum expr_type exprOpp::code | ( | ) | [inline, virtual] |
code for comparisons
Reimplemented from exprUnary.
Definition at line 74 of file exprOpp.hpp.
References COU_EXPROPP.
bool exprOpp::isInteger | ( | ) | [inline, virtual] |
is this expression integer?
Reimplemented from exprUnary.
Definition at line 78 of file exprOpp.hpp.
References exprUnary::argument_.
bool exprOpp::impliedBound | ( | int | , | |
CouNumber * | , | |||
CouNumber * | , | |||
t_chg_bounds * | ||||
) | [virtual] |
exprAux* exprOpp::standardize | ( | CouenneProblem * | , | |
bool | addAux = true | |||
) | [virtual] |