t_chg_bounds Class Reference

status of lower/upper bound of a variable, to be checked/modified in bound tightening More...

#include <CouenneTypes.hpp>

List of all members.

Public Types

 UNCHANGED = 0
 CHANGED = 1
 EXACT = 2
enum  ChangeStatus { UNCHANGED = 0, CHANGED = 1, EXACT = 2 }

Public Member Functions

 t_chg_bounds ()
 t_chg_bounds (const t_chg_bounds &src)
const char & lower () const
const char & upper () const
void setLower (ChangeStatus lower)
void setUpper (ChangeStatus upper)
void setLowerBits (char lower)
void setUpperBits (char upper)
t_chg_bounds operator= (const t_chg_bounds &src)

Private Attributes

char lower_
char upper_


Detailed Description

status of lower/upper bound of a variable, to be checked/modified in bound tightening

Definition at line 60 of file CouenneTypes.hpp.


Member Enumeration Documentation

enum t_chg_bounds::ChangeStatus

Enumerator:
UNCHANGED 
CHANGED 
EXACT 

Definition at line 63 of file CouenneTypes.hpp.


Constructor & Destructor Documentation

t_chg_bounds::t_chg_bounds (  )  [inline]

Definition at line 69 of file CouenneTypes.hpp.

t_chg_bounds::t_chg_bounds ( const t_chg_bounds src  )  [inline]

Definition at line 73 of file CouenneTypes.hpp.


Member Function Documentation

const char& t_chg_bounds::lower (  )  const [inline]

Definition at line 77 of file CouenneTypes.hpp.

References lower_.

Referenced by CouenneCutGenerator::addEnvelope(), exprPow::generateCuts(), exprExp::generateCuts(), exprDiv::generateCuts(), exprAbs::generateCuts(), CouenneProblem::obbt_iter(), and unifiedProdCuts().

const char& t_chg_bounds::upper (  )  const [inline]

Definition at line 78 of file CouenneTypes.hpp.

References upper_.

Referenced by CouenneCutGenerator::addEnvelope(), exprPow::generateCuts(), exprLog::generateCuts(), exprExp::generateCuts(), exprDiv::generateCuts(), and unifiedProdCuts().

void t_chg_bounds::setLower ( ChangeStatus  lower  )  [inline]

Definition at line 79 of file CouenneTypes.hpp.

References lower_.

Referenced by CouenneProblem::boundTightening(), CouenneSOSBranchingObject::branch(), CouenneComplBranchingObject::branch(), CouenneBranchingObject::branch(), CouenneChooseStrong::doStrongBranching(), CouenneProblem::fake_tighten(), exprSub::impliedBound(), exprOpp::impliedBound(), exprLog::impliedBound(), exprInv::impliedBound(), exprExp::impliedBound(), exprAbs::impliedBound(), exprVar::impliedBound(), exprSum::impliedBound(), exprQuad::impliedBound(), exprPow::impliedBound(), exprMul::impliedBound(), exprDiv::impliedBound(), CouenneProblem::redCostBT(), CouenneDisjCuts::separateWithDisjunction(), CouenneProblem::testIntFix(), and CouenneProblem::tightenBounds().

void t_chg_bounds::setUpper ( ChangeStatus  upper  )  [inline]

Definition at line 80 of file CouenneTypes.hpp.

References upper_.

Referenced by CouenneProblem::boundTightening(), CouenneSOSBranchingObject::branch(), CouenneComplBranchingObject::branch(), CouenneBranchingObject::branch(), CouenneChooseStrong::doStrongBranching(), CouenneProblem::fake_tighten(), CouenneCutGenerator::generateCuts(), exprSub::impliedBound(), exprOpp::impliedBound(), exprLog::impliedBound(), exprInv::impliedBound(), exprExp::impliedBound(), exprAbs::impliedBound(), exprVar::impliedBound(), exprSum::impliedBound(), exprQuad::impliedBound(), exprPow::impliedBound(), exprMul::impliedBound(), exprDiv::impliedBound(), CouenneProblem::redCostBT(), CouenneDisjCuts::separateWithDisjunction(), CouenneProblem::testIntFix(), and CouenneProblem::tightenBounds().

void t_chg_bounds::setLowerBits ( char  lower  )  [inline]

Definition at line 81 of file CouenneTypes.hpp.

References lower_.

Referenced by CouenneProblem::obbt_iter().

void t_chg_bounds::setUpperBits ( char  upper  )  [inline]

Definition at line 82 of file CouenneTypes.hpp.

References upper_.

Referenced by CouenneProblem::obbt_iter().

t_chg_bounds t_chg_bounds::operator= ( const t_chg_bounds src  )  [inline]

Definition at line 83 of file CouenneTypes.hpp.

References lower_, and upper_.


Member Data Documentation

char t_chg_bounds::lower_ [private]

Definition at line 89 of file CouenneTypes.hpp.

Referenced by lower(), operator=(), setLower(), and setLowerBits().

char t_chg_bounds::upper_ [private]

Definition at line 90 of file CouenneTypes.hpp.

Referenced by operator=(), setUpper(), setUpperBits(), and upper().


The documentation for this class was generated from the following file:
Generated on Mon Aug 3 03:08:03 2009 by  doxygen 1.4.7