Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhai, Haotian, Lawless, Connor, Vitercik, Ellen, Leqi, Liu
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2502.14760
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912421579325440
author Zhai, Haotian
Lawless, Connor
Vitercik, Ellen
Leqi, Liu
author_facet Zhai, Haotian
Lawless, Connor
Vitercik, Ellen
Leqi, Liu
contents A fundamental problem in combinatorial optimization is identifying equivalent formulations. Despite the growing need for automated equivalence checks -- driven, for example, by optimization copilots, which generate problem formulations from natural language descriptions -- current approaches rely on simple heuristics that fail to reliably check formulation equivalence. Inspired by Karp reductions, in this work we introduce Quasi-Karp equivalence, a formal criterion for determining when two optimization formulations are equivalent based on the existence of a mapping between their decision variables. We propose EquivaMap, a framework that leverages large language models to automatically discover such mappings for scalable, reliable equivalence checking, with a verification stage that ensures mapped solutions preserve feasibility and optimality without additional solver calls. To evaluate our approach, we construct EquivaFormulation, the first open-source dataset of equivalent optimization formulations, generated by applying transformations such as adding slack variables or valid inequalities to existing formulations. Empirically, EquivaMap significantly outperforms existing methods, achieving substantial improvements in correctly identifying formulation equivalence.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14760
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations
Zhai, Haotian
Lawless, Connor
Vitercik, Ellen
Leqi, Liu
Artificial Intelligence
Machine Learning
Optimization and Control
A fundamental problem in combinatorial optimization is identifying equivalent formulations. Despite the growing need for automated equivalence checks -- driven, for example, by optimization copilots, which generate problem formulations from natural language descriptions -- current approaches rely on simple heuristics that fail to reliably check formulation equivalence. Inspired by Karp reductions, in this work we introduce Quasi-Karp equivalence, a formal criterion for determining when two optimization formulations are equivalent based on the existence of a mapping between their decision variables. We propose EquivaMap, a framework that leverages large language models to automatically discover such mappings for scalable, reliable equivalence checking, with a verification stage that ensures mapped solutions preserve feasibility and optimality without additional solver calls. To evaluate our approach, we construct EquivaFormulation, the first open-source dataset of equivalent optimization formulations, generated by applying transformations such as adding slack variables or valid inequalities to existing formulations. Empirically, EquivaMap significantly outperforms existing methods, achieving substantial improvements in correctly identifying formulation equivalence.
title EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations
topic Artificial Intelligence
Machine Learning
Optimization and Control
url https://arxiv.org/abs/2502.14760