Agent♥︎Age
Catalog

optlens

Official

by jjd-lab · Python

Debug and explain LP/MILP models: why infeasible, the smallest fix, what-if and sensitivity.

Model Context Protocol (MCP) Server: io.github.jjd-lab/optlens

The io.github.jjd-lab/optlens MCP server provides capabilities to debug and explain LP/MILP models. Its described focus is identifying why models are infeasible, determining the smallest fix, and supporting what-if and sensitivity analysis.

🛠️ Key Features

  • Debug and explain LP/MILP models
  • Explain infeasibility (why a model is infeasible)
  • Identify the smallest fix
  • Support what-if analysis
  • Support sensitivity analysis

🚀 Use Cases

  • Troubleshooting infeasible LP/MILP formulations
  • Investigating minimal changes to restore feasibility
  • Evaluating alternative scenarios via what-if analysis
  • Assessing how results change under parameter variations with sensitivity

⚡ Developer Benefits

  • Faster diagnosis of infeasible LP/MILP models
  • Guidance on minimal corrective actions
  • Structured exploration of scenario and sensitivity changes

⚠️ Limitations

  • Scope is limited to debugging/explaining LP/MILP models; other model types are not described.

Topics

claude-codegurobihighsiisinfeasibilitylinear-programmingllm-agentsmcpmixed-integer-programmingoperations-researchoptimizationpyomopythonscip