Initializing help system before first use

AddSets Method (Int32, Int32[], SetType[], Int32[], Double[], String[])

Create multiple set constraints.

Namespace:   Optimizer
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.04
Syntax
C#
public int[] AddSets(
	int count,
	int[] start,
	SetType[] type,
	int[] setind,
	double[] setref,
	string[] names
)

Parameters

count
Type:  System.Int32
Number of sets to add.
start
Type:  System.Int32
Array of length at least count that indicates where in setind and setref the data for each set starts.
type
Type:  Optimizer.SetType
Array of length at least count that specifies the set types.
setind
Type:  System.Int32
The columns in each set.
setref
Type:  System.Double
Reference values for columns in each set. This can be null in which case values 1, 2, 3, ... will be used for each set.
names
Type:  System.String
Set names. Can be null.

Return Value

Type:  Int32
Indices of the newly created sets.
Remarks
See Also

© 2001-2025 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.