11 #ifndef COUENNE_EXPRLOG_HPP 12 #define COUENNE_EXPRLOG_HPP 82 return exp((*vardep)());
virtual bool isBijective() const
return true if feasible
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
expr_type
code returned by the method expression::code()
CouNumber(* unary_function)(CouNumber)
unary function, used in all exprUnary
CouExpr & log(CouExpr &e)
Cut Generator for linear convexifications.
auxSign
"sign" of the constraint defining an auxiliary.
virtual bool isCuttable(CouenneProblem *problem, int index) const
can this expression be further linearized or are we on its concave ("bad") side
std::string printOp() const
print operator
double CouNumber
main number type in Couenne
exprLog(expression *al)
Constructors, destructor.
expression class for unary functions (sin, log, etc.)
CouExpr & exp(CouExpr &e)
virtual CouNumber inverse(expression *vardep) const
inverse of this operator
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 enum expr_type code()
code for comparisons
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...
expression * argument_
single argument taken by this expression
void getBounds(expression *&, expression *&)
Get lower and upper bound of an expression (if any)
expression * differentiate(int index)
differentiation
unary_function F()
the operator's function
expression * clone(Domain *d=NULL) const
cloning method
OsiObject for auxiliary variables $w=f(x)$.
bool impliedBound(int, CouNumber *, CouNumber *, t_chg_bounds *, enum auxSign=expression::AUX_EQ)
implied bound processing
CouNumber gradientNorm(const double *x)
return l-2 norm of gradient at given point
status of lower/upper bound of a variable, to be checked/modified in bound tightening
general include file for different compilers