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
When running @Spawn solve(m) on the code below a stack overflow is given.
using JuMP
m =Model()
@defVar(m, 0<= x <=2 )
@defVar(m, 0<= y <=30 )
@setObjective(m, Max, 5x +3*y )
@addConstraint(m, 1x +5y <=3.0 )
ref =@spawnsolve(m)
The error:
ERROR: stack overflow
in resize! at ./array.jl:506in ensureroom at ./iobuffer.jl:182in write at ./iobuffer.jl:267in serialize at serialize.jl:89in serialize_type_data at serialize.jl:271in serialize at serialize.jl:289in serialize at serialize.jl:78in serialize_type_data at serialize.jl:278in serialize_type at serialize.jl:299in serialize at serialize.jl:318in serialize at serialize.jl:324 (repeats 3 times)
...in serialize at serialize.jl:134in serialize at serialize.jl:324 (repeats 4 times)
in serialize at serialize.jl:134in serialize at serialize.jl:324 (repeats 3 times)
in serialize at serialize.jl:78in serialize at serialize.jl:218in send_msg_ at multi.jl:172in remotecall at multi.jl:686in remotecall at multi.jl:690in spawn_somewhere at multi.jl:1276in include at ./boot.jl:245in include_from_node1 at loading.jl:128in process_options at ./client.jl:285in _start at ./client.jl:354while loading /homenis/renan/julia_bnb/new/bnb.jl, in expression starting on line 10
WARNING: Forcibly interrupting busy workers
WARNING: Unable to terminate all workers
The only way around I found so far is to create the model on the worker where it will run, returning the model to work on later ends up on the same problem as above.
The text was updated successfully, but these errors were encountered:
JuMP models aren't serializable across julia processes. Even if they were, it wouldn't be the most compact or efficient way to transfer a problem instance.
Currently no. Leaving open as a feature request.
If you'd like to take a stab at getting this working, we're happy to help out. I'm not entirely sure what the major technical challenges are.
When running @Spawn solve(m) on the code below a stack overflow is given.
The error:
The only way around I found so far is to create the model on the worker where it will run, returning the model to work on later ends up on the same problem as above.
The text was updated successfully, but these errors were encountered: