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