LP Mining with LP2Graph: A Use Case for Railway Rescheduling

arXiv cs.AI Papers

Summary

This paper presents LP Mining with LP2Graph, a method that extracts and taxonomizes LP and MILP formulations from the literature into a reproducible dataset using typed variable-equation graphs, demonstrated on railway rescheduling.

arXiv:2607.11980v1 Announce Type: new 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.
Original Article
View Cached Full Text

Cached at: 07/15/26, 04:19 AM

# LP Mining with LP2Graph: A Use Case for Railway Rescheduling
Source: [https://arxiv.org/html/2607.11980](https://arxiv.org/html/2607.11980)
\[ orcid=0009\-0005\-6050\-7596 \]\\cormark\[1\]\\creditConceptualization, Methodology, Software, Data curation, Investigation, Visualization, Writing – original draft\\creditConceptualization, Supervision, Writing – review & editing\\creditSupervision, Writing – review & editing

1\]organization=TU Dresden, addressline=Chair of Railway Operations,"Friedrich List" Faculty of Transport and Traffic Sciences, city=Dresden, postcode=01069, country=Germany 2\]organization=TU Dresden, addressline=ScaDS\.AI Dresden/Leipzig, Chair of Scalable Software Architectures for Data Analytics, city=Dresden, postcode=01069, country=Germany\\cortext\[cor1\]Corresponding author

###### 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 independentLaTeXand 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\.

###### keywords:

mixed integer linear programming\\seprailway rescheduling\\sepoptimization model mining\\sepgraph representation\\septaxonomy\\sepreproducible literature analysis\\sepraiLPminer

\{highlights\}

A deterministic, graph\-based method for mining the structure of LP and MILP formulations from the literature

LP2Graph typed variable–equation graphs enable solver\-free structural comparison and feature extraction

Bottom\-up multi\-level clustering and two\-stage labeling yield a reproducible taxonomy of variables, constraints and model types

Representation fidelity validated by round\-trip translation and cross\-solver reproduction of published optima

## 1Introduction

Many domains, such as production scheduling, vehicle routing, service\-network design and energy dispatch, cast their hardest planning and control decisions as Mixed\-Integer Linear Programs \(MILP\)\(nemhauser1988\), and each has deposited decades of operations\-research \(OR\) modeling knowledge in published formulations\. This paper is about making that knowledge machine\-readable; railway rescheduling is the application area on which we demonstrate it, and a demanding one\. When disruptions invalidate a planned timetable, operators must reroute, reorder and retime trains under tight safety, capacity and connection constraints, and OR research has produced a rich catalogue of recovery models and algorithms for doing so\(cacchiani2014;ReschReview2023;besinovic2020;railrev2022\)\. This catalogue, however, lives almost entirely as prose and mathematics scattered across hundreds of papers, each written in its own notation\. The modeling knowledge that matters \(which variables carry which decisions, which constraint families recur, how whole formulations are structured\) is dispersed and, in its current form, neither searchable nor comparable across sources\.

The conventional way to consolidate such a body of work is a narrative literature review or survey\. These summarize the field subjectively: they can be neither reproduced nor quantified, and they classify formulations by domain vocabulary rather than by the structure of the formulations themselves\(ReschReview2023;railrev2022\)\. Two formulations that share the same underlying structure but use different words are filed apart; two that share words but differ structurally are filed together\. The consequence is concrete: a practitioner who must re\-order and re\-time trains through a disrupted bottleneck and reaches for a published model will find a railway timetable\-rescheduling formulation\(veelenturf2016rescheduling\)and a job\-shop scheduling formulation\(ku2016jobshop\)filed in different literatures\. Yet, read structurally, both are disjunctive “who\-goes\-first” ordering models, and for microscopic bottleneck dispatching the job\-shop model is arguably the closer fit, train dispatching being job\-shop scheduling with blocking\(dariano2008reordering\)\. The title page names the domain; only the structure tells whether a model fits the problem, and a vocabulary\-filed survey cannot surface that\. There is, today, no objective, reproducible, structural account of how railway\-rescheduling models are actually built, and reviewers increasingly expect the selection process itself to follow a documented systematic\-review protocol such as PRISMA\(page2021prisma\), which narrative reviews of this kind do not provide\.

This deficiency is not confined to railways, and that structural kinship is what the method exploits rather than a separate gap it claims to close\. Timetable\-recovery formulations are close structural relatives of the wider transportation literature and, more loosely, of production scheduling and of routing and scheduling models generally, such as vehicle routing, job\-shop scheduling and service\-network design\(toth2014vrp;pinedo2016scheduling;crainic2000snd\), with which they share variable patterns \(assignment, sequencing, flow\) and constraint families \(precedence, capacity, time windows\)\. This kinship is why the corpus is not restricted to railway rescheduling but ordered by structural proximity to it: railway first, the broader transportation domain next, and production as an analogical outer shell drawn on only where nearer domains are sparse, spanning both the reactive rescheduling task and the wider set of planning and control operations \(Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\)\. Railway rescheduling is the demonstration target; the comparable structure the method induces is what makes that widening principled rather than opportunistic\.

A third gap concerns extraction and reproducibility\. In this field it remains uncommon to publish the solver code behind a formulation, which is poor practice for reproducible research: a paper bound to a released model can be cloned and re\-run deterministically, mined exactly and validated in seconds, whereas a PDF\-only formulation must be recovered from its text\. Reading the structure of a model out of free text orLaTeX\(inspecting the formulation rather than re\-implementing it\) has no fully deterministic path, leaving the bulk of the literature’s modeling knowledge locked in a form that cannot be processed at scale\.

