exprExp Class Reference

class for the exponential More...

#include <exprExp.hpp>

Inheritance diagram for exprExp:

Inheritance graph
[legend]
Collaboration diagram for exprExp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprExp (expression *al)
 Constructor.
expressionclone (Domain *d=NULL) const
 Cloning method.
unary_function F ()
 The operator's function.
std::string printOp () const
 Print operator.
CouNumber gradientNorm (const double *x)
 return l-2 norm of gradient at given point
expressiondifferentiate (int index)
 Differentiation.
void getBounds (expression *&, expression *&)
 Get lower and upper bound of an expression (if any).
virtual void getBounds (CouNumber &lb, CouNumber &ub)
 Get expression of lower and upper bound of an expression (if any).
void generateCuts (expression *w, const OsiSolverInterface &si, OsiCuts &cs, const CouenneCutGenerator *cg, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY)
 Generate convexification cuts for this expression.
virtual enum expr_type code ()
 Code for comparisons.
bool impliedBound (int, CouNumber *, CouNumber *, t_chg_bounds *)
 Implied bound processing.
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 bool isBijective () const
 return true if bijective
virtual CouNumber inverse (expression *vardep) const
 inverse of exponential
virtual bool isCuttable (CouenneProblem *problem, int index) const
 can this expression be further linearized or are we on its concave ("bad") side

Detailed Description

class for the exponential

Definition at line 20 of file exprExp.hpp.


Constructor & Destructor Documentation

exprExp::exprExp ( expression al  )  [inline]

Constructor.

Definition at line 25 of file exprExp.hpp.

Referenced by clone().


Member Function Documentation

expression* exprExp::clone ( Domain d = NULL  )  const [inline, virtual]

Cloning method.

Reimplemented from expression.

Definition at line 29 of file exprExp.hpp.

References exprUnary::argument_, and exprExp().

unary_function exprExp::F (  )  [inline, virtual]

The operator's function.

Reimplemented from exprUnary.

Definition at line 33 of file exprExp.hpp.

References exp().

std::string exprExp::printOp (  )  const [inline, virtual]

Print operator.

Reimplemented from exprUnary.

Definition at line 36 of file exprExp.hpp.

CouNumber exprExp::gradientNorm ( const double *  x  )  [inline, virtual]

return l-2 norm of gradient at given point

Reimplemented from expression.

Definition at line 40 of file exprExp.hpp.

References exprUnary::argument_, exp(), and expression::Index().

expression* exprExp::differentiate ( int  index  )  [virtual]

Differentiation.

Reimplemented from expression.

void exprExp::getBounds ( expression *&  ,
expression *&   
) [virtual]

Get lower and upper bound of an expression (if any).

Reimplemented from expression.

virtual void exprExp::getBounds ( CouNumber lb,
CouNumber ub 
) [virtual]

Get expression of lower and upper bound of an expression (if any).

Reimplemented from expression.

void exprExp::generateCuts ( expression w,
const OsiSolverInterface &  si,
OsiCuts &  cs,
const CouenneCutGenerator cg,
t_chg_bounds = NULL,
int  = -1,
CouNumber  = -COUENNE_INFINITY,
CouNumber  = COUENNE_INFINITY 
) [virtual]

Generate convexification cuts for this expression.

Reimplemented from expression.

virtual enum expr_type exprExp::code (  )  [inline, virtual]

Code for comparisons.

Reimplemented from exprUnary.

Definition at line 60 of file exprExp.hpp.

References COU_EXPREXP.

bool exprExp::impliedBound ( int  ,
CouNumber ,
CouNumber ,
t_chg_bounds  
) [virtual]

Implied bound processing.

Reimplemented from expression.

virtual CouNumber exprExp::selectBranch ( const CouenneObject obj,
const OsiBranchingInformation *  info,
expression *&  var,
double *&  brpts,
double *&  brDist,
int &  way 
) [virtual]

Set up branching object by evaluating many branching points for each expression's arguments.

Reimplemented from expression.

virtual bool exprExp::isBijective (  )  const [inline, virtual]

return true if bijective

Reimplemented from expression.

Definition at line 76 of file exprExp.hpp.

virtual CouNumber exprExp::inverse ( expression vardep  )  const [inline, virtual]

inverse of exponential

Reimplemented from expression.

Definition at line 79 of file exprExp.hpp.

References log().

virtual bool exprExp::isCuttable ( CouenneProblem problem,
int  index 
) const [virtual]

can this expression be further linearized or are we on its concave ("bad") side

Reimplemented from expression.


The documentation for this class was generated from the following file:
Generated on Wed Oct 7 03:11:39 2009 for Couenne by  doxygen 1.4.7