11 #ifndef COUENNE_EXPRFLOOR_HPP 12 #define COUENNE_EXPRFLOOR_HPP
std::string printOp() const
print operator
expr_type
code returned by the method expression::code()
CouNumber(* unary_function)(CouNumber)
unary function, used in all exprUnary
unary_function F()
the operator itself (e.g. sin, log...)
Cut Generator for linear convexifications.
auxSign
"sign" of the constraint defining an auxiliary.
double CouNumber
main number type in Couenne
expression class for unary functions (sin, log, etc.)
void getBounds(expression *&, expression *&)
Get lower and upper bound of an expression (if any)
Class for MINLP problems with symbolic information.
expression * differentiate(int index)
obtain derivative of expression
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
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
expression * argument_
single argument taken by this expression
exprFloor(expression *arg)
constructor, destructor
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.
expression * clone(Domain *d=NULL) const
cloning method
OsiObject for auxiliary variables $w=f(x)$.
bool impliedBound(int index, CouNumber *l, CouNumber *u, t_chg_bounds *chg, enum auxSign=expression::AUX_EQ)
implied bound processing
virtual enum expr_type code()
code for comparisons
status of lower/upper bound of a variable, to be checked/modified in bound tightening
virtual void closestFeasible(expression *varind, expression *vardep, CouNumber &left, CouNumber &right) const
closest feasible points in function in both directions
general include file for different compilers
virtual bool isCuttable(CouenneProblem *problem, int index) const
can this expression be further linearized or are we on its concave ("bad") side?