Optimization and Generative AI
Since #ChatGPT was released, the world got crazy with #GenAI and #AI went from taboo to buzz.
Gartner for IT reminded us in 2024 that AI is wider than GenAI.
All those AI techniques are very useful alone but we can also hybrid them. In this article we deal with mixing optimization and #genAI
In 2022 my first experiment with OpenAI was to solve my famous zoo and buses example with #ChatGPT and #CPLEX : I used a LLM to generate an #OPL #CPLEX model.
Within #watsonx #AI IBM you can do all this since #CPLEX is part of #watsonx
And then within watsonx you can solve this. (OPL and python)
This is very useful but with watsonx code assistant we can do even better. Within #VSCode 微软 we can write: "300 kids need to travel to the London zoo.The school may rent 40 seats and 30 seats buses for $500 and $400 . How many buses of each size do you use to minimize cost? Write a docplex cplex mip python model for this"
领英推荐
The watsonx code assistant generated model is
and the result is
CPLEX and optimization deal with scarcity. Optimization experts are scarce resources and with generative AI building model will be easier. Of course, this is naive and the need for human experts won't vanish but I guess human experts will focus more on hard issues which really require deep expertise. Any thought about that ?
NB:
Generating optimization model is the main use case when mixing optimization and generative AI but let's not forget other successes:
INFORMS ROADEF #ORMS #CPLEX DecisionBrain Datatilt Cubewise Monaco Digital
Program Director, Product Marketing
1 个月Love this Alex, super smart
?? AI Expert & Ethicist | Agentic Generative AI & RAG Designer | OpenAI and Google AI expert| Author & Speaker| AI Business Visionary
1 个月Alex Fleischer Great insights! Of course. Generative AI is a subset of AI.
A small video to show how easy this is. https://www.youtube.com/watch?v=lotFWbQ7Rmc #cplex #wca #watsonx #codeassistant #AI
Globalization coordinator engineer and IBM Security Vulnerability Management (PSIRT) focal point
2 个月Really very interesting. I will have to practice using WCA with CPLEX
Retired IBM Distinguished Engineer
2 个月Ok, I need to try generate a piece of C++ code for thread synchronisation...