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

Update HiGHS to v1.8.0 #40

Merged
merged 6 commits into from
Nov 5, 2024
Merged

Update HiGHS to v1.8.0 #40

merged 6 commits into from
Nov 5, 2024

Conversation

MaxEtMoritz
Copy link
Contributor

This PR includes the following:

  • an update of HiGHS to v1.8.0 (latest)
  • an update of emscripten to v3.1.71 (latest)
  • an update to the typings to include more (probably new?) HiGHS options

To make it work, the following additional changes were made:

  • updates to the VSCode dev container definition to use a newer base image (Node 20, Debian Bookworm) and install the latest emscripten version
  • updates to the build.sh script to remove deprecated build variables, rename changed ones and add a new one. Additionally renamed deprected emscripten option EXTRA_EXPORTED_LIBS to EXPORTED_LIBS
  • Updates to the post.js script to auto-assume a Type of Continuous if no type is parsed from the output (HiGHS v1.8.0 does not include "type" column if all model variables are continuous)
  • Updates to the CI and Release pipelines to update all used actions to their latest versions and use emscripten v3.1.71
  • Update to test.js: the test test_empty_model caused HiGHS v1.8.0 to (correctly) throw a model read error. The test was updated to test against a valid empty model (the objective function being a constant).

If desired, the test_empty_model test can also be modified to assure that a model of blah blah not a good file throws a read error, but since there is already a test for invalid files i chose to modify it to test a valid empty model instead.

The option typings update does not fix #31 (yet) since those come below https://github.com/ERGO-Code/HiGHS/blob/v1.8.0/src/lp_data/HighsOptions.h#L1123 (where i stopped adding option typings for now).
Maybe if i find the time, i will also add typings for all advanced options.

prepare for updating HiGHS version to latest (uses a CMake command of newer cmake version)
and adapt build script to changed build variables
only significant change (apart from formatting) is the `test_empty_model` test:
HiGHS v1.8.0 now treats "blah blah not a good file" as an error.
To test an empty model the test was changed to a valid empty model.
- update emskripten version
- update all used actions to their latest versions
@lovasoa
Copy link
Owner

lovasoa commented Nov 5, 2024

really cool, thanks !

@lovasoa lovasoa merged commit 6598de6 into lovasoa:main Nov 5, 2024
1 check passed
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.

Missing option typings
2 participants