We address these gaps with*LP Mining with LP2Graph*, presented as a use case for a systematic, PRISMA\-style literature review of railway rescheduling\. At its core,*LP2Graph*is a deterministic procedure that represents a defined class of LP and MILP formulations, namely those expressible in its canonical grammar \(Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)\), as typed variable–equation graphs derived from a single canonical model\. This paper is therefore*not*a contribution to LLM\-based optimization modeling: no language model participates in the representation, the mining, or the validation\. Where recent work synthesizes new models from natural\-language descriptions, we do the converse: we mine the*published*literature into a structured, comparable, validated corpus; the relation to automated model synthesis is deferred to the outlook \(Section[3\.7](https://arxiv.org/html/2607.11980#S3.SS7)\)\. Around the representation we build a mining pipeline that takes a prioritized corpus of published formulations, extracts and homologizes each into this representation, derives lexical and structural feature vectors, clusters the formulations bottom\-up without prior names, and labels the resulting groups top\-down from existing taxonomy vocabulary\. The induced clusters are then sanity\-checked against the classifications in existing expert review papers, and the divergence between machine\-induced structure and expert taxonomy is quantified and explained, with those expert classifications serving as an interpretive anchor rather than as ground truth\. The headline output is a*dataset*: published models brought into one common form, labeled and grouped, delivering structural*comparability*across formulations that did not exist before\. We deliberately make the*structure*comparable, not the results: different objectives and data make ranking formulations meaningless, so we normalize the foundations, not the outcomes\.

This paper makes four contributions\. \(i\)*LP2Graph*, a deterministic typed variable–equation graph representation of LP/MILP formulations with views, structural metrics and bidirectional codecs between the graph and concrete model sources:LaTeX↔\\leftrightarrowgraph, currently the primary channel, and code↔\\leftrightarrowgraph, importing formulations from solver code and exporting executable models back out\. \(ii\) An end\-to\-end*mining pipeline*\(corpus construction, extraction/homologization, feature construction, multi\-level clustering and two\-stage labeling\) that operates on the published literature\. \(iii\) The mined*dataset*, the primary contribution, which establishes structural comparability across otherwise incompatible formulations\. \(iv\) An induced*taxonomy*of variable roles, constraint families and model types, anchored against and contrasted with expert classifications\. Re\-solving a representative formulation per cluster serves only to validate theLaTeX→\\tograph→\\totranslate→\\tosolve round\-trip, not to rank papers\.

The remainder of the paper is organized as follows\. Section[2](https://arxiv.org/html/2607.11980#S2)reviews the relevant literature and states the gap precisely\. Section[3](https://arxiv.org/html/2607.11980#S3)details the mining method and the LP2Graph representation\. Section[4](https://arxiv.org/html/2607.11980#S4)and Section[5](https://arxiv.org/html/2607.11980#S5)describe the corpus and present the resulting dataset and taxonomy\. Section[6](https://arxiv.org/html/2607.11980#S6)concludes\.

## 2Related Work

### 2\.1Railway rescheduling and the wider routing–scheduling family

Railway timetable recovery has a deep MILP literature: rerouting, reordering and retiming under capacity, headway and connection constraints, solved exactly or with dedicated heuristics\(cacchiani2014;ReschReview2023;besinovic2020;railrev2022\)\. Structurally, these formulations are close relatives of a much larger body of routing and scheduling models, such as vehicle routing, job\-shop scheduling and service\-network design\(toth2014vrp;pinedo2016scheduling;crainic2000snd\), which share variable patterns \(assignment, sequencing, flow\) and constraint families \(precedence, capacity, time windows\) with timetable recovery\. The present work treats railway rescheduling as the demonstration domain while recognizing that the modeling structures it targets recur across this family; that proximity is what later licenses a strategic widening of the corpus \(Section[3](https://arxiv.org/html/2607.11980#S3)\)\.

### 2\.2Surveys, taxonomies and systematic\-review methodology

The standard way to organize this literature is the narrative survey, which classifies models by domain vocabulary and summarizes them subjectively\(ReschReview2023;railrev2022\)\. Existing taxonomies of optimization models do capture recurring variable, constraint and model types, but they are expert\-authored, not reproducible, and rest on naming rather than on the structure of the formulations\. Reviewers now increasingly expect review\-shaped papers to follow a documented systematic\-review protocol, PRISMA\(page2021prisma\), which specifies how a corpus is searched, screened and reported\. We position this paper as a*use case*for such a systematic review: a PRISMA\-conformant corpus protocol feeds a method that induces a taxonomy mechanically, and existing expert classifications serve as an anchor to sanity\-check the induced clusters against rather than as the ground truth\.

### 2\.3Extracting formal models from papers and code

A growing line of work extracts formal optimization models from natural\-language descriptions and turns them into solver code, much of it now LLM\-driven\(Optimus2024;ORLM2025;OptGen2022;SurveyORLM2024;ahmaditeshnizi2024;wasserkrug2024;Formalization2025;li2023optiguide\), accompanied by dedicated benchmarks for natural\-language optimization modeling such as NL4Opt\(ramamonjison2023nl4opt\), NLP4LP\(ahmaditeshnizi2024\)and MAMO\(huang2024mamo\)\. Within this line, validation of the generated models is increasingly treated as a first\-class concern: TriVAL\(fang2026trival\)inserts an explicit construct–validate–revise step at each modeling stage \(semantic specification, mathematical formulation, code\), a validation need to which the structural substrate mined here is directly complementary\. This effort is overwhelmingly oriented toward*synthesis*, producing one new model from a natural\-language prompt, and is evaluated on solve accuracy against curated problem descriptions\. The present work is neither a synthesis system nor a benchmark for one: it mines the*published*literature into a structured, comparable corpus, uses no language model in its pipeline, and is therefore not comparable to these systems on their own terms\. The most faithful source of an existing model is its released code: a paper bound to a public repository can be mined deterministically and validated quickly, whereas PDF\-only formulations must be recovered from text\. Reading a model’s structure out of itsLaTeXor prose \(inspecting the formulation instead of re\-implementing it\) is the data\-extraction problem at the heart of this paper, and it has no fully deterministic solution for unstructured sources\.

### 2\.4Graph representations of optimization models

A MILP has a natural bipartite graph structure, with variables linked to the equations in which they appear, and this representation is well established as a basis for structural analysis and machine learning over combinatorial problems\(gasse2019exact;bengio2021mlco\)\. Graph\-structured views also support deterministic structural metrics \(for example size, constraint\-to\-variable ratio and graph diameter\) that summarize a formulation independently of its wording \(cf\.diameterMetro;diameterStreet\)\. Prior uses of such graphs target learning to solve or to branch; here the same bipartite structure is repurposed as a canonical, comparable*representation*for mining and clustering published models, so that structurally similar formulations group together regardless of the vocabulary their authors chose\.

### 2\.5Cross\-domain structural transfer and the shell\-prioritized corpus

Bringing heterogeneous formal models onto a common footing is not unique to transport: structural\-comparison and instance\-synthesis efforts recur across the wider optimization literature\(smithmiles2012instance;gleixner2021miplib\)\. This is what makes a structurally widening corpus viable\. When railway rescheduling alone is too sparse to support reliable clustering, structurally analogous formulations from the broader transportation domain and, in the outer analogical shell, production scheduling can be drawn in without breaking comparability\. The corpus is ordered along two axes: application domain by proximity to railway, and activity from rescheduling out to general operations\. It therefore grows along a principled priority \(cellsP1P\_\{1\}–P5P\_\{5\}, Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\) rather than opportunistically\.

### 2\.6Reproducibility and validation in OR

Finally, reproducing a published optimization result is itself non\-trivial when neither data nor code is released, and a mined representation must be shown to be faithful rather than assumed so\. Round\-trip translation \(regenerating an independent formulation from the graph\), cross\-solver re\-solving and reproduction of a paper’s reported optimum are the available levers\(koch2011miplib2010\)\. In this work validation is applied a posteriori and only to confirm the representation’s round\-trip fidelity, not to rank papers or claim one model superior to another\.

### 2\.7Gap

Across all of the above, the same gap recurs and is the one this paper targets\. There is no objective, reproducible,*structural*account of how railway\-rescheduling \(and, more broadly, routing and scheduling\) optimization models are built\. Narrative surveys are subjective and non\-reproducible; existing taxonomies classify by vocabulary, not structure; extraction work synthesizes new models instead of mining existing ones into a comparable form; graph representations are used to solve rather than to compare; and the bulk of the literature’s modeling knowledge stays locked in text because reading structure out of unstructured sources has no deterministic path\. The consequence is an absence of*comparability*: no shared, labeled dataset of variable roles, constraint families and model types against which formulations can be placed side by side\.*LP Mining with LP2Graph*is designed to close exactly this gap: it mines*existing*models rather than synthesizing new ones, uses a deterministic*structural*representation, delivers a comparable labeled dataset carrying an*induced*taxonomy, and checks representation fidelity*a posteriori*\.

## 3Methodology

This section develops a method for*mining*the structure and content of published LP and MILP formulations and distilling them into a reproducible dataset and a taxonomy\. The analysis is constructive, and its determinism boundary is stated precisely: extracting a formulation from a heterogeneous source into the canonical model involves interpretation and is audited rather than claimed exact \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\);*from the validated canonical model onward*, the pipeline is deterministic \(given the same corpus, configuration and versioned resources it produces the same feature vectors, clusters and rule\-assigned labels\), and the human\-in\-the\-loop steps \(ambiguous extractions and adjudicated labels\) are logged so the end\-to\-end result is reproducible by replay rather than by re\-judgment\. The single design principle underlying every step is a*cluster\-and\-name operator*\(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\): meaningful textual tokens are extracted, grouped into concepts through an acknowledged lexical resource, projected into a fixed\-dimensional vector, clustered, and named after the most frequent formulation inside each cluster\. The contribution of this paper is to apply that operator, together with the deterministic structural representation provided by*LP2Graph*, in a disciplined bottom\-up sweep over the constituent parts of an optimization model\.

Figure[1](https://arxiv.org/html/2607.11980#S3.F1)summarizes the pipeline\. A corpus of formulations is assembled and prioritized by proximity to the target problem \(Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\)\. Each formulation is parsed from solver code, publisher full\-text markup orLaTeXinto the LP2Graph canonical model and homologized \(Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2), Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\)\. Lexical features over names and deterministic structural features over the graph are combined into feature vectors, which drive the multi\-level clustering and naming \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\): variables and parameters first, then constraints and the objective conditioned on the variables they couple, then whole\-model structure; in parallel a text\-only analysis clusters each model along the two dimensions of application domain and solution approach\. The resulting groups receive multi\-level, multi\-dimensional labels from a two\-stage mechanism that seeds labels with transparent rules, generalizes them with a supervised classifier, and writes confident predictions back into a versioned label database \(Section[3\.5](https://arxiv.org/html/2607.11980#S3.SS5)\)\. The faithfulness of the underlying representation is established empirically, not assumed: for the highest\-cited representative of each cluster, LP2Graph regenerates the model, translates it into a second modeling language, re\-solves it across independent solvers, and reproduces the optimum reported in the source paper \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\)\. The outputs are a reproducible dataset and a new taxonomy \(Section[3\.7](https://arxiv.org/html/2607.11980#S3.SS7)\)\.

1\. Corpus constructionshell\-prioritized LP/MILP sources \(solver code, publisher XML/MathML,LaTeX\)2\. Extraction & homologizationparse to LP2Graph canonical model; normalize symbols3\. Feature constructionlexical concepts⊕\\oplusdeterministic structural metrics→\\rightarrowvectors4\. Multi\-level clustering & namingvariables→\\rightarrowconstraints/objective→\\rightarrowmodel type; text\-only domain×\\timessolution approach5\. Two\-stage labelingrule seed→\\rightarrowsupervised classifier; closed\-loop label database6\. Outputsreproducible dataset\+\+taxonomy \(variables, constraints, model types\)Representation\-fidelity validationgraph→\\rightarrowLaTeX→\\rightarrowgraph round\-trip; translate to a 2nd modeling language; re\-solve \(CBC/HiGHS/Gurobi\) vs\. published optimum

Figure 1:The LP\-mining pipeline\. Solid arrows are the forward path from corpus to taxonomy, deterministic from the validated canonical model \(stage 2 output\) onward, with the extraction into that model audited separately \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\); the dashed loop is the*a posteriori*representation\-fidelity check applied to the highest\-cited representative of each cluster\.
### 3\.1Scope and Corpus Construction

#### 3\.1\.1Domain scope: a shell model

The corpus is defined over two orthogonal axes\. The first is the*application domain*, ordered by structural proximity to the target problem: railway is the inner shell, the broader field of transportation is the middle shell, and production \(manufacturing\) forms an outer shell\. These shells are not strict set inclusions \(production scheduling is not a superset of transportation\) but a deliberate ordering of*structural transferability*: the further from railway, the looser the expected match between a source formulation and railway rescheduling, hence the lower its priority for inclusion\. The second axis is the*activity*: rescheduling, i\.e\. the reactive re\-optimization of plans under disruption, which is the target task, is a proper subset of the wider set of operations \(planning, control and dispatching\)\. Figure[2](https://arxiv.org/html/2607.11980#S3.F2)visualizes both axes\.

Crossing the two axes yields the inclusion priority\. The four cells spanned by the in\-scope transportation super\-domain are ranked activity\-first and domain\-second: railway rescheduling \(P1P\_\{1\}\), transportation rescheduling \(P2P\_\{2\}\), railway operations \(P3P\_\{3\}\) and transportation operations \(P4P\_\{4\}\)\. Production rescheduling is appended as an outer analogical shell \(P5P\_\{5\}\) and is drawn on only to augment clusters left sparse by the four in\-scope cells; production operations is out of scope\. Rescheduling is prioritized over general operations because disruption\-response models carry the temporal\-recovery and re\-allocation structure most relevant to the target, while the domain ordering reflects decreasing notational and structural compatibility\.

RESCHEDULING\(reactive, under disruption\)OPERATIONS\(planning & control\)Railwayrescheduling\(P1P\_\{1\}\)Railwayoperations\(P3P\_\{3\}\)Transportationrescheduling\(P2P\_\{2\}\)Transportationoperations\(P4P\_\{4\}\)Productionrescheduling\(P5P\_\{5\}\)Production operations\(out of scope\)proximity→\\rightarrowpriorityFigure 2:Domain\-shell model\. Concentric shells order application domains by structural proximity to the target \(railway⊂\\subsettransportation, with production as an analogical outer shell\); the horizontal split separates the target activity, rescheduling, from the wider set of operations\. BadgesP1P\_\{1\}–P5P\_\{5\}give the corpus inclusion priority \(activity\-first, then domain\); production operations is excluded\.
#### 3\.1\.2Construction protocol

Mining requires breadth: a taxonomy is only as defensible as the coverage of the corpus it is induced from\. The protocol therefore admits formulations broadly within a fixed quality order and defers selectivity to the validation stage, where a single representative per cluster is examined in depth \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\)\. This separation lets the corpus be large without diluting the rigor of the fidelity check\.

##### Reporting standard\.

The corpus construction follows the PRISMA guidelines for systematic reviews, reporting identification, screening, eligibility and inclusion with counts at each stage so the selection is auditable and reproducible\.\(page2021prisma\)Within the full corpus we additionally mark a*core corpus*\(the subset that satisfies the strict PRISMA eligibility criteria and the top quality tier\) and report it separately, so that results can be read either over the broad mining corpus or over the smaller, fully review\-grade core\.

##### Quality tiers\.

Sources are admitted in descending order of editorial scrutiny: \(i\) peer\-reviewed journal articles and proceedings of established operations\-research and transportation venues; \(ii\) other peer\-reviewed conference papers and book chapters; and only to fill residual gaps in under\-populated clusters, \(iii\) theses, technical reports and preprint servers such as arXiv\. A formulation enters from a lower tier only when the higher tiers leave its cell or cluster below a documented minimum support\. Predatory and pay\-to\-publish outlets whose editorial control is known to be weak \(typically broad, generic\-scope journals run on a high\-throughput author\-pays model\) are excluded outright, irrespective of tier\.

##### Source artifact\.

Orthogonal to the venue tier is the form in which a formulation is published\. A formulation accompanied by released solver code bound to its source paper is the highest\-fidelity source: it can be ingested deterministically and re\-solved within seconds, so it doubles as a validation anchor \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\)\. Formulations available only asLaTeXor prose are admitted as well and parsed accordingly \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\)\. Released code that is*not*attached to a published formulation \(unpublished or student repositories\) is out of scope, since neither provenance nor peer scrutiny can be established for it\.

##### Search and expansion\.

Each priority cellP1P\_\{1\}–P5P\_\{5\}is seeded with a keyword query \(domain terms×\\timesoptimization terms, e\.g\. “train timetable rescheduling MILP”\)\. The seed set is then expanded by systematic snowballing in both directions \(backward over the reference lists and forward over the citing papers\) until no new in\-scope formulations appear\. The search date is frozen and every query string is recorded so the corpus can be regenerated\.

##### Unit of analysis and inclusion\.

The unit is a*formulation*: one optimization model comprising at least an objective and a constraint set that can be recovered from the paper’s text, an appendix, or accompanying solver code\. A single paper may contribute several formulations \(e\.g\. a base model and an extension\), each treated independently with a shared provenance record\. A candidate is*included*iff it \(a\) falls in an in\-scope cell, \(b\) is an LP or MILP \(a linear objective and linear constraints, with integer or binary variables for the MILP case\), and \(c\) exposes a recoverable formulation\. It is*excluded*if it presents only a verbal or heuristic procedure with no explicit model, is nonlinear without a linearized variant, or duplicates an already\-ingested formulation\. These criteria are mutually exclusive and, over the candidate pool, collectively exhaustive\.

##### Provenance\.

Every ingested formulation carries a record: source identifier, venue and tier, year, citation count at the freeze date, domain shell, activity, and the priority cellPkP\_\{k\}\. Citation count is retained specifically to drive the*a posteriori*selection of validation representatives \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\); it is not used during clustering, so that popularity cannot bias the induced structure\.

##### Reproducibility and threats\.

The protocol is reproducible up to the freeze date: identical queries, tier thresholds and deduplication produce an identical corpus\. Three threats are acknowledged and carried forward to the discussion of validity\. Citation count is an imperfect proxy for importance and is recency\-biased; venue quality is heterogeneous across sub\-fields; and formulations that are well formalized in machine\-readable form are easier to ingest, which can over\-represent recent or code\-released work\. The current corpus comprises 8957 candidate formulations from 238 source papers \(pre\-review\); Figure[3](https://arxiv.org/html/2607.11980#S3.F3)reports the full PRISMA flow, and the per\-cellP1P\_\{1\}–P5P\_\{5\}distribution follows from the domain/activity classification \(in progress\)\.

Identification\.Database search \(6 frozen queries\): 45 records; 2 duplicates removed→\\rightarrow43 unique\. Other methods \(citation searching / snowballing\): 10056 records identified\.Screening\.43 database records screened against the in\-scope cellsP1P\_\{1\}–P5P\_\{5\}\.Eligibility\.286 reports retrieved and assessed; 48 excluded \(10 full text not entitled, 15 no machine\-readable formulas, 23 awaiting Tier\-3 PDF extraction\)\.Included\.238 source papers contributing 8957 candidate formulations enter the mining pipeline\.Figure 3:PRISMA flow of corpus construction\. Counts are generated deterministically from the corpus artifacts \(corpusbuilder\.prisma\) and re\-imported as macros, so the figure tracks the corpus exactly\. Counts shown are the current pre\-review snapshot\.

### 3\.2The LP2Graph Representation

Mining structure requires a representation that is precise, comparable across papers, and computable without solving\.*LP2Graph*111Open\-source librarylp2graph; see the repository for the canonical schema, view derivations and validation suite\.provides one\. It represents an LP, MIP or MILP as a*typed variable–equation graph*derived deterministically from a single canonical data model: identical input always yields byte\-identical output, with no language model, sampling or temperature anywhere in the procedure\. This determinism is what makes the mined dataset reproducible\. The representation covers a*defined*class of formulations, not all of mathematical programming; its scope, the distinction between what it can represent and what it can solve, and what the graph preserves, normalizes and loses are stated explicitly at the end of this section\.

#### 3\.2\.1Canonical model

A formulation is a schema\-versioned document declaring five parts\.*Index families*\(e\.g\. trains, events, time slots\) may be*ordered*\(admitting offsets such ast−1t\-1\) and*cyclic*\(wrapping modulo their cardinality, as in periodic timetabling\)\.*Parameters*carry akind\(scalar, vector, matrix, big\-M, tolerance\); the big\-M and tolerance tags are semantic, not decorative, and surface later as structural signals\.*Variable templates*declare a shape over index families, a domain \(continuous, integer, binary\) with bounds, and a*role*\(primary, auxiliary, slack, indicator\); a templatey​\[I,I\]y\[I,I\]stands for the whole family of\|I\|2\|I\|^\{2\}variables\.*Constraint templates*are a comparison of two term lists under*quantifiers*over index families, with restrictions \(i≠ji\\neq j, ordered pairs, attribute\-basedwhere\-predicates\)\. The*objective*declares a sense and a combination rule \(sum, weighted sum, lexicographic\)\. Variables, parameters and constraints may additionally carry an*additive semantic facet*\(a domain\-role for variables, a domain\-class for parameters and constraints\) recorded alongside the structural fields; it is optional and never required for validity, and is read into the type signature during homologization \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\)\. The atomic unit is a*term*: a tuple of a referent \(variable, parameter or literal\), one binding per index slot \(with offset and modulo\), a coefficient, a sign, a role, and an optional aggregation operator \(∑\\sum,max\\max,min\\min,abs\\mathrm\{abs\}, indicator, modulo\) with the index families it ranges over\. This single term grammar is what allows several graph views to be derived from one source of truth\. Two\-phase validation guards integrity: a JSON\-schema check on document shape, then a semantic check on cross\-cutting invariants: every referenced name is declared, every binding covers the referent’s shape, and the family222In the library the model class is thefamilyfield, taking valueslp/mip/milp; this LP/MIP/MILP class is distinct from the*constraint families*induced at Level C \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\)\.is consistent \(an LP carries no integer or binary variable, an MILP at least one\)\.

