Update HiGHS to v1.8.0
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.
合并状态:已合并 合并于 2024-11-05 关闭于 2024-11-05 1 条评论