Abstract: This paper investigates the capability of off-theshelf large language models (LLMs) to solve the economic dispatch (ED) problem. ED is a hard-constrained optimization problem solved on a day ...