22 void operator() (
const T*& ptr){
delete ptr; ptr = NULL; }
39 const double* elements){
111 inline const int*
getW()
const {
return w_; }
230 double dj(
const double* pi)
const;
243 PATTERN(
const int numElements,
const int* indices,
const double * elements,
BCP_buffer & pack(const T &value)
Pack a single object of type T.
const int * getDemand() const
void setAddKnapsackMirConstraints(char yesno)
BCP_buffer & unpack(T &value)
Unpack a single object of type T.
CSP_packedVector(const int size, const int *indices, const double *elements)
void unpack(BCP_buffer &buf)
const CSP_packedVector & getWidths() const
const int * getIndices() const
CSP_packedVector & operator=(const CSP_packedVector &pv)
void pack(BCP_buffer &buf) const
void setCombineExclusionConstraints(char yesno)
void setAddKnifeMirConstraints(char yesno)
void unpack(BCP_buffer &buf)
char addKnifeMirConstraints
double dj(const double *pi) const
CSP_packedVector(BCP_buffer &buf)
PATTERN(const PATTERN &x)
bool doesAddKnifeMirConstraints() const
bool doesAddKnapsackMirConstraints() const
CSP_packedVector(const CSP_packedVector &pv)
const int getSize() const
This class describes the message buffer used for all processes of BCP.
const double * getElements() const
void pack(BCP_buffer &buf) const
static const CSPROBLEM * csproblem_
PATTERN(const int numElements, const int *indices, const double *elements, const double ub)
void operator()(const T *&ptr)
void CoinDisjointCopyN(const T *from, const CoinBigIndex size, T *to)
This helper function copies an array to another location.
char combineExclusionConstraints
bool doesCombineExclusionConstraints() const
char addKnapsackMirConstraints
void pack(BCP_buffer &buf) const