SOS Methods
The SOS type exposes the following members.
| Name | Description | |
|---|---|---|
|  | CompareTo | 
       Compares the current object with another object of the same type. 
      | 
|  | Equals | (Overrides ObjectEquals(Object).) | 
|  | GetHashCode | (Overrides ObjectGetHashCode.) | 
|  | GetIndex | 
       Get the index that this object has in the underlying model. 
      Attention: this is a very advanced function. Use it only if you know exactly what you are doing. 
      | 
|  | GetIndexForProb | 
       Get the index stored in this object but raise an exception if the problem that created this object is not 
      prob. 
      | 
|  | GetName | 
       Get the name of this object. Queries the problem instance that own this objects and returns the name from that instance. 
      | 
|  | GetProblem | 
       Get the problem to which this element belongs. 
      | 
|  | GetSerial | 
       Get the serial number of this object. 
      | 
|  | GetType | 
       Gets the 
      Type of the current instance. 
     (Inherited from Object.) | 
|  | MarkDeleted | |
|  | SetName | 
       Set the name of this SOS. Sets the name of this SOS in the problem instance that owns the object. 
      | 
|   | Sos | 
       Create a special ordered set constraint. 
      | 
|   | Sos1 | 
       Create a special ordered set constraint of type 1. Only one of the items in the constraint may be non-zero. 
      | 
|   | Sos2 | 
       Create a special ordered set constraint of type 2. At most two elements in the constraint may be non-zero. Additionally, non-zero elements must be adjacent. The ordering of elements is given by 
      weights. If 
      weights is 
      null then the elements are given the same order in which they appear in 
      items. 
      | 
|  | ToString | (Inherited from Object.) | 
|  | UpdateIndex | 
       Add 
      delta to this object's index. 
      | 
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
 
