Skip to content

Commit f01bf0d

Browse files
authored
Merge pull request #2842 from ERGO-Code/latest
Latest in master
2 parents 1f6c4fa + 6a38c05 commit f01bf0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+302
-224
lines changed

.github/workflows/build-nuget-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184

185185
- name: Dotnet pack
186186
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
187-
run: dotnet pack -c Release /p:Version=1.13.0
187+
run: dotnet pack -c Release /p:Version=1.13.1
188188

189189
- uses: actions/upload-artifact@v4
190190
with:

.github/workflows/test-nuget-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Dotnet pack
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
37-
run: dotnet pack -c Release /p:Version=1.13.0
37+
run: dotnet pack -c Release /p:Version=1.13.1
3838

3939
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Dotnet pack
8080
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
81-
run: dotnet pack -c Release /p:Version=1.13.0
81+
run: dotnet pack -c Release /p:Version=1.13.1
8282

8383
- name: Add local feed
8484
run: dotnet nuget add source ${{runner.workspace}}/nugets

.github/workflows/test-nuget-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Dotnet pack
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
37-
run: dotnet pack -c Release /p:Version=1.13.0
37+
run: dotnet pack -c Release /p:Version=1.13.1
3838

3939
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Dotnet pack
7979
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
80-
run: dotnet pack -c Release /p:Version=1.13.0
80+
run: dotnet pack -c Release /p:Version=1.13.1
8181

8282
- name: Add local feed
8383
run: dotnet nuget add source ${{runner.workspace}}/nugets
@@ -121,7 +121,7 @@ jobs:
121121

122122
- name: Dotnet pack
123123
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
124-
run: dotnet pack -c Release /p:Version=1.13.0
124+
run: dotnet pack -c Release /p:Version=1.13.1
125125

126126
- name: Add local feed
127127
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
@@ -165,7 +165,7 @@ jobs:
165165

166166
- name: Dotnet pack
167167
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
168-
run: dotnet pack -c Release /p:Version=1.13.0
168+
run: dotnet pack -c Release /p:Version=1.13.1
169169

170170
- name: Add local feed
171171
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
@@ -210,7 +210,7 @@ jobs:
210210

211211
- name: Dotnet pack
212212
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
213-
run: dotnet pack -c Release /p:Version=1.13.0
213+
run: dotnet pack -c Release /p:Version=1.13.1
214214

215215
- name: Add local feed
216216
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
@@ -226,5 +226,5 @@ jobs:
226226
dotnet new console
227227
rm Program.cs
228228
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
229-
dotnet add package Highs.Native -v 1.13.0 -s ${{runner.workspace}}\nugets
229+
dotnet add package Highs.Native -v 1.13.1 -s ${{runner.workspace}}\nugets
230230
dotnet run

.github/workflows/test-nuget-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Dotnet pack
3434
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
35-
run: dotnet pack -c Release /p:Version=1.13.0
35+
run: dotnet pack -c Release /p:Version=1.13.1
3636

3737
- name: Add local feed
3838
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Dotnet pack
7878
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
79-
run: dotnet pack -c Release /p:Version=1.13.0
79+
run: dotnet pack -c Release /p:Version=1.13.1
8080

8181
- name: Add local feed
8282
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets

.github/workflows/test-nuget-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Dotnet pack
3535
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
36-
run: dotnet pack -c Release /p:Version=1.13.0
36+
run: dotnet pack -c Release /p:Version=1.13.1
3737

3838
- name: Add local feed
3939
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
@@ -49,5 +49,5 @@ jobs:
4949
dotnet new console
5050
rm Program.cs
5151
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
52-
dotnet add package Highs.Native -v 1.13.0 -s ${{runner.workspace}}\nugets
52+
dotnet add package Highs.Native -v 1.13.1 -s ${{runner.workspace}}\nugets
5353
dotnet run

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ authors:
77
- given-names: Ivet
88
family-names: Galabova
99
title: "HiGHS"
10-
version: 1.13.0
10+
version: 1.13.1
1111
date-released: 2022-04-18
12-
url: "https://github.com/ERGO-Code/HiGHS/releases/tag/v1.13.0"
12+
url: "https://github.com/ERGO-Code/HiGHS/releases/tag/v1.13.1"
1313
preferred-citation:
1414
type: article
1515
authors:

CMakeLists.txt

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ if (PYTHON_BUILD_SETUP)
121121
set(ZLIB OFF)
122122
endif()
123123

124+
option(BUILD_EXAMPLES "Build examples" ON)
125+
message(STATUS "Build examples: ${BUILD_EXAMPLES}")
126+
124127
option(HIGHS_COVERAGE "Activate the code coverage compilation" OFF)
125128

126129
# Address | Thread | Leak
@@ -562,7 +565,23 @@ if(ZLIB AND NOT TARGET ZLIB::ZLIB)
562565
find_package(ZLIB 1.2.3)
563566
endif()
564567

565-
install(FILES README.md LICENSE.txt THIRD_PARTY_NOTICES.md DESTINATION .)
568+
if (PYTHON_BUILD_SETUP OR CMAKE_INSTALL_DOCDIR STREQUAL "" OR NOT BUILD_CXX)
569+
install(FILES
570+
README.md
571+
LICENSE.txt
572+
THIRD_PARTY_NOTICES.md
573+
DESTINATION .)
574+
else()
575+
install(FILES
576+
README.md
577+
LICENSE.txt
578+
AUTHORS
579+
CITATION.cff
580+
CODE_OF_CONDUCT.md
581+
CONTRIBUTING.md
582+
FEATURES.md
583+
DESTINATION ${CMAKE_INSTALL_DOCDIR})
584+
endif()
566585

567586
# Set default generator based on platform
568587
if(WIN32)
@@ -830,8 +849,6 @@ if(NOT FAST_BUILD)
830849
else(FAST_BUILD)
831850
message(STATUS "FAST_BUILD set to on.")
832851

833-
option(BUILD_EXAMPLES "Build examples" ON)
834-
message(STATUS "Build examples: ${BUILD_EXAMPLES}")
835852

836853
CMAKE_DEPENDENT_OPTION(BUILD_CXX_EXAMPLE "Build cxx example" ON "BUILD_EXAMPLES;BUILD_CXX" OFF)
837854
message(STATUS "Build C++ example: ${BUILD_CXX_EXAMPLE}")

FEATURES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
## Code changes
22

3+
Following PR [#2812](https://github.com/ERGO-Code/HiGHS/pull/2812),
4+
HiGHS can read LP files with keywords as constraint names.
5+
6+
Following PR [#2818](https://github.com/ERGO-Code/HiGHS/pull/2818), a
7+
potential data race in the HiGHS multithreading system has been fixed
8+
9+
Following PR [#2825](https://github.com/ERGO-Code/HiGHS/pull/2825),
10+
potential conflict with METIS symbols has been eliminated.
11+
12+
Following PR [#2832](https://github.com/ERGO-Code/HiGHS/pull/2832),
13+
potential conflict with AMD and RCM symbols has been eliminated.
14+
15+
Following PR [#2834](https://github.com/ERGO-Code/HiGHS/pull/2834),
16+
there is some minimal documentation of the `highspy`modelling
17+
language.
18+
19+
Following PR [#2837](https://github.com/ERGO-Code/HiGHS/pull/2837),
20+
the use of the logging callback is independent to the settings of the
21+
`output_flag`, `log_to_console` and `output_flag` options.
22+
323
## Build changes
424

25+
Following PR [#2836](https://github.com/ERGO-Code/HiGHS/pull/2836), it is
26+
now possible to build a static library with HiPO, without the requirement
27+
for blas to be specified at compile time.
28+
29+
Following PR [#2839](https://github.com/ERGO-Code/HiGHS/pull/2839), files
30+
like README.md and LICENSE.txt are installed in the proper location.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ _The nix build files are provided by the community and are not officially suppor
136136

137137
### Precompiled binaries
138138

139-
From v1.13.0 onwards, precompiled static binaries are available at https://github.com/ERGO-Code/HiGHS/releases.
139+
Precompiled static binaries are available at https://github.com/ERGO-Code/HiGHS/releases.
140140

141141
Additionally, there is one package containing shared libraries for Windows x64.
142142

@@ -248,7 +248,7 @@ The nuget package Highs.Native is on https://www.nuget.org, at https://www.nuget
248248
It can be added to your C# project with `dotnet`
249249

250250
```shell
251-
dotnet add package Highs.Native --version 1.13.0
251+
dotnet add package Highs.Native --version 1.13.1
252252
```
253253

254254
The nuget package contains runtime libraries for

Version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
HIGHS_MAJOR=1
22
HIGHS_MINOR=13
3-
HIGHS_PATCH=0
3+
HIGHS_PATCH=1
44
#PRE_RELEASE=YES

0 commit comments

Comments
 (0)