PEARL Enables Interactive Optimization Modeling with LLMs.

Hongliang Lu, Zhong Li, Yuxuan Chen, Yuan Lan, Fan Zhang, Zaiwen Wen· July 22, 2026 View original

Summary

PEARL is a system for interactive optimization modeling that translates natural language problems into formal mathematical formulations and executable solver code, using Python execution and mathematical programming solvers within a solve-debug-revise loop. It learns to test, revise, and stop based on solver feedback.

Researchers have introduced PEARL, a new system designed to make optimization modeling more interactive and efficient by integrating large language models (LLMs) with actual solver feedback. Traditionally, LLMs attempt a one-shot generation of mathematical formulations from natural language, often without executing or iteratively refining the solution. PEARL mimics the real-world process of optimization modeling, which involves repeated cycles of solving, debugging, and revising. It uses Python execution and mathematical programming solvers directly within this loop. The system learns when to test partial models, how to interpret and revise based on solver diagnostics, and when the solution is finalized. Operating in a multi-turn, tool-integrated environment, PEARL leverages intermediate execution results, feasibility signals, and solution checks to continuously improve both the mathematical formulations and the solver code. This approach has shown substantial improvements in verified solve rates across diverse optimization benchmarks, with even smaller PEARL models outperforming much larger one-shot baselines.

Why it matters

For professionals in operations research, data science, and engineering, PEARL offers a powerful tool to accelerate the development of complex optimization models, reducing manual debugging and improving the accuracy and reliability of solutions for critical business problems.

How to implement this in your domain

  1. 1Explore PEARL's interactive optimization modeling approach for complex decision problems.
  2. 2Investigate integrating LLMs with solver feedback loops for automated model refinement.
  3. 3Apply multi-turn, tool-integrated workflows to improve the accuracy of generated code.
  4. 4Benchmark PEARL's performance against current manual or one-shot optimization modeling processes.

Who benefits

LogisticsManufacturingSupply ChainFinanceHealthcare

Key takeaways

  • PEARL enables interactive optimization modeling using LLMs and solver feedback.
  • It translates natural language problems into formal mathematical formulations and code.
  • The system learns to test, debug, and revise models iteratively.
  • PEARL significantly improves verified solve rates over one-shot baselines.

Original post by Hongliang Lu, Zhong Li, Yuxuan Chen, Yuan Lan, Fan Zhang, Zaiwen Wen

"arXiv:2607.18256v1 Announce Type: new Abstract: Optimization modeling is the process of translating real-world decision problems, often described in natural language, into formal mathematical formulations and executable solver code. While recent advances in large language models…"

View on X

Originally posted by Hongliang Lu, Zhong Li, Yuxuan Chen, Yuan Lan, Fan Zhang, Zaiwen Wen on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses