Content-Length: 272330 | pFad | http://github.com/jump-dev/CPLEX.jl/commit/0ac4ef4d93b7f747232f8af1b9739dd1433ceb9d

6F [README] update annotations with correct types (#409) · jump-dev/CPLEX.jl@0ac4ef4 · GitHub
Skip to content

Commit 0ac4ef4

Browse files
authored
[README] update annotations with correct types (#409)
1 parent 6e7be8e commit 0ac4ef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ function add_annotation(
164164
if all_variables
165165
@assert num_variables == JuMP.num_variables(model)
166166
end
167-
indices, annotations = Cint[], Clong[]
167+
indices, annotations = CPXINT[], CPXLONG[]
168168
for (key, value) in variable_classification
169169
for variable_ref in value
170170
push!(indices, variable_ref.index.value - 1)
171171
push!(annotations, CPX_BENDERS_MASTERVALUE + key)
172172
end
173173
end
174174
cplex = backend(model)
175-
index_p = Ref{Cint}()
175+
index_p = Ref{CPXINT}()
176176
CPXnewlongannotation(
177177
cplex.env,
178178
cplex.lp,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jump-dev/CPLEX.jl/commit/0ac4ef4d93b7f747232f8af1b9739dd1433ceb9d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy