SosArray.SosArray()¶
Constructor of sosarray object.
Synopsis
SosArray()
SosArray.GetSos()¶
Get idx-th SOS object.
Synopsis
Sos GetSos(int idx)
Arguments
idx
: index of SOS.Return
SOS object with index idx.
SosArray.PushBack()¶
Add a SOS constraint object to SOS constraint array.
Synopsis
void PushBack(Sos sos)
Arguments
sos
: a SOS constraint object.
SosArray.Size()¶
Get the number of SOS constraint objects.
Synopsis
int Size()
Return
number of SOS constraint objects.