This method adds a tuple represented by the array array to the tuple set ts.

Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)

Syntax

C#
public virtual void AddTuple(
	IIntTupleSet ts,
	int[] array
)

Parameters

ts
Type: IIntTupleSet
array
Type: array<System..::..Int32>[]()[][]

Remarks

If you attempt to add an element that is already in the set, that element will not be added again. Added elements are copied. Concert Technology will throw an exception if the size of the array is not equal to the arity of the invoking set. You may use this method to add tuples to the set in a model; you may not add tuples in this way during a search.

See Also