jump-dev / jump-dev/PiecewiseLinearOpt.jl
Error in copying JuMP.Model
- Dominant language
- Julia
- Stars
- 58
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
when I copy a model that uses the PiecewiseLinearOpt.jl this error occurs:
"
ERROR: LoadError: Error copying extension dictionary. Is `copy` defined for all your user types?
in copy(::JuMP.Model) at C:\Users\blabla\v0.5\JuMP\src\JuMP.jl:297
"
JuMP.jl:297 contains
copy(source.ext[key])
When I print more details in I obtain:
key = :PWL
source.ext = Dict{Symbol,Any}(Pair{Symbol,Any}(:PWL,PiecewiseLinearOpt.PWLData(768)))
So I presume that PiecewiseLinearOpt does not implement a copy method, am I correct?
Is there any way to have an implementation... very soon? :)
Thanks,
Andrea
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.