Skip to content

Commit b940b14

Browse files
authored
Add support for v12.0.1 (#33)
1 parent c07c102 commit b940b14

File tree

3 files changed

+18
-31
lines changed

3 files changed

+18
-31
lines changed

Artifacts.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
[[Gurobi]]
2-
git-tree-sha1 = "c12ed87f704f6143cfac6977f14b6e192b9a1be3"
2+
git-tree-sha1 = "b67e015d04c7a09b09eb20e68003c0d8f0f553aa"
33
arch = "x86_64"
44
os = "linux"
55

66
[[Gurobi.download]]
7-
sha256 = "9ee0dc92f05d71ff119e1095bb7f85cfdc48e1838ac528b7986734e361ec4c70"
8-
url = "https://anaconda.org/Gurobi/gurobi/12.0.0/download/linux-64/gurobi-12.0.0-py311_0.tar.bz2"
7+
sha256 = "ab4bd4f6d0bf9c157b88aa5ecb2d540c25db3136a18708f76e5cfe097b14bf96"
8+
url = "https://anaconda.org/Gurobi/gurobi/12.0.1/download/linux-64/gurobi-12.0.1-py311_0.tar.bz2"
99
[[Gurobi]]
10-
git-tree-sha1 = "4fbb888b4fef38cb20a89bc30cfe80e237ddc022"
10+
git-tree-sha1 = "2af62caa2b262146eac8c3aa062e092162fa2902"
1111
arch = "aarch64"
1212
os = "linux"
1313

1414
[[Gurobi.download]]
15-
sha256 = "0aef0f5ff3cd070c2d19971ddc46e145f3be138d99c46164c6b3f4caefeca1d5"
16-
url = "https://anaconda.org/Gurobi/gurobi/12.0.0/download/linux-aarch64/gurobi-12.0.0-py311_0.tar.bz2"
15+
sha256 = "820da64c9811bf8aef865f9bff68316fdae8eaeebd106a713dd7106b404e40d8"
16+
url = "https://anaconda.org/Gurobi/gurobi/12.0.1/download/linux-aarch64/gurobi-12.0.1-py311_0.tar.bz2"
1717
[[Gurobi]]
18-
git-tree-sha1 = "3cf43492d8dd8ca1b56f7586337aa2cef46e88b0"
18+
git-tree-sha1 = "3e6bd9b2e635d19543927edac92d91a93e25b134"
1919
arch = "x86_64"
2020
os = "macos"
2121

2222
[[Gurobi.download]]
23-
sha256 = "1a7bdd55ee6672c8e03b5e850ce80320213634cd011ddc6e66fce9ec73813457"
24-
url = "https://anaconda.org/Gurobi/gurobi/12.0.0/download/osx-64/gurobi-12.0.0-py311_0.tar.bz2"
23+
sha256 = "15e84bcb97ebe887f25db227c5aa0b1ad412cbaafbe56e4d9527996ee55f2f6d"
24+
url = "https://anaconda.org/Gurobi/gurobi/12.0.1/download/osx-64/gurobi-12.0.1-py311_0.tar.bz2"
2525
[[Gurobi]]
26-
git-tree-sha1 = "d69be48c7cfd9757edf4e5c526dc21fbfbbfeca5"
26+
git-tree-sha1 = "c12b6e683e4bbd65613f4a5945c26ea1b24ea9ed"
2727
arch = "aarch64"
2828
os = "macos"
2929

3030
[[Gurobi.download]]
31-
sha256 = "26e5e2dba36b555baba848155ec9030b9567d0822df8c1bff18f2cfb8d24998a"
32-
url = "https://anaconda.org/Gurobi/gurobi/12.0.0/download/osx-arm64/gurobi-12.0.0-py311_0.tar.bz2"
31+
sha256 = "41d19dd88acf3b636e218c30ce8c83add22c731012efce5a95b4f245ab4d9de5"
32+
url = "https://anaconda.org/Gurobi/gurobi/12.0.1/download/osx-arm64/gurobi-12.0.1-py311_0.tar.bz2"
3333
[[Gurobi]]
34-
git-tree-sha1 = "b021a044a0a882f1179239684d144d58f37324ed"
34+
git-tree-sha1 = "b0057ad48ecb7ab5ccba1d5d46298ef8c3c34b05"
3535
arch = "x86_64"
3636
os = "windows"
3737

3838
[[Gurobi.download]]
39-
sha256 = "88d11f8d6a5a27db7507c7e2ca043a88b99d9e8734e8819bb4d1cc0dc0fa1963"
40-
url = "https://anaconda.org/Gurobi/gurobi/12.0.0/download/win-64/gurobi-12.0.0-py311_0.tar.bz2"
39+
sha256 = "3ae0ecefd48c62289bce9627b7b6f3495d11827606977f62ce5c50f07605ebc3"
40+
url = "https://anaconda.org/Gurobi/gurobi/12.0.1/download/win-64/gurobi-12.0.1-py311_0.tar.bz2"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Gurobi_jll"
22
uuid = "c018c7e6-a5b0-4aea-8f80-9c1ef9991411"
33
authors = ["odow <o.dowson@gmail.com>"]
4-
version = "12.0.0"
4+
version = "12.0.1"
55

66
[deps]
77
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"

test/runtests.jl

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222
# Update these values when you update Artifacts.toml
2323
@test majorP[] == 12
2424
@test minorP[] == 0
25-
@test technicalP[] == 0
25+
@test technicalP[] == 1
2626
end
2727

2828
@testset "gurobi_cl" begin
@@ -42,20 +42,7 @@ end
4242

4343
@testset "license_error" begin
4444
envptr = Ref{Ptr{Cvoid}}()
45-
# Temporary workaround for 12.0.0. This can be reverted to use GRBemptyenv for 12.0.1
46-
# https://docs.gurobi.com/projects/optimizer/en/12.0/reference/releasenotes/knownbugs.html
47-
#
48-
# This does not affect usage in Gurobi.jl because it defines the function
49-
#
50-
# function GRBemptyenv(envP)
51-
# return GRBemptyenvinternal(
52-
# envP,
53-
# GRB_VERSION_MAJOR,
54-
# GRB_VERSION_MINOR,
55-
# GRB_VERSION_TECHNICAL,
56-
# )
57-
# end
58-
error = @ccall libgurobi.GRBemptyenvinternal(envptr::Ptr{Ptr{Cvoid}}, 12::Int, 0::Int, 0::Int)::Cint
45+
error = @ccall libgurobi.GRBemptyenv(envptr::Ptr{Ptr{Cvoid}})::Cint
5946
@test error == 0
6047
error = @ccall libgurobi.GRBstartenv(envptr[]::Ptr{Cvoid})::Cint
6148
@test error == 10009 || error == 0

0 commit comments

Comments
 (0)