SosArray::GetSos()
Get i-th SOS constraint object.
Synopsis
Sos &GetSos(int i)
Arguments
i
: index of the SOS constraint.Return
SOS constraint object with index i.
SosArray::PushBack()
Add a SOS constraint object to SOS constraint array.
Synopsis
void PushBack(const 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.