|
Osi
0.108.1
|
Very simple class for containing SOS set. More...
#include <CoinMpsIO.hpp>
Inheritance diagram for CoinSosSet:
Collaboration diagram for CoinSosSet:Public Member Functions | |
Constructor and destructor | |
| CoinSosSet (int numberEntries, const int *which, const double *weights, int type) | |
| Constructor. More... | |
| virtual | ~CoinSosSet () |
| Destructor. More... | |
Public Member Functions inherited from CoinSet | |
| 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... | |
| void | setNumberEntries (int number) |
| Sets number of entries. More... | |
| int | setType () const |
| Returns type of set - 1 =SOS1, 2 =SOS2. More... | |
| void | setSetType (int type) |
| Sets type of set - 1 =SOS1, 2 =SOS2. More... | |
| const int * | which () const |
| Returns list of variables. More... | |
| const double * | weights () const |
| Returns weights. More... | |
| int * | modifiableWhich () const |
| Returns modifiable list of variables. More... | |
| double * | modifiableWeights () const |
| Returns modifiable weights. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CoinSet | |
| 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 361 of file CoinMpsIO.hpp.
| CoinSosSet::CoinSosSet | ( | int | numberEntries, |
| const int * | which, | ||
| const double * | weights, | ||
| int | type | ||
| ) |
Constructor.
|
virtual |
Destructor.
1.8.5