Update Python, RTC-Tools and Casadi versions#294
Conversation
Update requirements in Setup. Python 3.13 is now used in Github workflows
Update the autogenereted versioneer.py and _version.py files with the latest versioneer package. This makes versioneer compatible with python 3.12.
Remove gitlab CI/CD yaml file, since the repository has moved to Github
Change from Python 3.13 to 3.9 due to imcomatibility with pyESDL
…setpoint_constraints.py
|
Changes were implemented to update the supported Python versions, as well as the Casadi and RTC-Tools dependencies. |
|
Update: An optimal solution is found with Highs 1.7.0, but Highs v1.10.0 declares infeasibility for the same model |
|
A minimal reproducible example was created, and the issue has been reported to HiGHS developers. |
|
The issue has been resolved in Highs, but a new Casadi release with this bug fix is not yet available. |
|
@jarsarasty was there a need to upgrade the python version as well in this PR? Why not just update rtctools and Casadi version first? Because now this PR is a mixture of many things. Also since we had this issuer already in the past, did you have a look at #183. Here you could see that presolve was the issue. |
|
Hi @KobusVanRooyen, Thank you for your feedback! Python 3.8 has officially reached the end of its life cycle and is no longer supported by the latest version of RTC-Tools. Because of this, we need to update the minimum Python version for Mesido to 3.9 before updating RTC-Tools. I agree that this PR could be split:
However, the minimum Python version update must be merged first due to the dependency. Given the current issue with Casadi and solver compatibility, I suggest we put this PR on hold until:
Regarding pull request #183, I did not look into it, but I am aware of the option to deactivate presolve. However, presolve can offer significant speedups when dealing with MILPs, and the incorrect behavior of Highs seems to occur only in very specific cases. Therefore, for now, I would advise against deactivating presolve by default, but rather consider it as a fallback option in case of infeasibilities. We can discuss this or other alternatives. Let me know if you have any other suggestions! |
Update the following versions: Python (3.9-3.13), RTC-Tools (2.7.0), and Casadi (3.7), which includes Highs (v1.10).
The updates have been implemented in the requirements, GitHub workflows, documentation and tox configurations.
Please note that Python 3.8 has reached its end of life and is no longer supported.