From Natural Language to Solver-Ready Power System Optimization: An LLM-Assisted, Validation-in-the-Loop Framework
Yunkai Hu, Tianqiao Zhao, Meng Yue

TL;DR
This paper presents an LLM-assisted framework that translates natural language descriptions of power system optimization problems into solver-ready models, ensuring feasible and near-optimal solutions through validation and iterative repair.
Contribution
It introduces a novel pipeline that converts natural language into mathematically compatible optimization formulations with validation, improving reliability over direct LLM solutions.
Findings
Produces feasible, near-optimal power system schedules
Enhances solution reliability with validation and repair
Bridges high-level descriptions with executable models
Abstract
This paper introduces a novel Large Language Models (LLMs)-assisted agent that automatically converts natural-language descriptions of power system optimization scenarios into compact, solver-ready formulations and generates corresponding solutions. In contrast to approaches that rely solely on LLM to produce solutions directly, the proposed method focuses on discovering a mathematically compatible formulation that can be efficiently solved by off-the-shelf optimization solvers. Directly using LLMs to produce solutions often leads to infeasible or suboptimal results, as these models lack the numerical precision and constraint-handling capabilities of established optimization solvers. The pipeline integrates a domain-aware prompt and schema with an LLM, enforces feasibility through systematic validation and iterative repair, and returns both solver-ready models and user-facing results.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimal Power Flow Distribution · Electric Power System Optimization · Integrated Energy Systems Optimization