#### 3\.2\.2Typed variable–equation graph and views

The structural object is a typed variable–equation graphG=\(N,E\)G=\(N,E\)\. NodesNNpartition into classes: one per index family, one per parameter, one per variable template, one per constraint template, the objective, and one aggregation\-operator node inserted between a container and the variables it aggregates\. EdgesEEare also typed: a*var\-in\-constraint*or*var\-in\-objective*edge for each term, an edge from each variable or parameter to the index families that shape it, and operator input/output edges\. Restricting attention to the variable and equation \(constraint/objective\) classes recovers the familiar bipartite intuition \(variables on one side, the equations that govern them on the other\) while the typing retains everything needed for finer analysis\.

Three deterministic view functions expose this object at different resolutions\. The*schema view*is the topology alone: templates and indices, with offsets suppressed\. It is the canonical structural fingerprint \(any two formulations with the same template skeleton produce the same schema graph\) and is therefore the basis for cross\-formulation comparison and for all topological metrics in this paper\. The*hybrid view*enriches the schema view with per\-binding offset, sign and modulo labels, and is used for inspection\. The*ground view*materializes every variable and constraint instance at supplied index cardinalities and applies degeneracy filters \(out\-of\-range offsets dropped, restricted tuples excluded, cyclic bindings wrapped\); it is used for rendering at small sizes and, exported to PyG/DGL, as input to downstream graph learning\. Export adapters to NetworkX, LaTeX and Pyomo are available for interoperability\. Figure[4](https://arxiv.org/html/2607.11980#S3.F4)illustrates the representation on a small example\.

\(a\) A small formulation

mint,y\\displaystyle\\min\_\{t,y\}\\∑i∈Iti\\displaystyle\\textstyle\\sum\_\{i\\in I\}t\_\{i\}s\.t\.tj−ti≥h−M​\(1−yi​j\),\\displaystyle t\_\{j\}\-t\_\{i\}\\geq h\-M\\,\(1\-y\_\{ij\}\),∀i,j∈I,i<j,\\displaystyle\\hskip 17\.00024pt\\forall\\,i,j\\in I,\\ i<j,ti≥0,yi​j∈\{0,1\}\.\\displaystyle t\_\{i\}\\geq 0,\\qquad y\_\{ij\}\\in\\\{0,1\\\}\.
\(b\) Typed variable–equation graph t​\[I\]t\[I\]y​\[I,I\]y\[I,I\]hhMMIIzz:min​∑t\\min\\sum tC1C\_\{1\}: headway

Figure 4:The LP2Graph representation on a small big\-M train\-ordering model\. \(a\) the formulation; \(b\) its typed variable–equation \(schema\) graph: variable templates \(t​\[I\]t\[I\],y​\[I,I\]y\[I,I\], grey rounded\), parameters \(hh,MM, square\), the index familyII\(circle\) that shapes the variables, and the constraint and objective nodes \(blue\) they connect to\. The node typing is what lets structurally similar formulations be compared regardless of the symbols their authors chose\.

#### 3\.2\.3Deterministic metrics

Every metric is a pure function of the canonical model or its schema graph\. Two*well\-formedness*indicators are used as structural features \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\)\.*Model coherence*is the indicator that the undirected schema graph is connected; it doubles as a data\-quality signal during ingestion, since a disconnected schema graph flags an extraction in which a declared variable never enters any equation\.*Model completeness*is the indicator that a formulation declares an objective together with at least one variable and at least one constraint: the minimal evidence that a recoverable model, rather than a fragment, was extracted\. The library additionally exposes a heuristic keyword\-based constraint classifier over each constraint’s name and description; we use it only as a seed for labeling \(Section[3\.5](https://arxiv.org/html/2607.11980#S3.SS5)\), never as ground truth\.

The library further computes a family of structural*complexity*metrics \(presence flagsϕ\\boldsymbol\{\\phi\}; minimal sizeSmin=n​Vmin⋅n​CminS\_\{\\min\}=nV\_\{\\min\}\\cdot nC\_\{\\min\}; constraint–variable ratioRC/V=n​Cmin/n​VminR\_\{C/V\}=nC\_\{\\min\}/nV\_\{\\min\}; graph diameterDGD\_\{G\}; edge density\|E\|/\(\|N\|​\(\|N\|−1\)\)\|E\|/\(\|N\|\(\|N\|\-1\)\)\)\. They are not used as clustering features in this version; whether they add discriminative value beyond the type signatures is assessed with the corpus\-scale ablations \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\)\.

#### 3\.2\.4Deterministic text↔\\leftrightarrowgraph codec and solving

Beyond the views, LP2Graph offers a bidirectional, deterministic codec between a formulation’s text and its graph, and a real solver back\-end: the two capabilities the validation in Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)relies on\.to\_canonical\_latexrenders a paper\-styleLaTeXdocument \(calligraphic set notationℰ\\mathcal\{E\},∑\\sum,∀\\forall, big\-M\), andfrom\_canonical\_latexparses it back, resolving each subscripted symbol through the declared symbol table\. The codec is a tested fixed point: serialization is idempotent and the round\-trip preserves the canonical normal form, with only incidental labels normalized; the solvable content \(sets, parameters, variables, constraints, objective\) round\-trips exactly\. The solver back\-end grounds a formulation with an instance \(index cardinalities plus parameter values\) into a concrete linear program and solves it with CBC, HiGHS or Gurobi, so that the same model can be checked across independent solvers\. Together these make a formulation not only comparable but*executable*from its mined representation\.

