Public Member Functions | Public Attributes | List of all members
Bonmin::TMINLP::SosInfo Struct Reference

Class to store sos constraints for model. More...

#include <BonTMINLP.hpp>

Public Member Functions

 SosInfo ()
 default constructor. More...
 
 SosInfo (const SosInfo &source)
 Copy constructor. More...
 
 ~SosInfo ()
 destructor More...
 
void gutsOfDestructor ()
 Reset information. More...
 

Public Attributes

int num
 Number of SOS constraints. More...
 
char * types
 Type of sos. More...
 
intpriorities
 priorities of sos constraints. More...
 
Sparse storage of the elements of the SOS constraints.
int numNz
 Total number of non zeroes in SOS constraints. More...
 
intstarts
 For 0 <= i < nums, start[i] gives the indice of indices and weights arrays at which the description of constraints i begins. More...
 
intindices
 indices of elements belonging to the SOS. More...
 
double * weights
 weights of the elements of the SOS. More...
 

Detailed Description

Class to store sos constraints for model.

Definition at line 72 of file BonTMINLP.hpp.

Constructor & Destructor Documentation

Bonmin::TMINLP::SosInfo::SosInfo ( )

default constructor.

default constructor for Sos constraints

Definition at line 17 of file BonTMINLP.cpp.

Bonmin::TMINLP::SosInfo::SosInfo ( const SosInfo source)

Copy constructor.

Definition at line 28 of file BonTMINLP.cpp.

Bonmin::TMINLP::SosInfo::~SosInfo ( )
inline

destructor

Definition at line 99 of file BonTMINLP.hpp.

Member Function Documentation

void Bonmin::TMINLP::SosInfo::gutsOfDestructor ( )

Reset information.

Definition at line 72 of file BonTMINLP.cpp.

Member Data Documentation

int Bonmin::TMINLP::SosInfo::num

Number of SOS constraints.

Definition at line 75 of file BonTMINLP.hpp.

char* Bonmin::TMINLP::SosInfo::types

Type of sos.

At present Only type '1' SOS are supported by Cbc

Definition at line 77 of file BonTMINLP.hpp.

int* Bonmin::TMINLP::SosInfo::priorities

priorities of sos constraints.

Definition at line 79 of file BonTMINLP.hpp.

int Bonmin::TMINLP::SosInfo::numNz

Total number of non zeroes in SOS constraints.

Definition at line 84 of file BonTMINLP.hpp.

int* Bonmin::TMINLP::SosInfo::starts

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.

int* Bonmin::TMINLP::SosInfo::indices

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.


The documentation for this struct was generated from the following files: