CP-Agent: Agentic Constraint Programming
Main:11 Pages
1 Figures
Bibliography:3 Pages
2 Tables
Abstract
Translating natural language into formal constraint models requires expertise in the problem domain and modeling frameworks. To investigate whether constraint modeling benefits from agentic workflows, we introduce CP-Agent, a Python coding agent using the ReAct framework with a persistent IPython kernel. Domain knowledge is provided through a project prompt of under 50 lines. The agent iteratively executes code, observes the solver's feedback, and refines models based on the execution results.
View on arXivComments on this paper
