Function GMP::Instance::GetNumberOfSOS2Rows(GMP)

GMP::Instance::GetNumberOfSOS2Rows

The function GMP::Instance::GetNumberOfSOS2Rows returns the number of SOS rows of type 2 of a generated mathematical program.

GMP::Instance::GetNumberOfSOS2Rows(
     GMP             ! (input) a generated mathematical program
     )

Arguments

GMP

An element in the set AllGeneratedMathematicalPrograms.

Return Value

The function returns the number of SOS rows of type 2.