You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, the size hint is pessimistic in that it suggests reserving enough space for the union of the elements assuming that there are no duplicates.
The text was updated successfully, but these errors were encountered:
The real issue is that there is something to do with the affine expressions inside ParameterJuMP that are causing a large slow-down: JuliaStochOpt/ParameterJuMP.jl#85
@jd-lara has a problem where creating affine expressions is a bottleneck.
There are two main causes.
This double-hash in
_add_or_set!
JuMP.jl/src/aff_expr.jl
Lines 18 to 28 in 2ff880d
This size hint:
JuMP.jl/src/aff_expr.jl
Lines 390 to 401 in 2ff880d
In particular, the size hint is pessimistic in that it suggests reserving enough space for the union of the elements assuming that there are no duplicates.
The text was updated successfully, but these errors were encountered: