Initializing help system before first use

problem.iisnext

Purpose
Continues the search for further Irreducible Infeasible Sets (IIS), or calls problem.iisfirst if no IIS has been identified yet. The returned value is 0 in case of success; 1 if no more IIS could be found, or problem is feasible if no problem.iisfirst call preceded; or 2 in case of an error.
Synopsis
status_code = problem.iisnext()
Example
This looks for a further IIS.
while p.iisnext() == 0:
   [...] # do something with the iis
Further information
1. A model may have several infeasibilities. Repairing a single IIS may not make the model feasible. For this reason the Optimizer attempts to find an IIS for each of the infeasibilities in a model. Call the problem.iisnext function repeatedly, or use the problem.iisall function to retrieve all IIS at once.
2. This function is not affected by the control MAXIIS.
3. If the problem has been modified since the last call to problem.iisfirst or problem.iisnext, the generation process has to be started from scratch.
Related topics

© 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.