Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on python 3.12 #286

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Test on python 3.12 #286

merged 1 commit into from
Sep 19, 2024

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Sep 16, 2024

@nhuet nhuet changed the title Test python 3.12 Test on python 3.12 Sep 16, 2024
@g-poveda
Copy link
Collaborator

Interesting, in the link you provide they suggest that they no longer advise to use addConstrs, it seems they prefer something more manual it's fine to me, maybe we'll do that in the future

- Enforce cffi>=1.17 (updated for python 3.12, avoid weird errors for
  dependencies relying on C code)
- Update time limits to avoid errors with ubuntu + python 12:
  It seems ortools gets slower in its latest release 9.11 on ubuntu...
- Fix LP_MRCPSP_GUROBI for python 3.12:
  we have a crash when using gurobi.Model.addConstrs with a
  quicksum on a list rather than on a generator.
  In other words, we need to get rid of [].
  See https://support.gurobi.com/hc/en-us/community/posts/28192464443281-model-addConstrs-breaking-sometimes-after-Python-version-change
  for more details.
- Add a test dedicated to LP_MRCPSP_GUROBI.
@g-poveda g-poveda merged commit 4000ccf into airbus:master Sep 19, 2024
14 checks passed
@nhuet nhuet deleted the py312 branch September 23, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants