optlens

Guides

Step-by-step answers to common questions about infeasible models, with code you can run and the output it prints.

Why a model is infeasible

Find the constraints that clash (an IIS) with HiGHS or Gurobi, read them as a business conflict, and get the smallest fix. Start here.

Read the guide →

Pyomo infeasible model

Why log_infeasible_constraints shows nothing after an infeasible solve, and how to get the IIS of a Pyomo model on HiGHS.

Read the guide →

A proof of infeasibility (MILP)

The IIS says which rules clash; the solver's proof says why, as a sum anyone can check. On a 2,691-row hotel week.

Read the guide →

← Back to optlens