11#ifndef COUENNE_EXPROPP_HPP
12#define COUENNE_EXPROPP_HPP
Cut Generator for linear convexifications.
Class for MINLP problems with symbolic information.
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
CouNumber gradientNorm(const double *x)
return l-2 norm of gradient at given point
void getBounds(expression *&, expression *&)
Get lower and upper bound of an expression (if any)
unary_function F()
the operator's function
exprAux * standardize(CouenneProblem *, bool addAux=true)
standardization (to deal with complex arguments)
void getBounds(CouNumber &, CouNumber &)
Get value of lower and upper bound of an expression (if any)
expression * clone(Domain *d=NULL) const
cloning method
int Linearity()
get a measure of "how linear" the expression is (see CouenneTypes.h)
virtual enum expr_type code()
code for comparisons
bool impliedBound(int, CouNumber *, CouNumber *, t_chg_bounds *, enum auxSign=expression::AUX_EQ)
implied bound processing
void print(std::ostream &out, bool descend) const
Output.
virtual void generateCuts(expression *, OsiCuts &, const CouenneCutGenerator *, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY)
special version for linear constraints
expression * differentiate(int index)
differentiation
virtual expression * simplify()
simplification
bool isInteger()
is this expression integer?
exprOpp(expression *al)
Constructors, destructor.
expression class for unary functions (sin, log, etc.)
expression * argument_
single argument taken by this expression
auxSign
"sign" of the constraint defining an auxiliary.
status of lower/upper bound of a variable, to be checked/modified in bound tightening
general include file for different compilers
CouNumber opp(register CouNumber arg)
operator opp: returns the opposite of a number
double CouNumber
main number type in Couenne
CouNumber(* unary_function)(CouNumber)
unary function, used in all exprUnary
expr_type
code returned by the method expression::code()