All the AI does is match the request to solutions it was trained in.
It just stackoverflow in your ide. It has a little more flexibility in answering and isnβt as corrupted by SEO result when googling the equivalent answer. Its not informed and thinking.
The optimisation problems you are talking about is the process that is used to make AI models in the first place. I think you want an AI to configure optimisation routines for you rather than build the test cases and variables yourself. Or you want some system that implement all the individual components better, but an AI that can optimise the entire thing isnβt coming about soon. It would need to trained on very similar software. In which case you should just use that better software.