Initializing help system before first use

SetIndicators Method (Variable[], Boolean[], Inequality[])

Add indicator constraints to this model. The provided arrays must all have length at least count and for any i in 0.. count-1 an indicator constraint is constructed from indicatorVariable[i], indicatorValue[i] and row[i]. If indicatorValue[i] is true then the constraints states that if indicatorVariable[i] is 1 (one), then row[i] must be Satisfied (and if indicator is 0 (zero) then row[i] is ignored). Otherwise, row[i] must be satisfied if indicator[i] is 0 (zero) and is ignored otherwise. All referenced variables and rows must exist.

Namespace:   Optimizer.Objects
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.01
Syntax
C#
public void SetIndicators(
	Variable[] indicatorVariable,
	bool[] indicatorValue,
	Inequality[] row
)

Parameters

indicatorVariable
Type:  Optimizer.Objects.Variable
Indicator variables.
indicatorValue
Type:  System.Boolean
Whether rows become active if indicator variables are non-Zero ( indicatorValue[.] is true) or if indicator variables are Zero ( indicatorValue is false). If this is null or empty then rows become active if indicator variables are non-zero.
row
Type:  Optimizer.Objects.Inequality
The implied rows for the indicator constraints.
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.