add.SOS(lprec, name, type, priority, columns, weights)
{1, ..., n}
(where n
is the number of decision variables in lprec
) indicating which decision variables belong to the special ordered set.columns
specifying the variable weights.0
indicates an error.