| 
    Osi
    0.108.6
    
   | 
 
Very simple class for containing data on set. More...
#include <CoinMpsIO.hpp>
 Inheritance diagram for CoinSet:Public Member Functions | |
Constructor and destructor  | |
| 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... | |
gets  | |
| 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... | |
Protected Attributes | |
data  | |
| 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 data on set.
Definition at line 269 of file CoinMpsIO.hpp.
| CoinSet::CoinSet | ( | ) | 
Default constructor.
| CoinSet::CoinSet | ( | int | numberEntries, | 
| const int * | which | ||
| ) | 
Constructor.
| CoinSet::CoinSet | ( | const CoinSet & | ) | 
Copy constructor.
      
  | 
  virtual | 
Destructor.
      
  | 
  inline | 
Returns number of entries.
Definition at line 292 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Sets number of entries.
Definition at line 297 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Returns type of set - 1 =SOS1, 2 =SOS2.
Definition at line 302 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Sets type of set - 1 =SOS1, 2 =SOS2.
Definition at line 307 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Returns list of variables.
Definition at line 312 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Returns weights.
Definition at line 317 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Returns modifiable list of variables.
Definition at line 322 of file CoinMpsIO.hpp.
      
  | 
  inline | 
Returns modifiable weights.
Definition at line 327 of file CoinMpsIO.hpp.
      
  | 
  protected | 
Number of entries.
Definition at line 349 of file CoinMpsIO.hpp.
      
  | 
  protected | 
type of set
Definition at line 351 of file CoinMpsIO.hpp.
      
  | 
  protected | 
Which variables are in set.
Definition at line 353 of file CoinMpsIO.hpp.
      
  | 
  protected | 
Weights.
Definition at line 355 of file CoinMpsIO.hpp.
 1.8.5