problem.delindicators
problem.delindicators |
Purpose
Delete indicator constraints. This turns the specified rows into normal rows (not controlled by indicator variables).
Synopsis
problem.delindicators(first=None, last=None);
Arguments
first
|
First row in the range.
|
last
|
Last row in the range (inclusive).
|
Example
In this example, if any of the first two rows of the matrix is an indicator constraint, they are turned into normal rows:
prob.delindicators(0,1)
Further information
This function has no effect on rows that are not indicator constraints.
Related topics