Closed odow closed 5 months ago
Potentially related to https://support.gurobi.com/hc/en-us/requests/66420
I've been trying to track down a segfault for dkee331. I don't think I can share the model because it contains some industry data.
julia> include("SDDP-models.jl")
*** Start recording in file recording012.grbr
Change of opaque parameter Username not recorded
Change of opaque parameter GURO_PAR_LICFILE not recorded
-------------------------------------------------------------------
SDDP.jl (c) Oscar Dowson and contributors, 2017-23
-------------------------------------------------------------------
problem
nodes : 12
state variables : 15
scenarios : 7.43008e+11
existing cuts : false
options
solver : serial mode
risk measure : SDDP.Expectation()
sampling scheme : SDDP.InSampleMonteCarlo
subproblem structure
VariableRef : [42, 47]
AffExpr in MOI.EqualTo{Float64} : [15, 15]
AffExpr in MOI.LessThan{Float64} : [11, 11]
VariableRef in MOI.GreaterThan{Float64} : [16, 17]
VariableRef in MOI.LessThan{Float64} : [1, 1]
numerical stability report
matrix range [2e-03, 2e+01]
objective range [0e+00, 0e+00]
bounds range [1e+07, 1e+07]
rhs range [7e-02, 3e+03]
-------------------------------------------------------------------
iteration simulation bound time (s) solves pid
-------------------------------------------------------------------
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
1 0.000000e+00 9.999997e+06 2.394328e+00 145 1
2 6.665056e+06 8.798333e+06 2.518155e+00 290 1
3 8.599453e+06 8.741352e+06 2.621852e+00 435 1
4 6.805503e+06 8.599162e+06 2.727842e+00 580 1
5 8.730014e+06 8.579201e+06 2.865224e+00 725 1
6 1.095100e+07 8.570223e+06 2.981615e+00 870 1
7 5.943003e+06 8.560495e+06 3.101571e+00 1015 1
8 9.937974e+06 8.556773e+06 3.223904e+00 1160 1
9 7.021648e+06 8.552195e+06 3.351020e+00 1305 1
10 1.058108e+07 8.549606e+06 3.480808e+00 1450 1
11 8.212869e+06 8.541761e+06 3.622397e+00 1595 1
12 1.069893e+07 8.538276e+06 3.760173e+00 1740 1
13 1.122955e+07 8.537316e+06 3.901973e+00 1885 1
14 8.173173e+06 8.535377e+06 4.044959e+00 2030 1
15 8.340191e+06 8.527938e+06 4.213467e+00 2175 1
16 1.131155e+07 8.527350e+06 4.371205e+00 2320 1
17 1.150182e+07 8.526265e+06 4.523296e+00 2465 1
18 9.755021e+06 8.520156e+06 4.683859e+00 2610 1
19 9.111492e+06 8.515403e+06 4.840892e+00 2755 1
20 7.467237e+06 8.512735e+06 4.999246e+00 2900 1
21 9.229684e+06 8.499518e+06 5.153461e+00 3045 1
22 9.563667e+06 8.487837e+06 5.310854e+00 3190 1
23 7.437961e+06 8.475121e+06 5.468998e+00 3335 1
24 1.189661e+07 8.472738e+06 5.629213e+00 3480 1
25 1.071128e+07 8.464120e+06 5.811809e+00 3625 1
26 8.480113e+06 8.458943e+06 5.980117e+00 3770 1
27 1.095759e+07 8.452549e+06 6.156980e+00 3915 1
28 7.044447e+06 8.447195e+06 6.331774e+00 4060 1
29 1.046695e+07 8.445143e+06 6.507575e+00 4205 1
30 1.041106e+07 8.441653e+06 6.692832e+00 4350 1
31 8.022548e+06 8.431066e+06 6.875624e+00 4495 1
32 2.807719e+06 8.424019e+06 7.060281e+00 4640 1
33 9.733394e+06 8.419194e+06 7.254586e+00 4785 1
34 1.087652e+07 8.415135e+06 7.454772e+00 4930 1
35 6.277391e+06 8.411630e+06 7.664920e+00 5075 1
36 7.801291e+06 8.408798e+06 7.890331e+00 5220 1
37 9.713965e+06 8.406720e+06 8.105199e+00 5365 1
38 9.485396e+06 8.401755e+06 8.311610e+00 5510 1
39 8.318878e+06 8.399305e+06 8.513583e+00 5655 1
40 1.029647e+07 8.396001e+06 8.723727e+00 5800 1
41 9.230928e+06 8.393852e+06 8.937149e+00 5945 1
42 5.608741e+06 8.392958e+06 9.140766e+00 6090 1
43 7.442014e+06 8.389639e+06 9.347185e+00 6235 1
44 9.666164e+06 8.388063e+06 9.559235e+00 6380 1
45 9.270880e+06 8.383748e+06 9.779928e+00 6525 1
46 9.808398e+06 8.382694e+06 1.001699e+01 6670 1
47 9.646662e+06 8.377093e+06 1.025854e+01 6815 1
48 7.249806e+06 8.373982e+06 1.048311e+01 6960 1
49 6.190376e+06 8.372450e+06 1.071504e+01 7105 1
50 1.006510e+07 8.370068e+06 1.097262e+01 7250 1
51 9.404329e+06 8.369286e+06 1.122356e+01 7395 1
52 8.155686e+06 8.367532e+06 1.146820e+01 7540 1
53 8.540756e+06 8.364984e+06 1.172246e+01 7685 1
54 7.809656e+06 8.357867e+06 1.197891e+01 7830 1
55 8.014829e+06 8.332387e+06 1.223192e+01 7975 1
56 9.356024e+06 8.326845e+06 1.249243e+01 8120 1
57 7.855447e+06 8.325399e+06 1.276120e+01 8265 1
58 1.135964e+07 8.323647e+06 1.305151e+01 8410 1
59 8.889933e+06 8.321682e+06 1.334308e+01 8555 1
60 5.577007e+06 8.320894e+06 1.360917e+01 8700 1
[96565] signal (11.1): Segmentation fault: 11
in expression starting at /Users/oscar/Downloads/keehan/SDDP-models.jl:199
PRIVATE00000000000d9e26 at /Library/gurobi1100/macos_universal2/lib/libgurobi110.dylib (unknown line)
GRBupdatemodel at /Library/gurobi1100/macos_universal2/lib/libgurobi110.dylib (unknown line)
GRBupdatemodel at /Users/oscar/.julia/dev/Gurobi/src/gen110/libgrb_api.jl:626 [inlined]
_update_if_necessary at /Users/oscar/.julia/dev/Gurobi/src/MOI_wrapper/MOI_wrapper.jl:534
delete at /Users/oscar/.julia/dev/Gurobi/src/MOI_wrapper/MOI_wrapper.jl:2159
delete at /Users/oscar/.julia/packages/MathOptInterface/DDWnF/src/Bridges/bridge_optimizer.jl:706 [inlined]
delete at /Users/oscar/.julia/packages/MathOptInterface/DDWnF/src/Utilities/cachingoptimizer.jl:693
unknown function (ip: 0x12065da80)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
delete at /Users/oscar/.julia/packages/JuMP/HjlGr/src/constraints.jl:415
unknown function (ip: 0x12060a500)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_cut_selection_update at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:210
#_add_cut#181 at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:102
unknown function (ip: 0x120606259)
_add_cut at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:86
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_add_multi_cut at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:510
refine_bellman_function at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:441
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
backward_pass at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:577
unknown function (ip: 0x10e3bafa0)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
macro expansion at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:817 [inlined]
macro expansion at /Users/oscar/.julia/packages/TimerOutputs/RsWnF/src/TimerOutput.jl:237 [inlined]
iteration at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:816
master_loop at /Users/oscar/.julia/dev/SDDP/src/plugins/parallel_schemes.jl:44
unknown function (ip: 0x10e39ab31)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#train#92 at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:1118
train at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:950
unknown function (ip: 0x120636c50)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
do_call at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:126
eval_body at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:775
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:934
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:877
ijl_toplevel_eval at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:943 [inlined]
ijl_toplevel_eval_in at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:985
eval at ./boot.jl:385 [inlined]
include_string at ./loading.jl:2070
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_include at ./loading.jl:2130
include at ./client.jl:489
unknown function (ip: 0x10e2cd51c)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
do_call at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:126
eval_body at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:775
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:934
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:877
ijl_toplevel_eval at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:943 [inlined]
ijl_toplevel_eval_in at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:985
eval at ./boot.jl:385 [inlined]
eval_user_input at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
repl_backend_loop at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
#start_repl_backend#46 at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
start_repl_backend at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:228
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#run_repl#59 at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
run_repl at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375
jfptr_run_repl_91808.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#1013 at ./client.jl:432
jfptr_YY.1013_82797.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
jl_f__call_latest at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/builtins.c:812
#invokelatest#2 at ./essentials.jl:887 [inlined]
invokelatest at ./essentials.jl:884 [inlined]
run_main_repl at ./client.jl:416
exec_options at ./client.jl:333
_start at ./client.jl:552
jfptr__start_82823.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
true_main at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/jlapi.c:582
jl_repl_entrypoint at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/jlapi.c:731
Allocations: 112015780 (Pool: 111984489; Big: 31291); GC: 73
zsh: segmentation fault julia --project=.
(base) oscar@Oscars-MBP keehan % julia --project=.
The latest version of Julia in the `1.10` channel is 1.10.1+0.x64.apple.darwin14. You currently have `1.10.0+0.x64.apple.darwin14` installed. Run:
juliaup update
to install Julia 1.10.1+0.x64.apple.darwin14 and update the `1.10` channel to that version.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.0 (2023-12-25)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> include("SDDP-models.jl")
*** Start recording in file recording013.grbr
Change of opaque parameter Username not recorded
Change of opaque parameter GURO_PAR_LICFILE not recorded
-------------------------------------------------------------------
SDDP.jl (c) Oscar Dowson and contributors, 2017-23
-------------------------------------------------------------------
problem
nodes : 12
state variables : 15
scenarios : 7.43008e+11
existing cuts : false
options
solver : serial mode
risk measure : SDDP.Expectation()
sampling scheme : SDDP.InSampleMonteCarlo
subproblem structure
VariableRef : [42, 47]
AffExpr in MOI.EqualTo{Float64} : [15, 15]
AffExpr in MOI.LessThan{Float64} : [11, 11]
VariableRef in MOI.GreaterThan{Float64} : [16, 17]
VariableRef in MOI.LessThan{Float64} : [1, 1]
numerical stability report
matrix range [2e-03, 2e+01]
objective range [0e+00, 0e+00]
bounds range [1e+07, 1e+07]
rhs range [7e-02, 3e+03]
-------------------------------------------------------------------
iteration simulation bound time (s) solves pid
-------------------------------------------------------------------
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
Change of opaque parameter Username not recorded
1 0.000000e+00 9.999997e+06 7.017547e+00 145 1
2 6.665056e+06 8.798333e+06 7.354857e+00 290 1
3 8.599453e+06 8.741352e+06 7.477277e+00 435 1
4 6.805503e+06 8.599162e+06 7.600680e+00 580 1
5 8.730014e+06 8.579201e+06 7.719588e+00 725 1
6 1.095100e+07 8.570223e+06 7.842802e+00 870 1
7 5.943003e+06 8.560495e+06 7.968333e+00 1015 1
8 9.937974e+06 8.556773e+06 8.095627e+00 1160 1
9 7.021648e+06 8.552195e+06 8.224479e+00 1305 1
10 1.058108e+07 8.549606e+06 8.363911e+00 1450 1
11 8.212869e+06 8.541761e+06 8.499695e+00 1595 1
12 1.069893e+07 8.538276e+06 8.665556e+00 1740 1
13 1.122955e+07 8.537316e+06 8.815044e+00 1885 1
14 8.173173e+06 8.535377e+06 8.960547e+00 2030 1
15 8.340191e+06 8.527938e+06 9.104973e+00 2175 1
16 1.131155e+07 8.527350e+06 9.270230e+00 2320 1
17 1.150182e+07 8.526265e+06 9.420633e+00 2465 1
18 9.755021e+06 8.520156e+06 9.584380e+00 2610 1
19 9.111492e+06 8.515403e+06 9.744674e+00 2755 1
20 7.467237e+06 8.512735e+06 9.907660e+00 2900 1
21 9.229684e+06 8.499518e+06 1.007676e+01 3045 1
22 9.563667e+06 8.487837e+06 1.023942e+01 3190 1
23 7.437961e+06 8.475121e+06 1.040441e+01 3335 1
24 1.189661e+07 8.472738e+06 1.057131e+01 3480 1
25 1.071128e+07 8.464120e+06 1.073652e+01 3625 1
26 8.480113e+06 8.458943e+06 1.091777e+01 3770 1
27 1.095759e+07 8.452549e+06 1.110712e+01 3915 1
28 7.044447e+06 8.447195e+06 1.127975e+01 4060 1
29 1.046695e+07 8.445143e+06 1.145516e+01 4205 1
30 1.041106e+07 8.441653e+06 1.164946e+01 4350 1
31 8.022548e+06 8.431066e+06 1.183116e+01 4495 1
32 2.807719e+06 8.424019e+06 1.200642e+01 4640 1
33 9.733394e+06 8.419194e+06 1.218611e+01 4785 1
34 1.087652e+07 8.415135e+06 1.238324e+01 4930 1
35 6.277391e+06 8.411630e+06 1.257251e+01 5075 1
36 7.801291e+06 8.408798e+06 1.276646e+01 5220 1
37 9.713965e+06 8.406720e+06 1.296536e+01 5365 1
38 9.485396e+06 8.401755e+06 1.316479e+01 5510 1
39 8.318878e+06 8.399305e+06 1.337867e+01 5655 1
40 1.029647e+07 8.396001e+06 1.358982e+01 5800 1
41 9.230928e+06 8.393852e+06 1.380113e+01 5945 1
42 5.608741e+06 8.392958e+06 1.402896e+01 6090 1
43 7.442014e+06 8.389639e+06 1.424098e+01 6235 1
44 9.666164e+06 8.388063e+06 1.445864e+01 6380 1
45 9.270880e+06 8.383748e+06 1.468500e+01 6525 1
46 9.808398e+06 8.382694e+06 1.491711e+01 6670 1
47 9.646662e+06 8.377093e+06 1.514498e+01 6815 1
48 7.249806e+06 8.373982e+06 1.536810e+01 6960 1
49 6.190376e+06 8.372450e+06 1.561533e+01 7105 1
50 1.006510e+07 8.370068e+06 1.585268e+01 7250 1
51 9.404329e+06 8.369286e+06 1.608127e+01 7395 1
52 8.155686e+06 8.367532e+06 1.633007e+01 7540 1
53 8.540756e+06 8.364984e+06 1.656946e+01 7685 1
54 7.809656e+06 8.357867e+06 1.680882e+01 7830 1
55 8.014829e+06 8.332387e+06 1.705837e+01 7975 1
56 9.356024e+06 8.326845e+06 1.731433e+01 8120 1
57 7.855447e+06 8.325399e+06 1.756696e+01 8265 1
58 1.135964e+07 8.323647e+06 1.783432e+01 8410 1
59 8.889933e+06 8.321682e+06 1.809744e+01 8555 1
60 5.577007e+06 8.320894e+06 1.836366e+01 8700 1
61 1.073692e+07 8.319675e+06 1.865318e+01 8845 1
62 7.143808e+06 8.317444e+06 1.892472e+01 8990 1
63 9.793070e+06 8.314542e+06 1.920766e+01 9135 1
64 4.372878e+06 8.313055e+06 1.948845e+01 9280 1
65 8.669315e+06 8.311201e+06 1.976740e+01 9425 1
66 7.526557e+06 8.310542e+06 2.005319e+01 9570 1
67 9.839451e+06 8.306953e+06 2.034200e+01 9715 1
68 6.410449e+06 8.301638e+06 2.063597e+01 9860 1
69 1.257653e+07 8.295490e+06 2.091417e+01 10005 1
70 7.763231e+06 8.295490e+06 2.119324e+01 10150 1
71 9.923388e+06 8.293638e+06 2.148611e+01 10295 1
72 9.747649e+06 8.293470e+06 2.180020e+01 10440 1
73 5.915513e+06 8.292957e+06 2.215647e+01 10585 1
74 1.233707e+07 8.292746e+06 2.246449e+01 10730 1
75 1.148108e+07 8.292133e+06 2.278867e+01 10875 1
76 9.577588e+06 8.291599e+06 2.309863e+01 11020 1
77 5.706308e+06 8.288869e+06 2.340669e+01 11165 1
78 1.040507e+07 8.288436e+06 2.375210e+01 11310 1
79 7.917794e+06 8.287979e+06 2.407337e+01 11455 1
80 9.756963e+06 8.287563e+06 2.440414e+01 11600 1
81 7.825922e+06 8.287392e+06 2.471891e+01 11745 1
82 7.850250e+06 8.287236e+06 2.504153e+01 11890 1
83 9.362216e+06 8.286522e+06 2.536169e+01 12035 1
84 9.669731e+06 8.285532e+06 2.571961e+01 12180 1
85 9.827933e+06 8.285131e+06 2.607061e+01 12325 1
86 5.426939e+06 8.284563e+06 2.640664e+01 12470 1
87 9.607195e+06 8.282974e+06 2.676460e+01 12615 1
88 6.128833e+06 8.281087e+06 2.710803e+01 12760 1
89 8.528132e+06 8.279041e+06 2.744592e+01 12905 1
90 1.087004e+07 8.278847e+06 2.780681e+01 13050 1
91 9.789907e+06 8.278632e+06 2.815020e+01 13195 1
92 9.550178e+06 8.278607e+06 2.849580e+01 13340 1
93 9.196754e+06 8.277077e+06 2.885009e+01 13485 1
94 1.031544e+07 8.276884e+06 2.920800e+01 13630 1
95 3.344436e+06 8.275792e+06 2.955160e+01 13775 1
96 8.260073e+06 8.274310e+06 2.990872e+01 13920 1
97 7.670033e+06 8.273299e+06 3.025721e+01 14065 1
98 8.712045e+06 8.272367e+06 3.063360e+01 14210 1
99 6.320131e+06 8.272185e+06 3.098946e+01 14355 1
100 7.461358e+06 8.271454e+06 3.135375e+01 14500 1
101 9.870665e+06 8.270622e+06 3.172492e+01 14645 1
102 9.350432e+06 8.270333e+06 3.209498e+01 14790 1
103 8.039358e+06 8.269249e+06 3.246026e+01 14935 1
104 1.107140e+07 8.269192e+06 3.283477e+01 15080 1
105 6.644158e+06 8.268943e+06 3.320067e+01 15225 1
106 7.781509e+06 8.268807e+06 3.356772e+01 15370 1
107 8.687071e+06 8.266954e+06 3.395259e+01 15515 1
108 8.406458e+06 8.265974e+06 3.434058e+01 15660 1
109 8.462074e+06 8.264499e+06 3.474046e+01 15805 1
110 1.153785e+07 8.264499e+06 3.514105e+01 15950 1
111 8.543490e+06 8.264057e+06 3.552952e+01 16095 1
112 1.010566e+07 8.263536e+06 3.591476e+01 16240 1
113 8.606595e+06 8.263261e+06 3.630274e+01 16385 1
114 9.528492e+06 8.263131e+06 3.669732e+01 16530 1
115 9.523426e+06 8.263056e+06 3.709043e+01 16675 1
116 6.772672e+06 8.262426e+06 3.747427e+01 16820 1
117 7.399460e+06 8.261966e+06 3.786714e+01 16965 1
118 4.667262e+06 8.261829e+06 3.825524e+01 17110 1
119 8.450545e+06 8.261160e+06 3.866817e+01 17255 1
120 1.080610e+07 8.260531e+06 3.906129e+01 17400 1
121 1.015572e+07 8.260432e+06 3.948347e+01 17545 1
122 8.109198e+06 8.260254e+06 3.989630e+01 17690 1
123 1.060154e+07 8.260167e+06 4.032938e+01 17835 1
124 1.111529e+07 8.260136e+06 4.074857e+01 17980 1
125 1.083771e+07 8.259773e+06 4.118261e+01 18125 1
126 6.905783e+06 8.259708e+06 4.161366e+01 18270 1
127 9.689122e+06 8.259466e+06 4.204850e+01 18415 1
128 8.623651e+06 8.259317e+06 4.249060e+01 18560 1
129 6.238729e+06 8.259227e+06 4.291609e+01 18705 1
130 9.816829e+06 8.258943e+06 4.337259e+01 18850 1
131 7.685680e+06 8.258835e+06 4.379999e+01 18995 1
132 8.960264e+06 8.258490e+06 4.424090e+01 19140 1
133 8.239321e+06 8.258391e+06 4.469327e+01 19285 1
134 6.133347e+06 8.257801e+06 4.513639e+01 19430 1
135 9.035175e+06 8.257412e+06 4.557806e+01 19575 1
136 1.808002e+06 8.254899e+06 4.599634e+01 19720 1
137 9.756473e+06 8.254473e+06 4.642869e+01 19865 1
138 6.873314e+06 8.253394e+06 4.686705e+01 20010 1
139 4.024797e+06 8.250680e+06 4.732380e+01 20155 1
140 4.791052e+06 8.247878e+06 4.778652e+01 20300 1
141 7.549603e+06 8.247557e+06 4.825190e+01 20445 1
142 8.164302e+06 8.246816e+06 4.870501e+01 20590 1
143 9.062871e+06 8.245435e+06 4.917534e+01 20735 1
144 7.953899e+06 8.244497e+06 4.965997e+01 20880 1
145 7.223621e+06 8.242803e+06 5.013109e+01 21025 1
146 8.201222e+06 8.240608e+06 5.059678e+01 21170 1
147 9.634985e+06 8.239247e+06 5.105955e+01 21315 1
148 8.923772e+06 8.238987e+06 5.152615e+01 21460 1
149 8.481813e+06 8.238869e+06 5.204433e+01 21605 1
150 4.663752e+06 8.238074e+06 5.251682e+01 21750 1
151 1.107131e+07 8.238000e+06 5.304854e+01 21895 1
152 8.759789e+06 8.237346e+06 5.353836e+01 22040 1
153 8.083302e+06 8.236879e+06 5.402582e+01 22185 1
154 9.535971e+06 8.236230e+06 5.451707e+01 22330 1
155 7.987924e+06 8.236203e+06 5.499496e+01 22475 1
[96651] signal (11.1): Segmentation fault: 11
in expression starting at /Users/oscar/Downloads/keehan/SDDP-models.jl:199
PRIVATE00000000000d9e26 at /Library/gurobi1100/macos_universal2/lib/libgurobi110.dylib (unknown line)
GRBupdatemodel at /Library/gurobi1100/macos_universal2/lib/libgurobi110.dylib (unknown line)
GRBupdatemodel at /Users/oscar/.julia/dev/Gurobi/src/gen110/libgrb_api.jl:626 [inlined]
_update_if_necessary at /Users/oscar/.julia/dev/Gurobi/src/MOI_wrapper/MOI_wrapper.jl:534
delete at /Users/oscar/.julia/dev/Gurobi/src/MOI_wrapper/MOI_wrapper.jl:2159
delete at /Users/oscar/.julia/packages/MathOptInterface/DDWnF/src/Bridges/bridge_optimizer.jl:706 [inlined]
delete at /Users/oscar/.julia/packages/MathOptInterface/DDWnF/src/Utilities/cachingoptimizer.jl:693
unknown function (ip: 0x1177c75f0)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
delete at /Users/oscar/.julia/packages/JuMP/HjlGr/src/constraints.jl:415
unknown function (ip: 0x1177c65c0)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_cut_selection_update at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:210
#_add_cut#181 at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:102
unknown function (ip: 0x1177c1499)
_add_cut at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:86
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_add_multi_cut at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:510
refine_bellman_function at /Users/oscar/.julia/dev/SDDP/src/plugins/bellman_functions.jl:441
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
backward_pass at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:577
unknown function (ip: 0x10556c060)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
macro expansion at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:817 [inlined]
macro expansion at /Users/oscar/.julia/packages/TimerOutputs/RsWnF/src/TimerOutput.jl:237 [inlined]
iteration at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:816
master_loop at /Users/oscar/.julia/dev/SDDP/src/plugins/parallel_schemes.jl:44
unknown function (ip: 0x105529211)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#train#92 at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:1118
train at /Users/oscar/.julia/dev/SDDP/src/algorithm.jl:950
unknown function (ip: 0x1054f5310)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
do_call at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:126
eval_body at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:775
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:934
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:877
ijl_toplevel_eval at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:943 [inlined]
ijl_toplevel_eval_in at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:985
eval at ./boot.jl:385 [inlined]
include_string at ./loading.jl:2070
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
_include at ./loading.jl:2130
include at ./client.jl:489
unknown function (ip: 0x10547551c)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
do_call at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:126
eval_body at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:0
jl_interpret_toplevel_thunk at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/interpreter.c:775
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:934
jl_toplevel_eval_flex at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:877
ijl_toplevel_eval at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:943 [inlined]
ijl_toplevel_eval_in at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/toplevel.c:985
eval at ./boot.jl:385 [inlined]
eval_user_input at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
repl_backend_loop at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
#start_repl_backend#46 at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
start_repl_backend at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:228
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#run_repl#59 at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
run_repl at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375
jfptr_run_repl_91808.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
#1013 at ./client.jl:432
jfptr_YY.1013_82797.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
jl_f__call_latest at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/builtins.c:812
#invokelatest#2 at ./essentials.jl:887 [inlined]
invokelatest at ./essentials.jl:884 [inlined]
run_main_repl at ./client.jl:416
exec_options at ./client.jl:333
_start at ./client.jl:552
jfptr__start_82823.1 at /Users/oscar/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:0 [inlined]
ijl_apply_generic at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/./julia.h:1982 [inlined]
true_main at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/jlapi.c:582
jl_repl_entrypoint at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-grannysmith-C07ZQ07RJYVY.0/build/default-grannysmith-C07ZQ07RJYVY-0/julialang/julia-release-1-dot-10/src/jlapi.c:731
Allocations: 61219055 (Pool: 61191987; Big: 27068); GC: 41
zsh: segmentation fault julia --project=.
Closed by #552
The MOI wrapper eagerly updates the row indices of constraints in a model upon deletion:
https://github.com/jump-dev/Gurobi.jl/blob/38464c27b96e9818257b22c61d2458890957d0fe/src/MOI_wrapper/MOI_wrapper.jl#L2115-L2129
We should instead do what we do for variables and lazily delay the update until the next call to
GRBupdatemodel
:https://github.com/jump-dev/Gurobi.jl/blob/38464c27b96e9818257b22c61d2458890957d0fe/src/MOI_wrapper/MOI_wrapper.jl#L981-L986
https://github.com/jump-dev/Gurobi.jl/blob/38464c27b96e9818257b22c61d2458890957d0fe/src/MOI_wrapper/MOI_wrapper.jl#L520-L534
This also explains why we didn't trigger #515 for variable deletion: https://github.com/jump-dev/Gurobi.jl/pull/515#discussion_r1294262326