-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1986 from ERGO-Code/latest
Ready for release
- Loading branch information
Showing
144 changed files
with
27,085 additions
and
18,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: sanitizers-cmake | ||
on: [] #push | ||
|
||
jobs: | ||
sanitizer_release: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest] | ||
sanitizer: [Address, Thread, Leak] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Create Build Environment | ||
run: cmake -E make_directory ${{runner.workspace}}/build | ||
|
||
- name: Configure CMake and Build | ||
shell: bash | ||
working-directory: ${{runner.workspace}}/build | ||
run: | | ||
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDEBUG_MEMORY=${{ matrix.sanitizer }} | ||
cmake --build . --parallel | ||
- name: Run | ||
working-directory: ${{runner.workspace}}/build | ||
shell: bash | ||
run: ./bin/highs $GITHUB_WORKSPACE/check/instances/afiro.mps | ||
|
||
sanitizer_debug: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest] | ||
sanitizer: [Address, Thread, Leak] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Create Build Environment | ||
run: cmake -E make_directory ${{runner.workspace}}/build | ||
|
||
- name: Configure CMake and Build | ||
shell: bash | ||
working-directory: ${{runner.workspace}}/build | ||
run: | | ||
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DDEBUG_MEMORY=${{ matrix.sanitizer }} | ||
cmake --build . --parallel | ||
- name: Run | ||
working-directory: ${{runner.workspace}}/build | ||
shell: bash | ||
run: ./bin/highs $GITHUB_WORKSPACE/check/instances/afiro.mps |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,43 @@ | ||
## Build changes | ||
|
||
The python wrapper highspy is now available for aarch64 on manylinux | ||
This allows highs to be run through Python on AWS arm64 | ||
## Code changes | ||
|
||
Added `int64_t mip_total_lp_iterations` to `HighsCallbackDataOut` and modified accessor function | ||
|
||
`Highs::writeSolution` and `Highs::writeBasis` now being done via `HighsIO` logging, so can be redirected to logging callback. | ||
|
||
Introduced `const double kHighsUndefined` as value of undefined values in a user solution. It's equal to `kHighsInf` | ||
|
||
Added `Highs::setSolution(const HighsInt num_entries, const HighsInt* index, const double* value);` to allow a sparse primal solution to be defined. When a MIP is solved to do this, the value of (new) option `mip_max_start_nodes` is used for `mip_max_nodes` to avoid excessive cost | ||
|
||
Added options `write_presolved_model_to_file` and `write_presolved_model_file` so that presolved model can be written via a command line option | ||
|
||
Added `Highs::feasibilityRelaxation` to solve the problem of minimizing a (possibly weighted) sum of (allowable) infeasibilities in an LP/MIP. | ||
|
||
Added Python utility `examples/plot_highs_log.py` (due to @Thell) to visualise progress of the MIP solver. | ||
|
||
Added minimal documentation of solvers and how simplex variants can be run | ||
|
||
Methods receiving matrix data where only small values are explicit zeros (so removed internally) are now silent and return `HighsStatus::kOk` (since internal matrix is exact) | ||
|
||
Now multiplying by pre-computed reciprocals rather than performing divisions in loops in simplex solver: LP performance improvement ~2.5% | ||
|
||
Primal and dual residuals after IPM and cuPDLP-C are checked, and corrections applied to row solution and column duals | ||
|
||
`Highs::passModelName` added to allow name to be given to the incumbent model | ||
|
||
Memory leaks in cuPDLP-C fixed | ||
|
||
Bug fixed in MIP presolve | ||
|
||
|
||
|
||
|
||
|
||
|
||
Bug fix for fortran on macOS | ||
|
||
## Code changes | ||
|
||
The accessor function Highs_getCallbackDataOutItem in the C API means | ||
that `pdlp_iteration_count` can be moved back to where it was inserted | ||
into the `HighsCallbackDataOut` struct in v1.7.0, which broke the C | ||
API. This fixes #1812 | ||
|
||
Some duplicate code has been eliminated from the MIP solver, and | ||
modifications made to eliminate compiler warnings | ||
|
||
Declaration of the (deprecated) method `char* highsCompilationDate()` | ||
has been corrected | ||
|
||
Fixed bug when describing integrality status during the human-readable solution write | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module( | ||
name = "highs", | ||
version = "1.7.2", | ||
version = "1.8.0", | ||
) | ||
|
||
bazel_dep( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HIGHS_MAJOR=1 | ||
HIGHS_MINOR=7 | ||
HIGHS_PATCH=2 | ||
HIGHS_MINOR=8 | ||
HIGHS_PATCH=0 | ||
#PRE_RELEASE=YES |
Oops, something went wrong.