ABA_CONCLASS Class Reference

A rather rudimentary classification for the generation of knapsack cuts is implemented in the class ABA_CONCLASS. More...

#include <conclass.h>

Inheritance diagram for ABA_CONCLASS:

ABA_ABACUSROOT List of all members.

Public Member Functions

 ABA_CONCLASS (const ABA_MASTER *master, bool discrete, bool allVarBinary, bool trivial, bool bound, bool varBound)
bool allVarBinary () const
 Returns true if all variables with nonzero coefficients of the constraint are binary.
bool trivial () const
 Returns true if the constraint is a bound or a variable upper bound.

Private Attributes

const ABA_MASTERmaster_
bool discrete_
bool allVarBinary_
bool trivial_
bool bound_
bool varBound_

Friends

ostream & operator<< (ostream &out, const ABA_CONCLASS &rhs)

Detailed Description

A rather rudimentary classification for the generation of knapsack cuts is implemented in the class ABA_CONCLASS.

Definition at line 48 of file conclass.h.


Constructor & Destructor Documentation

ABA_CONCLASS::ABA_CONCLASS ( const ABA_MASTER master,
bool  discrete,
bool  allVarBinary,
bool  trivial,
bool  bound,
bool  varBound 
)

The constructor initializes the constraint classification with

Parameters:
master A pointer to the corresponding master of the optimization.
allVar Binary true if all variables are binary
trivial true if it is a bound or a variable upper bound
bound if the constraint is a bound of the variable
varBound if the constraint is a variable upper bound


Member Function Documentation

bool ABA_CONCLASS::allVarBinary (  )  const [inline]

Returns true if all variables with nonzero coefficients of the constraint are binary.

Definition at line 114 of file conclass.h.

bool ABA_CONCLASS::trivial (  )  const [inline]

Returns true if the constraint is a bound or a variable upper bound.

Definition at line 119 of file conclass.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const ABA_CONCLASS rhs 
) [friend]


Member Data Documentation

const ABA_MASTER* ABA_CONCLASS::master_ [private]

A pointer to the corresponding master of the optimization.

Definition at line 93 of file conclass.h.

bool ABA_CONCLASS::discrete_ [private]

Definition at line 94 of file conclass.h.

bool ABA_CONCLASS::allVarBinary_ [private]

true if all variables are binary.

Definition at line 98 of file conclass.h.

bool ABA_CONCLASS::trivial_ [private]

true if it is a bound or a variable lower/upper bound.

Definition at line 102 of file conclass.h.

bool ABA_CONCLASS::bound_ [private]

true if the constraint is a bound of the variable.

Definition at line 106 of file conclass.h.

bool ABA_CONCLASS::varBound_ [private]

true if the constraint is a variable lower/upper bound.

Definition at line 110 of file conclass.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 14 18:09:56 2007 for ABACUS by  doxygen 1.5.1