exprMin Class Reference

class for minima More...

#include <exprMin.hpp>

Inheritance diagram for exprMin:

Inheritance graph
[legend]
Collaboration diagram for exprMin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprMin (expression **al, int n)
 Constructor.
 exprMin (expression *el0, expression *el1)
 Constructor with only two arguments.
exprMinclone (Domain *d=NULL) const
 Cloning method.
std::string printOp () const
 Print operator.
enum pos printPos () const
 Print operator.
CouNumber operator() ()
 Function for the evaluation of the expression.
expressiondifferentiate (int)
 Differentiation.
expressionsimplify ()
 Simplification.
virtual int Linearity ()
 get a measure of "how linear" the expression is (see CouenneTypes.h)
void getBounds (expression *&, expression *&)
 Get lower and upper bound of an expression (if any).
virtual exprAuxstandardize (CouenneProblem *, bool addAux=true)
 Reduce expression in standard form, creating additional aux variables (and constraints).
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.
virtual enum expr_type code ()
 Code for comparisons.

Detailed Description

class for minima

Definition at line 21 of file exprMin.hpp.


Constructor & Destructor Documentation

exprMin::exprMin ( expression **  al,
int  n 
) [inline]

Constructor.

Definition at line 26 of file exprMin.hpp.

Referenced by clone().

exprMin::exprMin ( expression el0,
expression el1 
) [inline]

Constructor with only two arguments.

Definition at line 30 of file exprMin.hpp.

References exprOp::arglist_.


Member Function Documentation

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

Cloning method.

Reimplemented from expression.

Definition at line 37 of file exprMin.hpp.

References exprOp::clonearglist(), exprMin(), and exprOp::nargs_.

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

Print operator.

Reimplemented from exprOp.

Definition at line 41 of file exprMin.hpp.

enum pos exprMin::printPos (  )  const [inline, virtual]

Print operator.

Reimplemented from exprOp.

Definition at line 45 of file exprMin.hpp.

References PRE.

CouNumber exprMin::operator() (  )  [inline, virtual]

Function for the evaluation of the expression.

Implements expression.

Definition at line 86 of file exprMin.hpp.

References exprOp::arglist_, and exprOp::nargs_.

expression* exprMin::differentiate ( int   )  [inline, virtual]

Differentiation.

Reimplemented from expression.

Definition at line 52 of file exprMin.hpp.

expression* exprMin::simplify (  )  [inline, virtual]

Simplification.

Reimplemented from exprOp.

Definition at line 56 of file exprMin.hpp.

virtual int exprMin::Linearity (  )  [inline, virtual]

get a measure of "how linear" the expression is (see CouenneTypes.h)

Reimplemented from exprOp.

Definition at line 60 of file exprMin.hpp.

References NONLINEAR.

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

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

Reimplemented from expression.

Definition at line 21 of file exprMinMax.cpp.

virtual exprAux* exprMin::standardize ( CouenneProblem ,
bool  addAux = true 
) [inline, virtual]

Reduce expression in standard form, creating additional aux variables (and constraints).

Reimplemented from exprOp.

Definition at line 68 of file exprMin.hpp.

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

Generate equality between *this and *w.

Reimplemented from expression.

Definition at line 34 of file exprMinMax.cpp.

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

Code for comparisons.

Reimplemented from exprOp.

Definition at line 79 of file exprMin.hpp.

References COU_EXPRMIN.


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:10:48 2010 by  doxygen 1.4.7