Skip to main content
Search

# LLM-Based Optimization Modeling

2 related articles

Subscribe to updates
  1. arXiv

    Optimization modeling drops fixed retrieval rules: COMPASS learns template traversal as a policy, with the largest accuracy gains on complex problems

    Translating natural-language optimization problems into solver code hinges on the quality of template retrieval. Structured retrieval methods had relied on traversal rules that were fixed or decided by a language model at inference time, so retrieval could not improve from past successes and failures. COMPASS organizes the template library as a directed acyclic graph and uses a deep Q-network to learn a reusable traversal policy from template-level judgments and solver execution feedback, scoring newly inserted templates in a shared semantic space; across several LLM backbones and optimization-modeling benchmarks it consistently beats heuristic structured retrieval, with the largest gains on complex and mixed-category problems.

  2. arXiv

    LLMs quietly flip constraints when they write optimization models: post-hoc repair lifts zero-shot accuracy from 44.8% to 64.9% without retraining the generator

    OPT-Kraken treats an LLM's optimization model and solver code as frozen artifacts and repairs them after the fact, lifting zero-shot accuracy from 44.8% to 64.9% across six benchmarks while making only 0.6% of initially correct outputs incorrect.

You’re all caught up