Skip to content

Testing: exclude Xpress 9.5.1 on Windows/GHA/Python3.{0,1}#3455

Merged
mrmundt merged 10 commits intoPyomo:mainfrom
jsiirola:xpress-9.5.1
Jan 16, 2025
Merged

Testing: exclude Xpress 9.5.1 on Windows/GHA/Python3.{0,1}#3455
mrmundt merged 10 commits intoPyomo:mainfrom
jsiirola:xpress-9.5.1

Conversation

@jsiirola
Copy link
Copy Markdown
Member

Fixes # .

Summary/Motivation:

The Xpress 9.5.1 release through the fico-xpress conda channel hangs when calling xpress.init() -- but only on Python 3.10 and 3.11 / Windows GHA. (Quick) attempts to reproduce this locally were not successful, so it is unclear if this is a GHA issue, Conda issue, an Xpress issue, or an issue with our configuration of the build environment.

@djunglas, is there a good way to report things like this upstream?

This PR gets the Pyomo testing infrastructure "working" again by simply pinning xpress to 9.5.0 under Conda on Windows for Python 3.10 and 3.11. I attempted to make the version pin "float" (and automatically pick up any future Xpress releases), but that was not successful (see comments in the workflows). We should monitor upstream and revisit if this is still needed after the next Xpress release.

Changes proposed in this PR:

  • Pin xpress to 9.5.0 on Windows under conda for Python 3.10 and 3.11 (only)
  • Do some minor clean up of the GHA drivers

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@jsiirola jsiirola requested a review from mrmundt January 16, 2025 06:46
@djunglas
Copy link
Copy Markdown
Contributor

Hi @jsiirola, this problem is new to us. We will try to reproduce and investigate.
If you find problems that you think are related to Xpress then it is probably best to email me directly.
Another option would be to report them on stackoverflow (with tag xpress-optimizer) or in our community.

@jsiirola jsiirola requested a review from mrmundt January 16, 2025 17:19
@mrmundt mrmundt merged commit b0ab851 into Pyomo:main Jan 16, 2025
@jsiirola jsiirola deleted the xpress-9.5.1 branch January 16, 2025 19:39
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.

3 participants