#include <BonTMINLP.hpp>
Public Member Functions | |
SosInfo () | |
default constructor for Sos constraints | |
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. |
Definition at line 71 of file BonTMINLP.hpp.
Bonmin::TMINLP::SosInfo::SosInfo | ( | ) |
Bonmin::TMINLP::SosInfo::SosInfo | ( | const SosInfo & | source | ) |
Copy constructor.
Definition at line 27 of file BonTMINLP.cpp.
References indices, num, numNz, priorities, starts, types, and weights.
Bonmin::TMINLP::SosInfo::~SosInfo | ( | ) | [inline] |
void Bonmin::TMINLP::SosInfo::gutsOfDestructor | ( | ) |
Reset information.
Definition at line 71 of file BonTMINLP.cpp.
References indices, num, numNz, priorities, starts, types, and weights.
Referenced by ~SosInfo().
Number of SOS constraints.
Definition at line 74 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), BM_tm::initialize_core(), SosInfo(), and BM_lp::unpack_module_data().
Type of sos.
At present Only type '1' SOS are supported by Cbc
Definition at line 76 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), SosInfo(), and BM_lp::unpack_module_data().
priorities of sos constraints.
Definition at line 78 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), SosInfo(), and BM_lp::unpack_module_data().
Total number of non zeroes in SOS constraints.
Definition at line 83 of file BonTMINLP.hpp.
Referenced by gutsOfDestructor(), and SosInfo().
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 85 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), SosInfo(), and BM_lp::unpack_module_data().
indices of elements belonging to the SOS.
Definition at line 87 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), SosInfo(), and BM_lp::unpack_module_data().
double* Bonmin::TMINLP::SosInfo::weights |
weights of the elements of the SOS.
Definition at line 89 of file BonTMINLP.hpp.
Referenced by Bonmin::BabSetupBase::addSos(), Bonmin::Bab::branchAndBound(), gutsOfDestructor(), SosInfo(), and BM_lp::unpack_module_data().