Skip to content

Commit fdb9776

Browse files
authored
Update runtests.jl
1 parent 687db37 commit fdb9776

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/runtests.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ end
4444
envptr = Ref{Ptr{Cvoid}}()
4545
# Temporary workaround for 12.0.0. This can be reverted to use GRBemptyenv for 12.0.1
4646
# 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
4758
error = @ccall libgurobi.GRBemptyenvinternal(envptr::Ptr{Ptr{Cvoid}}, 12::Int, 0::Int, 0::Int)::Cint
4859
@test error == 0
4960
error = @ccall libgurobi.GRBstartenv(envptr[]::Ptr{Cvoid})::Cint

0 commit comments

Comments
 (0)