(function from pyomo.contrib.iis.iis)
pyomo.contrib.iis.iis
Write an irreducible infeasible set for a Pyomo MILP or LP using the specified commercial solver.
pyomo_model – A Pyomo Block or ConcreteModel
iis_file_name (str) – A file name to write the IIS to, e.g., infeasible_model.ilp
solver (str) – Specify the solver to use, one of “cplex”, “gurobi”, or “xpress”. If None, the tool will use the first solver available.
logger (logging.Logger) – A logger for messages. Uses pyomo.contrib.iis logger by default.
iis_file_name – The file containing the IIS.
str