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

Some bugfixes for SolverHighs #405

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

rschwarz
Copy link
Contributor

  • handle error case for var_by_name (did not check status)
  • properly reset objective before setting new coefficients (before just updated new coefficients, keeping old)
  • add some comments as a reminder that HiGHS doesn't recognize BINARY variables as separate from INTEGER
  • fix ctypes and type annotations for boolean option getter and setter

@rschwarz
Copy link
Contributor Author

rschwarz commented Jan 17, 2025

Tests are failing because of the GRBloadenv bug described in #398.

Even without Gurobi, some HiGHS tests are falling (in test/mip_files_test.py) because:

Running HiGHS 1.9.0 (git hash: fa40bdf): Copyright (c) 2024 HiGHS under MIT licence terms
ERROR:   HiGHS build without zlib support. Cannot read .gz file.
ERROR:   Model file /home/robert/src/python-mip/test/data/p0282.mps.gz not supported

This is with highspy from PyPI.

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.

1 participant