Initializing help system before first use

problem.getSOS

problem.getSOS


Purpose
Returns one or more SOSs of a problem corresponding to one or more indices passed as arguments. These SOSs are returned as Python objects and can be used to access and manipulate the problem.
Synopsis
x = problem.getSOS (index, first, last)
Arguments
first 
(optional) The first index of the SOSs to be returned.
last 
(optional) The last index of the SOSs to be returned.
index 
(optional) Either an integer or a list of integers (not necessarily sorted) with the index/indices of all SOSs to be returned.
Further information
All arguments are optional. If neither of them is provided, the return value is a list with all SOSs of the problem. Otherwise, either first and last or just index can be passed.
Related topics