Manuscript Offprint

arXiv:2609.11636

MAPLE: Memory-Augmented Planning with Language and Evolution

Kesheng Chen, Yamin Hu, Wenjian Luo

ABSTRACT

Domain practitioners understand their business constraints but may lack operations-research expertise or dedicated support. LLM-based optimization agents translate natural-language requirements into models or solver programs that established optimization tools can execute. This progress makes optimization more accessible, but real-world operations are dynamic: changing demand, resources, and priorities require updates to data, constraints, and objectives. Methods centered on isolated requests offer limited support for rapid adaptation that preserves earlier decisions and reuses useful search results. We introduce MAPLE (Memory-Augmented Planning with Language and Evolution), an agent for maintaining optimization problems through successive natural-language requests. MAPLE combines language-based problem construction with mathematical programming and evolutionary search. It retains the optimization program, accepted plans, earlier updates, and candidate solutions for subsequent requests. We introduce NLDO, a benchmark of 15 trajectories and 180 updates spanning selection, scheduling, rostering, routing, and cloud-resource placement. In the main evaluation, MAPLE completes all trajectories and achieves online scalar quality of 0.951 and a Pareto hypervolume ratio of 0.875. Controlled comparisons further show that maintaining executable state improves update validity and can preserve useful search information across substantial revisions.

(a) An initial routing request

Figure

Plan same-day delivery routes from a single depot for a small urban fleet. Depot, vehicle, order, capacity, and time-window data are provided as public CSV tables.

Figure

Problem construction

model

Construct the routing problem.

Figure

Figure

Numerical search

code + solution

Search for candidate routes.

• Public request and tables

• Executable routing problem

• Candidate delivery plans

• Accepted route assignment

• Further user revisions

(b) Successive requests revise the routing state

Nonlinear and Pareto tasks

Figure

Pareto trade-offs

Earlier event

Figure

Customer 0004 is identified as the congestion anchor.

Update

The customer mentioned in the congestion note needs a tighter delivery window.

Reference grounding

Memory grounding required

Earlier event

Figure

Customer 0004 is identified as the congestion anchor.

T = 0

Update

Tighten 0006's soft due target.

T = 1

Update

Update vehicle emission rates.

Parameter change

T = 2

Dynamic adaptation required

General optimization

LP/MILP solver

GA for scalar objectives

MAPLE

NSGA-II for Pareto objectives

Encoding

Crossover

Mutation

Repair

TSS Workbench

Live dynamic optimization

Stored events

Accepted state

Search archives

Live State Memory

Reuse-risk assessment

Evidence check

Full restart

Warm repair

Restart Selector

Native capabilities and evaluated adaptations

MethodNatural languageSolver outputRetained Pareto setLive updatesSolver state reuse
ReActYesYesNoPart.*No
OR-LLM-AgentYesYesNoPart.*No
ORLMYesYesNoPart.*No
OptiMUSYesYesNoNoNo
OptimAIYesYesNoNoNo
Persistent ReActYesYesNoYes*Part.*
MAPLE (ours)YesYesYesYesYes

Primary results by static/dynamic setting

MethodNLP4LP-hardBWOR20NLDO SSNLDO DSNLDO SMNLDO DM
ReAct57.6%70.0%0.889*0.333*0.300*0.023*
OR-LLM-Agent50.8%65.0%0.778*0.111*0.440*0.046*
ORLM23.7%45.0%1.000*0.120*0.000*0.000*
OptiMUS69.5%65.0%0.889*0.281*0.417*0.084*
OptimAI61.0%55.0%0.556*0.077*0.377*0.051*
Persistent ReAct62.7%70.0%0.889*0.501*0.259*0.042*
MAPLE (ours)59.3%80.0%1.0000.9510.8320.875

Figure 1: MAPLE maintains plans through successive requests. The routing example shows problem revision, memory of earlier decisions, and reuse of search results. The tables compare capabilities and performance. An asterisk marks adapted baselines.

1 INTRODUCTION

Domain practitioners understand operational requirements but may lack operations research training or specialist support. Production planners, dispatchers, workforce coordinators, and infrastructure operators must translate these requirements into optimization models and maintain the software that solves them. This expertise barrier limits everyday adoption of optimization methods (AhmadiTeshnizi et al., 2024; Zhang et al., 2025). LLM-based optimization agents translate natural-language descriptions into models or solver code and execute them with established optimization packages. Some systems use execution errors to revise the generated model or program (AhmadiTeshnizi et al., 2024; Huang et al., 2025; Thind et al., 2025; Zhang et al., 2025). More recent systems ask users to clarify the planning problem and build optimization models from business data (Xie, 2026). These systems connect domain practitioners to optimization tools.

Real-world operations are dynamic: new orders arrive, resources become unavailable, and priorities change. Model generation alone cannot ensure rapid, consistent adaptation. Keeping a previously discussed customer's vehicle assignment requires the agent to revise the program, recover that decision, and assess whether earlier candidates remain useful.

Related work addresses parts of this setting from different directions. Multi-turn planning benchmarks study how plans change as new constraints arrive (Oh et al., 2025). Other LLM-based optimization methods address nonlinear problems and multi-objective search (Thind et al., 2025; Schwanke et al., 2026). Dynamic optimization, meanwhile, has long studied population repair, transfer, and restart under changing objectives and constraints (Branke, 2002; Nguyen et al., 2012). We address a practical gap in real-world operations: adapting executable optimization programs to evolving natural-language requirements while preserving accepted decisions and reusing relevant search state. We call this setting live dynamic optimization.

MAPLE maintains an executable optimization program (the Workbench), input data, accepted plans, update records, and candidate solutions. At initialization, Typed Search-Space Scaffolding (TSS) lets the model define decisions and evaluation, while the system supplies search operations and solvers. It supports mathematical programming for linear formulations, evolutionary search for nonlinear or combinatorial objectives, and Pareto search for competing objectives. For subsequent requests, Live Problem Decomposition (LPD) identifies the input data or Workbench functions affected by the revision. Live State Memory (LSM) retrieves information from earlier updates and accepted plans. When a request asks to keep an earlier assignment, the system enforces that assignment during the next search. For evolutionary search, a restart selector reads a summary of the changes and assesses whether earlier candidates remain useful. Fixed checks then select repaired-history initialization (Warm) or fresh initialization (Full). The revised state is committed only after executable and output checks pass.

We evaluate MAPLE on NLDO, a controlled benchmark containing 15 trajectories and 180 natural-language updates across selection, scheduling, rostering, routing, and cloud-resource placement. NLDO provides both single- and multi-objective tasks and evaluates trajectory continuity separately from the quality of the resulting plans. In the main evaluation, MAPLE completes all trajectories, reaching online scalar quality of 0.951 and Pareto hypervolume ratio of 0.875. The component and restart controls further examine how executable-state maintenance affects validity, historical grounding, and reuse across revisions.

Our contributions are threefold. First, we formulate live dynamic optimization as optimization under cumulative natural-language revisions and introduce NLDO, with static and dynamic views of single- and multi-objective tasks. Second, we develop MAPLE, an executable-state architecture that integrates problem construction, accepted decisions, historical grounding, and reusable numerical search state. Third, we evaluate complete agent workflows and controlled variants, showing that persistent executable state improves continuity and validity while allowing useful search information to survive substantial revisions.

References (26)