Work

CP-Agent: Agentic Constraint Programming

Year: 2026
Type: conference-paper
Abstract: The translation of natural language to formal constraint models requires expertise in the problem domain and modeling frameworks. To explore the effectiveness of agentic workflows, we propose CP-Agent, a Python coding agent that uses the ReAct framework with a persistent IPython kernel. We provide the relevant domain knowledge as a project prompt of under 50 lines. The algorithm works by iteratively executing code, observing the solver’s feedback, and refining constraint models based on execution results.
Institution: TU Wien
Language: English
Open Access status: hybrid
OpenAlex ID: W4416242278
FWCI: 8.246
Cites: 21
Cited by: 7
Related to: 10