#### 3\.2\.5Scope and boundary conditions

Because the paper’s central claim is structural comparability, the limits of the representation must be as explicit as its capabilities\. The canonical grammar admits linear formulations built from templates over regular index families: variables with domains continuous, non\-negative, integer or binary and optional finite bounds; constraints comparing two linear term lists under≤\\leq,≥\\geqor==, quantified over index families with pairwise restrictions and attribute\-basedwhere\-predicates; coefficients that are numeric literals or declared parameters; and single\-level summations \(no nested∑∑\\sum\\sum\)\. Indicator constraints are a first\-class construct \(a constraint template may carry a gating binary and an activation value\), and big\-M formulations are explicit rather than implicit: big\-M constants are tagged parameters, and a deterministic transform linearizes an indicator constraint by computing the tightest finiteMMfrom the declared variable bounds\. The objective is single but supports three combination rules: plain sum, weighted sum, and lexicographic priorities\.

Within this class the library distinguishes what it can*represent*from what it can*solve*, and the distinction matters for which fidelity claims \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\) a model can carry\. Aggregation operators beyond summation \(max\\max,min\\min,abs\\mathrm\{abs\}, indicator terms, modulo terms\) and lexicographic objectives are representable \(they appear as typed operator nodes in the graph and count fully toward structural comparison\), but the grounder rejects them for direct solving with an explicit*unsupported\-model*error: an indicator constraint must first be linearized by the big\-M transform, a lexicographic objective solved as a sequence of single\-objective problems, and the remaining operators await linearization rules\. Outside the schema altogether are quadratic and other nonlinear terms, piecewise\-linear constructs, SOS sets, semi\-continuous variables, and solver\-specific devices such as lazy constraints or callbacks; a source model using them is recorded with an explicit extraction status \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\) rather than approximated silently\.

The graph*preserves*template\-level structure exactly: the typed nodes and edges, index shapes, quantifier patterns and restrictions, per\-binding offsets and modulo wraps, domains, roles, and the semantic parameter and constraint tags\. It*normalizes*away author\-specific surface form: symbol names \(recovered separately by homologization, Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\), notational variants of the same term, and term order, all mapped to a canonical normal form\. It*loses*whatever is not structural: concrete instance data \(re\-attached only at grounding time\) and any prose semantics not captured by the optional semantic facets\. On this basis*structural equivalence*has a precise meaning: two formulations are structurally equivalent when their schema graphs are isomorphic respecting node and edge types \(identical template skeletons up to renaming of symbols and index families\), while finer distinctions \(offsets, signs, modulo wraps\) are compared on the hybrid view\. Equivalence is thus a statement about model*architecture*, deliberately insensitive to instance size and notation, and it is the invariant on which all cross\-formulation comparison in this paper rests\.

### 3\.3Extraction and Homologization

Every source formulation must become a validated LP2Graph canonical model before any analysis\. Two facts make this non\-trivial: papers express the same construct in incompatible notations, and the deterministic codec of Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)parses only the canonical grammar, not arbitrary author notation\. We therefore separate*extraction*\(recovering a canonical model from a heterogeneous source\) from*homologization*\(reducing the recovered symbols to a common, comparable form\)\.

#### 3\.3\.1Extraction

Extraction is the one stage of the pipeline that is*not*claimed to be deterministic, and we state its boundary precisely: once a formulation has been extracted into the LP2Graph canonical model and certified by the two\-phase validator, everything downstream \(representation, feature construction, clustering, labeling and reporting\) is deterministic; the path*from source to canonical model*involves interpretation whose difficulty depends on the source channel\. We therefore distinguish the channels explicitly, ordered by decreasing reliability\.

*\(i\) Solver code\.*A formulation published as executable code \(Pyomo, GAMS, AMPL, JuMP\) is the preferred input: its sets, variables and constraints are already symbolic and machine\-readable, so an importer maps them onto the canonical schema with essentially no interpretation\.*\(ii\) CanonicalLaTeX\.*A formulation already expressed in, or mechanically transcribable to, the canonical grammar is parsed directly by the library’s deterministic parser\.*\(iii\) Publisher full\-text markup\.*The bulk of the corpus arrives through structured publisher interfaces, full\-text XML with MathML equations \(Elsevier’s text\-and\-data\-mining API\) andLaTeXsources \(arXiv\), from which each display equation is recovered as machine\-readableLaTeX\. This channel does*not*operate on rendered PDFs; markup\-to\-LaTeXconversion is rule\-based, but the subsequent step, reconstructing the symbol table \(which letters denote index families, parameters and variables, and their shapes\) and rewriting each declaration and constraint into canonical templates and terms, requires reading the surrounding prose and is where interpretation enters\.*\(iv\) Manual transcription\.*A formulation available only as typeset mathematics or prose is transcribed by hand into the canonical grammar\.*\(v\) Manual correction\.*Any automatic result may be corrected by hand; corrections are first\-class events, not silent overwrites\.

