counter = Dict{String, Int}()
for solution in model.statistics.solutions
if isnothing(solution)
if haskey(counter, "null")
counter["null"] += 1
else
counter["null"] = 1
end
else
if haskey(counter, "not_null")
counter["not_null"] += 1
else
counter["not_null"] = 1
end
end
end
counter
You should see a very large (~130k) number of nothing in the model.statistics.solutions
To reproduce:
Run this:
You should see a very large (~130k) number of
nothing
in the model.statistics.solutions