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: 43.01.03
Syntax
C#
public int[] AddSets(
	int count,
	int[] start,
	SetType[] type,
	int[] setind,
	double[] setref,
	string[] names
)

Parameters

count
Type:  SystemInt32
Number of sets to add.
start
Type:  SystemInt32
Array of length at least count that indicates where in setind and setref the data for each set starts.
type
Type:  OptimizerSetType
Array of length at least count that specifies the set types.
setind
Type:  SystemInt32
The columns in each set.
setref
Type:  SystemDouble
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:  SystemString
Set names. Can be null.

Return Value

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

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