Bonmin
1.7
|
Class to store sos constraints for model. More...
#include <BonTMINLP.hpp>
Public Member Functions | |
SosInfo () | |
default constructor. | |
SosInfo (const SosInfo &source) | |
Copy constructor. | |
~SosInfo () | |
destructor | |
void | gutsOfDestructor () |
Reset information. | |
Public Attributes | |
int | num |
Number of SOS constraints. | |
char * | types |
Type of sos. | |
int * | priorities |
priorities of sos constraints. | |
Sparse storage of the elements of the SOS constraints. | |
int | numNz |
Total number of non zeroes in SOS constraints. | |
int * | starts |
For 0 <= i < nums, start[i] gives the indice of indices and weights arrays at which the description of constraints i begins. | |
int * | indices |
indices of elements belonging to the SOS. | |
double * | weights |
weights of the elements of the SOS. |
Class to store sos constraints for model.
Definition at line 72 of file BonTMINLP.hpp.
Bonmin::TMINLP::SosInfo::SosInfo | ( | ) |
default constructor.
Bonmin::TMINLP::SosInfo::SosInfo | ( | const SosInfo & | source | ) |
Copy constructor.
Bonmin::TMINLP::SosInfo::~SosInfo | ( | ) | [inline] |
void Bonmin::TMINLP::SosInfo::gutsOfDestructor | ( | ) |
Reset information.
Referenced by ~SosInfo().
Number of SOS constraints.
Definition at line 75 of file BonTMINLP.hpp.
Type of sos.
At present Only type '1' SOS are supported by Cbc
Definition at line 77 of file BonTMINLP.hpp.
priorities of sos constraints.
Definition at line 79 of file BonTMINLP.hpp.
Total number of non zeroes in SOS constraints.
Definition at line 84 of file BonTMINLP.hpp.
For 0 <= i < nums, start[i] gives the indice of indices and weights arrays at which the description of constraints i begins.
Definition at line 86 of file BonTMINLP.hpp.
indices of elements belonging to the SOS.
Definition at line 88 of file BonTMINLP.hpp.
double* Bonmin::TMINLP::SosInfo::weights |
weights of the elements of the SOS.
Definition at line 90 of file BonTMINLP.hpp.