Very simple class for containing SOS set. More...
#include <CoinMpsIO.hpp>
Public Member Functions | |
Constructor and destructor | |
CoinSosSet (int numberEntries, const int *which, const double *weights, int type) | |
Constructor. More... | |
virtual | ~CoinSosSet () |
Destructor. More... | |
![]() | |
CoinSet () | |
Default constructor. More... | |
CoinSet (int numberEntries, const int *which) | |
Constructor. More... | |
CoinSet (const CoinSet &) | |
Copy constructor. More... | |
CoinSet & | operator= (const CoinSet &rhs) |
Assignment operator. More... | |
virtual | ~CoinSet () |
Destructor. More... | |
int | numberEntries () const |
Returns number of entries. More... | |
int | setType () const |
Returns type of set - 1 =SOS1, 2 =SOS2. More... | |
const int * | which () const |
Returns list of variables. More... | |
const double * | weights () const |
Returns weights. More... | |
Additional Inherited Members | |
![]() | |
int | numberEntries_ |
Number of entries. More... | |
int | setType_ |
type of set More... | |
int * | which_ |
Which variables are in set. More... | |
double * | weights_ |
Weights. More... | |
Very simple class for containing SOS set.
Definition at line 286 of file CoinMpsIO.hpp.
CoinSosSet::CoinSosSet | ( | int | numberEntries, |
const int * | which, | ||
const double * | weights, | ||
int | type | ||
) |
Constructor.
|
virtual |
Destructor.