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

Gurobi interactive shell scripts are deprecated #3285

Open
simonbowly opened this issue Jun 7, 2024 · 1 comment
Open

Gurobi interactive shell scripts are deprecated #3285

simonbowly opened this issue Jun 7, 2024 · 1 comment

Comments

@simonbowly
Copy link
Contributor

Summary

The Gurobi interactive shell (gurobi.sh / gurobi.bat) is being deprecated. In the next major release these scripts will emit a deprecation warning, and in a future release they will be removed entirely from the Gurobi installers. I'm opening this issue to discuss if any changes are needed to avoid breaking pyomo for users of the file-based interface.

Description

There is some nice work already done so that the file-based interface would invoke the current python executable if it has gurobipy installed:

There would still be a few changes to consider:

  1. Update installation instructions to clarify that a gurobipy installation is needed and the full Gurobi package does not need to be installed
  2. Consider changing the default behaviour to use a gurobipy installation in the current interpreter, or the direct interface
  3. I suppose PyPy users rely more on the Gurobi shell since gurobipy doesn't support PyPy. Is another option needed there?

Just wanted to bring this up early in case it creates compatibility issues. I'm happy to work on any necessary changes.

@mrmundt
Copy link
Contributor

mrmundt commented Jun 12, 2024

Hi @simonbowly - thanks for preemptively opening this! We'll discuss it at our next dev call (which is in about two weeks; lots of folks are out on travel or vacation currently).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment