LLMize: A Framework for Large Language Model-Based Numerical Optimization
M. Rizki Oktavian

TL;DR
LLMize introduces an open-source framework leveraging large language models for flexible, constraint-aware numerical optimization across diverse complex problems, emphasizing natural language interaction over traditional mathematical programming.
Contribution
The paper presents LLMize, a novel framework that enables LLM-driven optimization with iterative prompting, supporting complex constraints and domain knowledge without requiring specialized optimization expertise.
Findings
Effective on complex, domain-specific problems with constraints
Less competitive than classical solvers on simple problems
Provides accessible optimization for practitioners without formal mathematical skills
Abstract
Large language models (LLMs) have recently shown strong reasoning capabilities beyond traditional language tasks, motivating their use for numerical optimization. This paper presents LLMize, an open-source Python framework that enables LLM-driven optimization through iterative prompting and in-context learning. LLMize formulates optimization as a black-box process in which candidate solutions are generated in natural language, evaluated by an external objective function, and refined over successive iterations using solution-score feedback. The framework supports multiple optimization strategies, including Optimization by Prompting (OPRO) and hybrid LLM-based methods inspired by evolutionary algorithms and simulated annealing. A key advantage of LLMize is the ability to inject constraints, rules, and domain knowledge directly through natural language descriptions, allowing practitioners…
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
TopicsNatural Language Processing Techniques · Machine Learning in Materials Science · Topic Modeling
