Initializing help system before first use

problem.iisall

problem.iisall


Purpose
Performs an automated search for independent Irreducible Infeasible Sets (IIS) in an infeasible problem.
Synopsis
problem.iisall()
Example
This example searches for IISs and then questions the problem attribute NUMIIS to determine how many were found:
p.iisall()
print("The problem has {0} IISs".format(p.attributes.numiis))
Further information
1. A model may have several infeasibilities. Repairing a single IIS may not make the model feasible. For this reason the Optimizer can find an IIS for each of the infeasibilities in a model. If the control MAXIIS is set to a positive integer value then the problem.iisall command will stop if MAXIIS IISs have been found. By default the control MAXIIS is set to -1, in which case an IIS is found for each of the infeasibilities in the model.
2. The problem attribute NUMIIS allows the user to recover the number of IISs found in a particular search. Alternatively, the problem.iisstatus function may be used to retrieve the number of IISs found by the problem.iisfirst, problem.iisnext, or problem.iisall functions.
Related topics