operations research

LP Mining with LP2Graph: A Use Case for Railway Rescheduling

arXiv:2607.11980

summary

The paper presents LP2Graph, a method that automatically extracts the structure of linear and mixed‑integer programming formulations from published papers into a typed variable‑equation graph, creating a reproducible dataset and an objective taxonomy for railway‑rescheduling models.

Abstract

Like many optimization-driven domains, railway rescheduling relies on Mixed-Integer Linear Programming (MILP), yet the field's modeling knowledge is scattered across hundreds of papers in incompatible notations, and narrative surveys organize it subjectively: they classify models by vocabulary rather than by structure, and reproduce neither. We present LP Mining with LP2Graph, a method that mines the structure of published LP and MILP formulations into a reproducible dataset and an induced taxonomy. Its core, LP2Graph, represents each formulation admitted by its canonical grammar as a typed variable--equation graph derived from a single canonical model; once a source is extracted into that model, everything downstream is deterministic. Each source is parsed into this model, homologized, and clustered bottom-up (over variables, then constraints and the objective, then whole-model structure) and, separately, by application domain and solution approach; the resulting groups are labeled by a rule-seeded, self-updating classifier. We validate the representation rather than assume it: per-cluster representatives are regenerated as independent LaTeX and re-solved across CBC, HiGHS and Gurobi against the optimum reported in the source paper. The outcome is an objective, repeatable taxonomy of variables, constraints and model types: the principled foundation on which our raiLPminer line of automated railway-rescheduling model development builds.

22 pages, 2 figures. Work in progress, not yet submitted to a journal; comments welcome. Companion preprint to a talk at IFORS 2026, Vienna

Topics & keywords

#linear programming#mixed-integer programming#model mining#graph representation#railway reschedulingLP2Graphcanonical grammarvariable-equation graphtaxonomy clusteringCBCHiGHSGurobi