Whatever the channel, the*output*is always a canonical document re\-checked by the same deterministic validator, and every transformation, automatic or human, is logged with provenance \(channel, tool version, source locator, correction history\) so each model traces back to its source lines and the human share of the reconstruction is reportable, not hidden\. The human decisions of channels \(iv\) and \(v\), namely accepting, correcting or rejecting each recovered formulation and screening papers for scope, are collected through a dedicated mobile review instrument that presents each formulation with its source rendering and records every decision as a versioned, exportable event, so the manual share of the corpus is elicited systematically rather than ad hoc; a gamified variant of the same instrument opens this review to additional annotators\.333A public demonstrator of the review instrument, restricted to a small openly licensed \(CC\-BY\) subset of the corpus, is available at[https://railpmining\.joernmaurischat\.de/](https://railpmining.joernmaurischat.de/)\.Sources that resist extraction are themselves data: a paper whose model is documented incompletely, inconsistently or ambiguously is recorded as such \(via the completeness and coherence indicators of Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)and an explicit extraction\-status field\) rather than silently repaired, so the corpus also yields an honest picture of documentation practice in the field\.

##### Extraction\-quality audit\.

Because the taxonomy can only be as reliable as the extraction feeding it, extraction quality is audited directly rather than assumed\. A stratified sample of formulations, covering all source channels, is independently extracted a second time by a human into a gold canonical model, and the pipeline’s model is compared against it element\-wise: precision and recall over index families, parameters, variables and constraints \(matched under the homologization equivalence of Eq\. \([1](https://arxiv.org/html/2607.11980#S3.E1)\)\), together with a categorization of every disagreement \(missed element, spurious element, wrong domain or shape, wrong comparator or term, under\-specified source\)\.*\[Deferred to the corpus\-scale version: report audit sample size, per\-element precision/recall per channel, and the error\-category distribution\.\]*

#### 3\.3\.2Homologization

A variable namedxxin one paper andzzin another may denote the same construct; conversely, the same letter may denote different things\. Homologization removes this accidental variation so that entities are compared by what they*are*, not by the symbol an author happened to choose\. We define it as a map on each extracted symbolss\(a variable, parameter or constraint\),

h​\(s\)=\(τ​\(s\),κ​\(s\)\),h\(s\)=\\big\(\\tau\(s\),\\ \\kappa\(s\)\\big\),\(1\)with two independent components\. The*type signature*τ​\(s\)\\tau\(s\)is read directly from the canonical model: for a variable, its algebraic domain, structural role, the ordered list of index families of its shape, and, where the model assigns one, a semantic domain\-role; for a parameter, its kind, shape and optional domain\-class; for a constraint, its comparator, the quantifier and restriction structure, the multiset of referent kinds in its terms, and its declarative kind and optional domain\-class\. Type signatures are invariant to index renaming, sox​\[I,T\]x\[I,T\]andz​\[A,B\]z\[A,B\]with matching domains and family structure share a signature\. The*concept*κ​\(s\)\\kappa\(s\)is obtained by normalizing the symbol’s name and its surrounding description \(subscripts split, case folded, lemmatized, stop\-words removed\) and mapping the resulting meaningful tokens onto a concept identifier through the shared lexical resource of Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4); this is what collapses “headway”, “minimum separation” and “safety distance” to one concept\. Two entities are*homologous*when they agree on both components,s∼s′⇔τ​\(s\)=τ​\(s′\)∧κ​\(s\)=κ​\(s′\)s\\sim s^\{\\prime\}\\iff\\tau\(s\)=\\tau\(s^\{\\prime\}\)\\ \\wedge\\ \\kappa\(s\)=\\kappa\(s^\{\\prime\}\), up to index renaming\.

Homologization is applied bottom\-up\. Variables and parameters, the atomic elements of any LP, are homologized first, because their signatures and concepts are needed to characterize the constraints and objective that reference them \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\)\. The procedure is deterministic given a fixed lexical resource and concept map; the precise normalization rules and the concept inventory are versioned, so re\-running homologization on the same corpus reproduces the same homologized entities\. Residual ambiguity \(a symbol whose role or concept cannot be assigned automatically with sufficient confidence\) is queued for human adjudication and the resolution is written back, with provenance, into the same versioned store used for labeling, closing the loop between extraction and the label database \(Section[3\.5](https://arxiv.org/html/2607.11980#S3.SS5)\)\. Extraction error is the dominant threat to this stage and is quantified directly in Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)by regenerating each validated model’sLaTeXand comparing it against the source\.

### 3\.4Feature Construction and Multi\-level Clustering

The taxonomy is induced, not imposed\. A single*cluster\-and\-name*operator is defined once and then applied at every level of the model, each time over features appropriate to that level\. Defining it once is what makes the procedure uniform and auditable\.

#### 3\.4\.1The cluster\-and\-name operator

LetEEbe a finite set of textual entities, each carrying a name and, optionally, a short description\. The operatorCN​\(E\)\\mathrm\{CN\}\(E\)returns a partition ofEEtogether with a name for each part, in three deterministic steps\.

##### \(1\) Meaningful tokens to concepts\.

Each entity’s text is tokenized, case\-folded, split on subscripts and compounds, lemmatized, and reduced to content words by removing function words and a domain stop\-list \(so “railway” is kept and “is” discarded\)\. A concept mapggsends each remaining token to a conceptccin a fixed vocabulary𝒞\\mathcal\{C\}, grouping synonyms primarily through a frozen, versioned domain thesaurus \(the deterministic backbone, covering domain terms that general resources miss, e\.g\. “headway”, “rolling stock”\) and, optionally, through an acknowledged lexical database \(WordNet synsets\)\(miller1995wordnet;fellbaum1998wordnet\)when its pinned release is available; a token matched by neither falls back to its lemma\. Grouping by frozen, versioned resources, rather than by ad\-hoc judgment, is what keeps the concept assignment reproducible\.

##### \(2\) Concept vector\.

For entityeewith token multisetT​\(e\)T\(e\), the count of conceptccisne,c=\|\{w∈T​\(e\):g​\(w\)=c\}\|n\_\{e,c\}=\|\\\{w\\in T\(e\):g\(w\)=c\\\}\|, weighted by a smoothed term frequency–inverse document frequency over the collection,

w^e,c=ne,c⋅\(ln⁡1\+\|E\|1\+\|\{e′∈E:ne′,c\>0\}\|\+1\),\\hat\{w\}\_\{e,c\}=n\_\{e,c\}\\;\\cdot\\;\\Big\(\\ln\\frac\{1\+\|E\|\}\{\\,1\+\|\\\{e^\{\\prime\}\\in E:n\_\{e^\{\\prime\},c\}\>0\\\}\|\\,\}\+1\\Big\),\(2\)the additive smoothing \(the1\+1\+terms and the trailing\+1\+1\) keeping the weight strictly positive and finite even for a concept that occurs in every entity or in none\. The raw vector𝐯^​\(e\)=\(w^e,c\)c∈𝒞\\hat\{\\mathbf\{v\}\}\(e\)=\(\\hat\{w\}\_\{e,c\}\)\_\{c\\in\\mathcal\{C\}\}is thenL2L^\{2\}\-normalized,𝐯​\(e\)=𝐯^​\(e\)/∥𝐯^​\(e\)∥2\\mathbf\{v\}\(e\)=\\hat\{\\mathbf\{v\}\}\(e\)/\\lVert\\hat\{\\mathbf\{v\}\}\(e\)\\rVert\_\{2\}, so entities are compared under cosine distance and the per\-entity token total cancels; common concepts that fail to discriminate are down\-weighted automatically\. At the structural levels below, the structural facets from LP2Graph are folded into the*same*vector rather than kept as a separately scaled block: the categorical type\-signature components enter directly as one\-hot tokens, weighted by the scheme of Eq\. \([2](https://arxiv.org/html/2607.11980#S3.E2)\)\. \(The presence flags and the continuous complexity metrics are not used in this version; see Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)\.\) The result is a single homogeneous vector𝐯~​\(e\)\\tilde\{\\mathbf\{v\}\}\(e\)on which no block dominates by scale\.

##### \(3\) Cluster and name\.

A clustering algorithm𝒜\\mathcal\{A\}partitions\{𝐯~​\(e\)\}\\\{\\tilde\{\\mathbf\{v\}\}\(e\)\\\}under cosine distance into clustersC1,…,CKC\_\{1\},\\dots,C\_\{K\}plus an explicit “unassigned” set, so that every entity lands in exactly one part\. The default𝒜\\mathcal\{A\}is a deterministic agglomerative clustering \(average linkage under cosine distance, with a distance threshold that discoversKKand leaves genuine outliers as singletons\), chosen so that the partition is exactly reproducible and free of any external dependency; a fixed\-KKvariant selectsKKby the silhouette criterion\(rousseeuw1987silhouettes\), and a density\-based backend \(HDBSCAN\)\(campello2013hdbscan;mcinnes2017hdbscan\), which infersKKand isolates outliers rather than forcing them into clusters, is available as an option\. Each cluster is named after its most characteristic concepts \(the “most common formulation within”\) by aggregating the normalized concept weights of Eq\. \([2](https://arxiv.org/html/2607.11980#S3.E2)\),

ℓj=arg​maxc∈𝒞​∑e∈Cjve,c,\\ell\_\{j\}=\\operatorname\*\{arg\\,max\}\_\{c\\in\\mathcal\{C\}\}\\sum\_\{e\\in C\_\{j\}\}v\_\{e,c\},\(3\)optionally reported as the top\-mmconcepts plus the medoid entity as an exemplar\. The operator is thusCN​\(E\)=\{\(C1,ℓ1\),…,\(CK,ℓK\)\}\\mathrm\{CN\}\(E\)=\\\{\(C\_\{1\},\\ell\_\{1\}\),\\dots,\(C\_\{K\},\\ell\_\{K\}\)\\\}\.

#### 3\.4\.2Bottom\-up structural levels

The operator is applied in three passes, each consuming the output of the one below, so that higher\-level structure is expressed in terms of lower\-level vocabulary\.

##### Level V: variables and parameters\.

Entities are the homologized variables and parameters\. Features are the concept of the name, Eq\. \([2](https://arxiv.org/html/2607.11980#S3.E2)\), concatenated with the type signatureτ\\tauof Eq\. \([1](https://arxiv.org/html/2607.11980#S3.E1)\) encoded categorically as one\-hot tokens \(algebraic domain, structural role, shape arity and index families, parameter kind, and the canonical model’s semantic domain\-role/domain\-class facet where assigned\)\.CN\\mathrm\{CN\}yields clusters of*variable and parameter types*\(e\.g\. binary sequencing indicators, continuous time/position variables, big\-M parameters\), each named by Eq\. \([3](https://arxiv.org/html/2607.11980#S3.E3)\)\.

##### Level C: constraints and objective\.

Entities are the constraint templates and the objective\. The feature vector conditions on Level V: the concept of the constraint’s name and description, concatenated with the histogram of Level\-V clusters over the variables the constraint couples, and with the constraint’s structural signature \(comparator, quantifier/restriction pattern\)\. Conditioning on which variable*types*a constraint connects is what lets structurally identical couplings be recognized across different notations\.CN\\mathrm\{CN\}yields*constraint families*\(and objective types\), e\.g\. headway/separation, capacity, connection/transfer, flow conservation, big\-M disjunctions\.

##### Level M: model type\.

Entities are whole formulations\. Features are the histogram of Level\-C constraint families and Level\-V variable types present in the model, concatenated with the model\-level well\-formedness indicators of Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)\(coherence and completeness\)\.CN\\mathrm\{CN\}yields*model types*: a structural answer to “what kind of model is this”, derived from its parts rather than asserted by its authors\.

#### 3\.4\.3Text\-only domain and approach

Independently of the graph, two further labelings are induced from the paper text alone, because application domain and solution method are properties of the work, not of the formulation’s structure\. Running the operator’s lexical pipeline \(steps 1–2\) over, respectively, the problem\-description text and the methods text yields two one\-dimensional clusterings: the application*domain*\(e\.g\. metro, mainline, freight\) and the*solution approach*\(e\.g\. exact branch\-and\-cut, decomposition, rolling\-horizon, matheuristic\)\. Their product is a two\-dimensional, text\-only descriptor \(domain×\\timesapproach\) attached to each model\. Holding this descriptor apart from the structural levels is deliberate: it lets us later cross\-tabulate*what*is modeled \(structure\) against*where*and*how*it is solved \(text\), and to detect where authors’ stated framing diverges from the structure they actually wrote\.

#### 3\.4\.4Determinism, cluster validity and ablations

Given a frozen corpus, a versioned concept vocabulary𝒞\\mathcal\{C\}, and fixed algorithm seeds, every pass reproduces the same partition and the same names\. Cluster quality is reported with the silhouette coefficient; stability is reported as the adjusted Rand index across bootstrap resamples and across reasonable choices of𝒜\\mathcal\{A\}and of the vocabulary cutoff\|𝒞\|\|\\mathcal\{C\}\|, so that a reviewer can see which clusters are robust and which are artefacts of a parameter choice\.*\[Deferred to the corpus\-scale version: reportKKat each level, silhouette, and bootstrap ARI\.\]*

An induced taxonomy invites a specific objection: that the clusters reflect naming conventions, notation, or corpus artefacts rather than mathematical structure\. Because the feature vector deliberately mixes lexical and structural evidence, this is answered by ablation, not by assertion\. The empirical evaluation therefore reports, at each level, the partitions obtained from*lexical features only*, from*structural features only*\(type signatures, coupling histograms and structural signatures, with all concept tokens removed\), and from the combined vector, together with the pairwise adjusted Rand index between the three: high lexical–structural agreement indicates that names and structure carry the same signal, while divergence localizes exactly where vocabulary and mathematics part ways\. The same protocol covers the remaining design choices: clustering from variables only, constraints only, and the full model at Level M; with and without homologization \(raw symbols versus homologized entities\), which quantifies how much comparability the normalization actually buys; and across the clustering backends and their parameters \(agglomerative threshold, fixed\-KKsilhouette variant, HDBSCAN\) and the feature weighting of Eq\. \([2](https://arxiv.org/html/2607.11980#S3.E2)\) versus unweighted counts\.*\[Deferred to the corpus\-scale version: ablation table, per level: lexical / structural / combined silhouette and pairwise ARI; with/without homologization; backend sensitivity\.\]*

### 3\.5Multi\-level Labeling

Clustering discovers structure but its parts are anonymous and corpus\-specific\.*Labeling*assigns each entity a value from a controlled vocabulary that is stable, human\-meaningful and reusable across corpora; the union of these vocabularies is the taxonomy\. Labels are organized by level and dimension: at the variable level a*type*; at the constraint level a*family*; at the model level a structural*type*together with the text\-derived*domain*and*solution approach*\. Each dimension has its own controlled vocabulary, seeded from the cluster names of Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)and then frozen and versioned\.

#### 3\.5\.1Two\-stage mechanism with a closed loop

Labels are assigned by a two\-stage mechanism, deliberately combining the precision of explicit rules with the recall of a learned model, and feeding the learner’s confident output back to grow the rules and the labeled set\.

*Stage 1: rule seed\.*A transparent rule layer maps unambiguous evidence to labels: presence flags and type signatures from LP2Graph, and matches of an entity’s concepts against a seed lexicon of domain\-typical terms compiled from the highest\-cited reference formulations\. A rule returns a label or abstains,r​\(e\)∈𝒴∪\{⊥\}r\(e\)\\in\\mathcal\{Y\}\\cup\\\{\\bot\\\}\. Rules are high\-precision but low\-recall; their value is a trustworthy labeled seed setL=\{\(e,r​\(e\)\):r​\(e\)≠⊥\}L=\\\{\(e,r\(e\)\):r\(e\)\\neq\\bot\\\}and an audit trail for every label they assign\.

*Stage 2: supervised generalization\.*A classifierfθf\_\{\\theta\}is trained onLLover the same feature vectors𝐯~​\(e\)\\tilde\{\\mathbf\{v\}\}\(e\)used for clustering, as a one\-vs\-rest model per class\. Every dimension is treated as single\-valued: the highest\-scoring class is taken \(variable type, constraint family, model type, and likewise the text\-derived domain and solution approach\); intrinsically multi\-valued descriptors \(a model spanning two domains or two solution approaches\) are recognized but left to a planned extension and are not emitted by the current implementation\. We default to a calibrated linear support\-vector classifier \(interpretable, effective on sparse TF\-IDF features, and stable with the modest labeled sets typical here\) whose calibrated probabilities gate write\-back\. The classifier labels the entities the rules left abstained\.

*Closed loop\.*Predictions are not blindly trusted\. A prediction with calibrated confidence aboveθhigh\\theta\_\{\\text\{high\}\}is accepted automatically; one belowθlow\\theta\_\{\\text\{low\}\}, or one that contradicts a rule, is routed to a human adjudicator \(active learning, which spends scarce human effort where it is most informative\)\. Accepted and adjudicated labels are written back into the label database; newly reliable concept\-to\-label associations are promoted into the Stage\-1 lexicon; and the classifier is retrained on the enlarged set\. The loop repeats until few new labels are added\. Algorithm[1](https://arxiv.org/html/2607.11980#algorithm1)states this precisely\.

Input:entities

EE, features

𝐯~\\tilde\{\\mathbf\{v\}\}, rules

rr, thresholds

θlow≤θhigh\\theta\_\{\\text\{low\}\}\\leq\\theta\_\{\\text\{high\}\}
Output:versioned label database

DD, lexicon

Λ\\Lambda, classifier

fθf\_\{\\theta\}
L←\{\(e,r​\(e\)\):e∈E,r​\(e\)≠⊥\}L\\leftarrow\\\{\(e,r\(e\)\):e\\in E,\\ r\(e\)\\neq\\bot\\\}

repeat

train

fθf\_\{\\theta\}on

LL
foreach*e∈Ee\\in Ewith no accepted label*do

\(y^,p\)←fθ​\(e\)\(\\hat\{y\},p\)\\leftarrow f\_\{\\theta\}\(e\)
if*p≥θ*high*p\\geq\\theta\_\{\\text\{high\}\}andy^\\hat\{y\}consistent withr​\(e\)r\(e\)*then

accept

\(e,y^\)\(e,\\hat\{y\}\)automatically

else if*p<θ*low*p<\\theta\_\{\\text\{low\}\}ory^\\hat\{y\}conflicts withr​\(e\)r\(e\)*then

adjudicate

\(e,⋅\)\(e,\\cdot\)by a human

else

defer to next iteration

end if

write accepted/adjudicated label to

DDwith provenance

promote confirmed concept

→\\tolabel rules into

Λ\\Lambda
end foreach

L←L\\leftarrowall confirmed labels in

DD
until*\|L\|\|L\|unchanged*

Algorithm 1Two\-stage labeling with closed\-loop database update
#### 3\.5\.2Provenance, reproducibility and guardrails

Every label record stores the entity, level, dimension, value, source \(rule, classifier or human\), confidence, and the versions of the lexicon, classifier and corpus in force when it was written\. The rule stage is deterministic; the classifier is deterministic given a fixed seed and data version; the human decisions are logged, so the entire loop is reproducible by replaying the versioned decision log rather than by re\-eliciting judgments\.

Self\-training that writes its own predictions back can amplify errors, so the design is explicitly guarded\. The confidence gate and rule\-consistency check bound what may be auto\-accepted; a held\-out, human\-labeled gold set is re\-scored after every loop to detect precision regressions and label drift, and the versioned store allows roll\-back to any prior state\. Subjectivity in the gold labels is quantified by inter\-annotator agreement \(Cohen’s or Fleiss’κ\\kappa\)\(cohen1960kappa;fleiss1971kappa\), and class imbalance is surfaced by reporting per\-class precision and recall rather than overall accuracy\. The evaluation additionally reports how the labels were arrived at \(the share assigned by rules, auto\-accepted from the classifier, and human\-adjudicated\) and a qualitative error analysis: concrete examples of wrong or unstable labels \(entities whose label changes across loop iterations or parameter choices\), since these localize where the vocabulary is still ill\-defined\.*\[Deferred to the corpus\-scale version: report seed\-set size\|L\|\|L\|, gold\-set size and agreementκ\\kappa, final per\-dimension precision/recall, rule/auto/human label shares, and wrong\- or unstable\-label examples\.\]*These choices keep the learned component from quietly corrupting a taxonomy whose chief value is its objectivity\.

### 3\.6Representation\-Fidelity Validation

A taxonomy mined through LP2Graph is only trustworthy if the representation it rests on faithfully captures the source models\. We therefore validate the representation explicitly rather than assume it, and we separate three fidelity claims of increasing strength so that each can be reported honestly\.

#### 3\.6\.1Three fidelity claims

*Structural fidelity*asks whether the typed graph preserves the model’s structure\. It is established by the deterministic codec of Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2): serializing a canonical model toLaTeXand parsing it back is idempotent and preserves the canonical normal form,parse​\(render​\(f\)\)≡f\\textsf\{parse\}\(\\textsf\{render\}\(f\)\)\\equiv f, with the solvable content \(sets, parameters, variables, constraints, objective\) round\-tripping exactly\. This holds for every model the canonical grammar admits and requires no instance data\.

*Translation fidelity*asks whether the canonical model still denotes the same optimization problem once expressed in an independent language\. For a model with recoverable instance data, LP2Graph regenerates it both as paper\-styleLaTeXand as an executable model in a second modeling language, grounds it with the instance, and solves it\. Agreement between solving the regenerated model and solving the original confirms that nothing semantic was lost in mining\.

*External fidelity*asks whether the mined model reproduces the source paper’s own result\. The grounded model is solved with three independent solvers and checked against the published optimum,

zCBC⋆=zHiGHS⋆=zGurobi⋆and\|zmined⋆−zpaper⋆\|≤ε\.z^\{\\star\}\_\{\\text\{CBC\}\}=z^\{\\star\}\_\{\\text\{HiGHS\}\}=z^\{\\star\}\_\{\\text\{Gurobi\}\}\\quad\\text\{and\}\\quad\\bigl\|\\,z^\{\\star\}\_\{\\text\{mined\}\}\-z^\{\\star\}\_\{\\text\{paper\}\}\\,\\bigr\|\\leq\\varepsilon\.\(4\)Cross\-solver agreement rules out solver\-specific artefacts; agreement withzpaper⋆z^\{\\star\}\_\{\\text\{paper\}\}anchors the mined model to an externally established value\. The whole pipeline \(render, parse, ground, solve\) is deterministic and free of any language model\.

#### 3\.6\.2Corpus\-wide coverage and citation\-anchored selection

The three claims are applied at very different scales, and stating the scale of each is part of the validation design\.*Structural fidelity is checked for every canonical model in the corpus*: the codec round\-trip needs no instance data and costs milliseconds, so a corpus\-wide round\-trip pass rate is reported, not sampled\.*Translation fidelity is attempted for every model the grammar admits as executable*: regeneration into the second modeling language is likewise data\-free, and grounding is attempted wherever instance data are recoverable; the report states, for the whole corpus, how many models could be translated, how many grounded, and why the rest could not\. Only*external fidelity*is selective, because it needs both instance data and a published optimum, neither universally available\. We apply it to one representative per cluster: the*highest\-cited*formulation in each label class, taken from the provenance record \(Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\)\. Highest\-citation representatives are the most scrutinized, the most influential, and the most likely to report reproducible numerics, so anchoring the taxonomy at these points validates its load\-bearing members\. Where the top representative lacks recoverable instance data, the next\-highest is tried; where none in a cluster publishes usable data, a benchmark instance of the same structural class is substituted \(for example a MIPLIB cyclic\-timetabling instance for a PESP cluster\)\(gleixner2021miplib\), and the cluster is marked as carrying structural and translation fidelity but not paper\-anchored external fidelity\.

Validation status is recorded per model and aggregated per cluster, so the dataset \(Section[3\.7](https://arxiv.org/html/2607.11980#S3.SS7)\) carries a*validation\-coverage table*: for each cluster, the fraction of members passing the round\-trip, the fraction translated and grounded, and which fidelity level its anchor reached\. Failures are data, not embarrassments, and every failure is categorized by cause: extraction error \(the canonical model misrepresents the source\), missing instance data, construct outside the grammar or unsupported by the grounder \(Section[3\.2\.5](https://arxiv.org/html/2607.11980#S3.SS2.SSS5)\), cross\-solver disagreement, or a source paper too ambiguous or under\-specified to decide\. The categories point to different remedies, and reproducibility failures in the published record are themselves a finding of the mining\.*\[Deferred to the corpus\-scale version: report corpus\-wide round\-trip rate, translation/grounding rates with reasons, per\-cluster coverage table, and the failure\-category distribution\.\]*

#### 3\.6\.3Coverage limits and threats to validity

The canonical grammar covers template\-structured models \(periodic\-event scheduling, assignment/matching, time\-indexed packing and covering, big\-M disjunctive ordering\), and for these the pipeline reproduces independently verified optima exactly\. Models outside it are reported, not hidden: formulations with per\-train variable\-length routes or a derived “next resource” cannot yet be expressed by the regular\-index\-family templates, so they receive structural labels where partially recoverable but are excluded from external\-fidelity claims, and grammar extension is left as future work\. Four threats are carried to the discussion\. Instance data are often unpublished, capping how much of the corpus can reach external fidelity; published optima can themselves be wrong or under\-specified; a single representative may not speak for its whole cluster; and grammar coverage is incomplete\. The third threat is mitigated by reporting intra\-cluster structural homogeneity \(the rate of schema\-graph isomorphism within each cluster\) so a reviewer can judge how representative the validated anchor is\.*\[Deferred to the corpus\-scale version: report the fraction of clusters reaching each fidelity level, the toleranceε\\varepsilon, and intra\-cluster isomorphism rates\.\]*

### 3\.7Outputs: Dataset and Taxonomy

The method yields two artefacts\. The first is a*dataset*: for every formulation, its LP2Graph canonical model, schema and hybrid graphs, structural metrics and presence flags, homologized variables, parameters and constraints, multi\-level and multi\-dimensional labels, provenance, and validation status\. The dataset is machine\-readable and versioned, and it is*regenerable*: given the frozen corpus, the versioned concept vocabulary and lexicon, and the recorded configuration, re\-running the pipeline reproduces it identically, with any human adjudications replayed from the logged decision history rather than re\-elicited\.

The second artefact is the*taxonomy*: the controlled vocabularies the labeling settles on, each entry defined by its characterizing concepts \(Eq\. \([3](https://arxiv.org/html/2607.11980#S3.E3)\)\) and illustrated by its medoid exemplar and corpus frequency\. Table[1](https://arxiv.org/html/2607.11980#S3.T1)lists its axes\. The taxonomy is multi\-level \(variable, constraint, model\) and multi\-dimensional \(structure\-derived type; text\-derived domain and solution approach\)\.

Table 1:Axes of the induced taxonomy\. Categories are placeholders pending the empirical run\.LevelDimensionDerived fromExample categoriesVariable/parametertypestructure\+\+lexicalsequencing indicator; time/position variable; big\-M parameter; slackConstraintfamilystructure\+\+lexicalheadway/separation; capacity; connection/transfer; flow conservation; big\-M disjunctionModeltypestructureperiodic\-event \(PESP\); assignment/matching; time\-indexed packing; big\-M orderingModeldomaintextmetro; mainline; freight; multimodalModelsolution approachtextexact branch\-and\-cut; decomposition; rolling horizon; matheuristicThe taxonomy is MECE by construction along well\-defined boundaries\. The dimensions are orthogonal \(a model has a structural type*and*a domain*and*an approach independently\), so an entity carrying several labels does so across dimensions, never as competing values within one\. Within a single dimension the categories are mutually exclusive, and the current implementation assigns exactly one value per dimension \(intrinsically multi\-valued descriptors such as a multimodal domain are left to a planned extension\), while exhaustiveness is guaranteed by a residual “unassigned” category that holds whatever the current vocabulary does not yet cover and that is emptied over successive refinement passes\. What the method guarantees is objectivity and repeatability: the same inputs yield the same taxonomy, and every category traces to explicit features and named exemplars\. What it does not guarantee is uniqueness \(a different lexical resource or clustering choice could induce a different, equally valid partition\), which is why cluster stability \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\) and fidelity coverage \(Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)\) are reported alongside the taxonomy rather than asserted away\.

#### 3\.7\.1Release plan

Because the dataset is a primary contribution, its release is specified concretely rather than promised in passing\.*What is released:*for every included formulation, the LP2Graph canonical model \(JSON\), its schema and hybrid graphs, homologized entities, feature vectors, labels, validation status, and a provenance record linking it to the source paper’s DOI with the exact source locator, extraction channel and tool versions of Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3); alongside these, the versioned taxonomy itself, the frozen concept vocabulary and seed lexicon, the logged human decisions \(review verdicts, corrections and label adjudications\), the PRISMA screening record of Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1), and the complete pipeline code \(extraction, homologization, clustering, labeling and validation\)\.*What is not released:*the publishers’ original full texts and equation markup\. The corpus is mined from publisher interfaces under text\-and\-data\-mining terms that permit publishing derived structural data but not redistributing the source text; the release therefore contains our derived representations and pointers \(DOI, section, equation number\) into the originals, which is also why every derived artefact is DOI\-linked\.*Reproducibility:*a user with their own lawful access to the same interfaces can re\-run the pipeline from the frozen query set and screening record to regenerate the corpus, and any user can regenerate every downstream artefact \(graphs, features, clusters, labels, validation\) from the released canonical models alone, since the pipeline is deterministic from that point on \(Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\)\. The taxonomy and label database are versioned, so later corpus growth extends rather than silently rewrites them\. The library is already public under an open\-source license; the dataset is released with a documented schema and, for downstream machine\-learning use, a fixed documented split\.*\[Deferred to the corpus\-scale version: archive repository and DOI, dataset license, and split definition to be fixed at submission\.\]*

#### 3\.7\.2Further steps

The dataset and taxonomy are a substrate, not an endpoint\. Three uses follow directly\. They enable*retrieval*: given a new textual rescheduling problem, the structurally closest model types and constraint families can be looked up and reused\. They enable*structure\-aware generation and validation*: an automated model builder can be conditioned on the taxonomy’s categories rather than free\-form text, and its output can be validated \(checked structurally against the known model families before it is ever solved\), turning model development into selection and recombination over a known structural space; this is the role our earlier*raiLPminer*generation experiments attempted without such a substrate, and the foundation its successor builds on\. And they enable*learning*: the ground views export to graph\-learning frameworks, so the labeled corpus can train models that predict type, family or solver\-relevant structure\. In each case the contribution of this paper \(an objective, repeatable, validated structural inventory\) is the precondition that makes the downstream automation scientifically defensible\.

## 4Experiments

This section specifies how the mining pipeline of Section[3](https://arxiv.org/html/2607.11980#S3)is applied end\-to\-end to the railway\-rescheduling corpus, and what each stage of the run reports\. The run answers three questions: which variable roles, constraint families and model types recur across the published record; how the induced structure compares to the vocabulary\-based groupings of narrative surveys; and how reproducibly the whole result can be regenerated from the released artifacts\.*In this preliminary version the protocol is fixed and the pipeline is demonstrated end\-to\-end on the library’s bundled fixture set \(Section[5](https://arxiv.org/html/2607.11980#S5)\); the corpus\-scale numbers follow in a subsequent version once the human review of the extracted corpus is complete\.*

##### Corpus\.

The corpus is assembled under the domain\-shell prioritization and PRISMA protocol of Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\. At the current freeze the identification and screening stages are complete: 6 frozen database queries plus systematic two\-directional snowballing yield 238 source papers contributing 8957 candidate formulations \(Figure[3](https://arxiv.org/html/2607.11980#S3.F3)\)\. These candidates are machine\-extracted but not yet human\-reviewed; the review–ingest step that promotes accepted formulations to canonical models is the gate between this snapshot and the corpus\-scale run\.

##### Extraction and homologization\.

Each candidate is parsed through the channel hierarchy of Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)\(solver code where released, publisher full\-text markup \(MathML\) as the bulk channel,LaTeXor PDF otherwise\) into the LP2Graph canonical model, then homologized under Eq\. \([1](https://arxiv.org/html/2607.11980#S3.E1)\)\. The run reports per\-channel coverage \(candidates parsed, admitted by the grammar, rejected with cause\) and the extraction\-quality audit of Section[3\.3](https://arxiv.org/html/2607.11980#S3.SS3)over a stratified sample spanning all channels\.

##### Clustering and labeling\.

The cluster\-and\-name operator \(Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\) runs with its deterministic default: agglomerative clustering under cosine distance with a versioned concept vocabulary and frozen thesaurus, sweeping variables, then constraints/objective, then whole\-model structure, plus the two text\-only dimensions\. Labels are assigned by the two\-stage mechanism of Section[3\.5](https://arxiv.org/html/2607.11980#S3.SS5)\. All resource versions \(clustering, vocabulary, rewrite rules\) are pinned and reported, so the partition is exactly reproducible; the ablation protocol of Section[3\.4](https://arxiv.org/html/2607.11980#S3.SS4)\(lexical\-only vs\. structural\-only vs\. combined, with/without homologization, backend sensitivity\) runs on the same frozen inputs\.

##### Validation\.

Validation follows Section[3\.6](https://arxiv.org/html/2607.11980#S3.SS6)at its three scales: the codec round\-trip over every canonical model in the corpus; translation and grounding wherever the grammar admits execution; and external fidelity for the highest\-cited representative of each cluster, re\-solved across CBC, HiGHS and Gurobi against the optimum reported in the source paper, with benchmark substitutes where no member of a cluster publishes usable instance data\. Outcomes are aggregated into the per\-cluster validation\-coverage table and failure\-category distribution released with the dataset \(Section[3\.7](https://arxiv.org/html/2607.11980#S3.SS7)\)\.

## 5Results

\[Preliminary: end\-to\-end demonstration, not the final corpus\.\]The figures and taxonomy in this section were produced by running the M3 induction \(lp2graphclustering versioncluster\-2026\.06\.0\) over the10 canonical formulation fixturesbundled with the library,*not*over the mined railway corpus, whose human review is still in progress \(Section[4](https://arxiv.org/html/2607.11980#S4)\)\. They demonstrate the pipeline end\-to\-end on real, deterministically reproducible output; the corpus\-scale results will replace this section verbatim in a subsequent version\. The cluster names are the raw M3 cluster names \(the M4 labeling layer, which maps them to the controlled taxonomy vocabulary, is not applied here\)\.

### 5\.1The mined dataset

The test set comprisesN=10N=10formulations \(6 MILP and 4 LP\) spanning fixed\-sequence dispatching, big\-M disjunctive ordering, time\-indexed packing, periodic\-event scheduling \(PESP\), assignment, multi\-objective lateness/energy, and absolute\-deviation and lexicographic objectives\. Because these are synthetic fixtures rather than extracted models, no source\-paper count \(MM\) or citation ranking is reported here; both arrive with the corpus\.

### 5\.2The induced taxonomy

The bottom\-up induction yieldsV=13V=13variable/parameter\-role clusters at Level V,K=9K=9constraint\-family \(plus objective\) clusters at Level C, andT=4T=4model\-type clusters at Level M; the two text\-only dimensions yield 9 domain and 9 solution\-approach clusters\. Mapping to the abstract’s coverage placeholder:N=10N=10formulations yieldK=9K=9constraint families,V=13V=13variable roles andT=4T=4model types\. Table[2](https://arxiv.org/html/2607.11980#S5.T2)gives the full level×\\timescluster×\\timescount breakdown\.

Table 2:Preliminaryinduced taxonomy over the 10\-formulation demonstration set \(lp2graphcluster\-2026\.06\.0\)\. Each row is one M3 cluster with its member countnn; names are raw M3 cluster names pending M4 labeling\. To be regenerated over the final corpus in a subsequent version\.Level \(entities\)Cluster \(raw M3 name\)nnLevel V: variable/parameter roles\(13 clusters, 37 entities\)kind:non\_negative8over:E6kind:scalar4target4train3assign2energy2indicator2periodic2*4 singletons*:bound, cap, crui, earliest1 eachLevel C: constraint families\+\+objective\(9 clusters, 24 entities\)kind:min/sum5one4over:E4ref:variable4cost3*4 singletons*:choo, earliest, kind:min/lexicographic, slot1 eachLevel M: model types\(4 clusters, 10 entities\)ckind:linear3vtype:target3ckind:set\_packing2vtype:over:E2Domain\(text\-only; 9 clusters, 10 entities\)periodic2*8 singletons*:abs, assignment, big, cost, fix, index, lexicographic, soft1 eachSolution approach\(text\-only; 9 clusters, 10 entities\)periodic2*8 singletons*:abs, assignment, big, cost, fix, lexicographic, slot, soft1 eachThe induction is deterministic: identical inputs and clustering version yield byte\-identical clusters\. On this tiny test set many clusters are singletons \(expected, since 10 hand\-built fixtures share little vocabulary\); the final corpus is where the cluster structure becomes informative\.

## 6Conclusion

LP Mining with LP2Graph turns dispersed, incompatibly\-notated published LP and MILP formulations into a reproducible dataset and an objective, structural taxonomy of variables, constraints and model types\. The method rests on a single canonical model per formulation: once a source is extracted into it \(the one audited, non\-deterministic step\), everything downstream is deterministic, from the typed variable–equation graph through homologization, the bottom\-up cluster\-and\-name sweep, and the two\-stage labeling, so the entire result regenerates by replay rather than re\-judgment\.

This preliminary version contributes the method itself: the canonical representation and its scope conditions \(Section[3\.2](https://arxiv.org/html/2607.11980#S3.SS2)\), the PRISMA\-governed corpus protocol with 238 source papers and 8957 machine\-extracted candidate formulations already screened \(Section[3\.1](https://arxiv.org/html/2607.11980#S3.SS1)\), the full experimental and validation protocol \(Section[4](https://arxiv.org/html/2607.11980#S4)\), and an end\-to\-end demonstration on the library’s fixture set showing that the pipeline runs deterministically from canonical models to a named multi\-level taxonomy \(Section[5](https://arxiv.org/html/2607.11980#S5)\)\. The corpus\-scale taxonomy and validation outcomes follow in a subsequent version once the human review of the extracted corpus is complete\.

The claims are deliberately bounded\. Validation establishes*structural*fidelity corpus\-wide via the codec round\-trip, while semantic and optimality fidelity are established only where translation, grounding and a published optimum permit, and remain bounded by extraction accuracy and the coverage of the canonical grammar\. The method further depends on well\-structured source formulations and on the reach of the homologization resources: models outside the regular\-index\-family templates are labeled where partially recoverable but excluded from external\-fidelity claims, and corpus coverage is itself limited by publisher access and the freeze date\.

The resulting taxonomy is intended as infrastructure: an objective map of which modeling structures the field actually uses, on which the automated development of railway\-rescheduling optimization models \(the generation line of work this paper’s validation and taxonomy feed\) can be built\.

## Declaration of Generative AI and AI\-assisted technologies in the writing process

During the preparation of this manuscript the authors used Claude \(Anthropic\), ChatGPT \(OpenAI\) and you\.com \(Claude, OpenAI, Meta, DeepSeek\) to implement concepts into code and document it, support literature research, improve text writing style and translate results \(e\. g\. tables\) intoLaTeX\. All AI\-generated text was reviewed and edited by the authors, and the authors accept full responsibility for the content and any errors\.

## Declaration of Competing Interests

Jörn Maurischat reports a relationship with DB Engineering und Consulting GmbH that includes: employment\. All authors declare no other competing financial interests or personal relationships that could have appeared to influence the work reported in this paper\.

\\printcredits

## References

Similar Articles

Online Linear Programming for Multi-Objective Routing in LLM Serving

arXiv cs.AI

This paper proposes a multi-objective optimization framework for routing in LLM serving, employing online linear programming with bid-price control to balance latency, throughput, and tail performance, and demonstrates improvements over heuristics using the Vidur simulator.

Optimizing Lithium Production Decisions under Geological, Demand, and Pricing Uncertainties: A POMDP Framework for Multi-Objective Decision Making

arXiv cs.AI

This paper proposes a POMDP framework for multi-objective decision making in lithium production, addressing geological, demand, and pricing uncertainties to optimize mine opening and extraction method selection. The approach outperforms human-inspired heuristics by dynamically adapting to shifting price regimes through belief state planning.

GraphPO: Graph-based Policy Optimization for Reasoning Models

arXiv cs.CL

GraphPO is a novel graph-based reinforcement learning framework that represents rollouts as a directed acyclic graph, merging semantically equivalent reasoning paths to reduce redundant exploration and improve credit assignment for large reasoning models.