setindicators
An indicator constraint is made of a condition and a linear constraint. The condition is of the type " bin = value", where bin is a binary variable and value is either 0 or 1. The linear constraint is any linear row. During global search, a row configured as an indicator constraint is enforced only when condition holds, that is only if the indicator variable bin has the specified value.
setindicators(
prob,
rowind,
colind,
complement,
nrows = x_max_vec_length(rowind, colind, complement)
)
prob
|
The current problem.
|
rowind
|
Integer array of length
nrows containing the indices of the rows that define the linear constraint part for the indicator constraints.
|
colind
|
Integer array of length
nrows containing the column indices of the indicator variables.
|
complement
|
Integer array of length
nrows with the complement flags:
|
nrows
|
The number of indicator constraints.
|
© 2001-2021 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.