CoinCut

Class for representing a cut.

Class for representing a cut.

Public Methods

CoinCut

Default constructor.

 CoinCut(const int * idxs, const double * coefs, size_t nz, double rhs)

Parameters:

~CoinCut

Destructor.

 ~CoinCut()

idxs

Return the indexes of the variables of the cut.

const int * idxs()

coefs

Return the coefficients of the variables of the cut.

const double * coefs()

size

Return the size of the cut.

int size()

rhs

Return the right-hand side of the cut.

double rhs()

dominates

Check if the cut dominates another one.

bool dominates(const CoinCut * other)

Parameters:

Source

Header: layer-0/CoinUtils/src/CoinCutPool.hpp