Skip to content

Update to latest working ortools with gurobi 12.0.2 and python 3.12#66

Merged
jnation3406 merged 2 commits into
mainfrom
fix/update_ortoolkit
Apr 21, 2026
Merged

Update to latest working ortools with gurobi 12.0.2 and python 3.12#66
jnation3406 merged 2 commits into
mainfrom
fix/update_ortoolkit

Conversation

@jnation3406
Copy link
Copy Markdown
Member

Latest ORTools segfaults when running with gurobi for me, but this earlier stable version is still an update over the previous version we were running. Also updated numpy/python dependencies. This is currently running on all the schedulers pointed at our new gurobi license.

@jnation3406 jnation3406 requested a review from jashan-lco April 18, 2026 00:10
Copy link
Copy Markdown
Contributor

@jashan-lco jashan-lco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Comment thread Dockerfile
# install python dependencies
RUN --mount=type=cache,target=/root/.cache/pip <<EOT
#!/bin/bash -ex
pip install -r <(poetry export | grep "numpy")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the reason we were installing numpy before anything else is because some dependency needed it to be installed before installing and pip wasn't able to figure that out. If this works, great.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it works, I think numpy 2+ fixed that issue

@jnation3406 jnation3406 merged commit f6d8948 into main Apr 21, 2026
8 checks passed
@jnation3406 jnation3406 deleted the fix/update_ortoolkit branch April 21, 2026 22:59
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