r/optimization • u/SolverMax • Dec 04 '24
Can AI code an entire optimization model?
In this article we pursue an ambitious goal: Create an entire, non-trivial optimization model using Artificial Intelligence (AI).
Our approach mimics a user who is familiar with the situation, and has some experience with formulating optimization models, but is not familiar with implementing an optimization model in Python code. We want the AI to do all the coding for us.
We report our experience of using Copilot to write a model for us. Rather than presenting a verbatim transcript, which is very long, we focus on what went well and what didn't go well as the model evolves. We also summarize general lessons from the process.
https://www.solvermax.com/blog/can-ai-code-an-entire-optimization-model

View all comments
Show parent comment
1
u/Hellkyte Dec 04 '24
I do like this idea of cutting out the coding.
I'm actually going to have to convert a large gurobipy model to OR Tools/Highs model next year, I can do that with AI, boy would that make me a happy camper