Gurobi_ML with Python 3.11
AnsweredHi,
I'm currently exploring the use of Gurobi_ml with Python 3.11, but I've encountered an issue where it doesn't seem to work. Could you please confirm if Gurobi_ml supports Python 3.11?
Thank you for your assistance.
Best regards,
-
Hi Hussein,
The package is currently tested and working ok with Python 3.9 - 3.12.
Please paste as much detail as you can around the issue you're experiencing so that we can help you to resolve.
- Riley
0 -
Hi Riley,
Thank you for your response.
After further investigation, I found that the `Gurobi_ml` folder needs to be placed in the same directory as my code to be imported and used correctly. Could you please confirm if this is the correct approach?
Thank you for your assistance.
Best regards,
Hussein0 -
Hi Hussein,
That should not be necessary. It sounds like either package is not installed correctly, or you are using a Python environment that is different to the one the package is installed into.
- Riley
0 -
Hi Riley,
Thank you for the clarification.
I will review the installation and environment alignment. For now, it seems to be working for my case.
Best regards,
Hussein0 -
Hi Riley,
Thank you for your help.
The problem was that the Python environment differed from the one the package was installed into. I have fixed this issue, and everything works well now.
Best regards,
Hussein0
Please sign in to leave a comment.
Comments
5 comments