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.