Initializing help system before first use

SetIndicators Method (Int32, Func(Int32, Variable), Func(Int32, Boolean), Func(Int32, Inequality))

Add indicator constraints to this model. The function iterates through [0, ... ,count[ and calls the provided functions for each in this interval. The return values of the functions are used to construct an indicator constraint. For a fixed t, if IndicatorValue(t) returns true then the created constraint states that if IndicatorVariable(t) is 1 (one), then Row(t) must be satisfied and is ignored otherwise. Otherwise, Row(t) must be satisfied if IndicatorVariable(t) is 0 (zero) and is ignored otherwise. All referenced variables and rows must exist.

Namespace:   Optimizer.Objects
Assembly:  xprsdn (in xprsdn.dll) Version: 43.01.01
Syntax
C#
public void SetIndicators(
	int count,
	Func<int, Variable> indicatorVariable,
	Func<int, bool> indicatorValue,
	Func<int, Inequality> row
)

Parameters

count
Type:  SystemInt32
How many constraint to add.
indicatorVariable
Type:  SystemFunc Int32, Variable
Indicator variables.
indicatorValue
Type:  SystemFunc Int32, Boolean
Whether indicator variables should be non-zero or zero for rows to become active. If this is null then none of the variables must be 1 (one) for rows to become active.
row
Type:  SystemFunc Int32, 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.