Dear all,
Have got an error when using the Cbc solver for MILP problem (unit commitment for hydropower production).
First, if I solve a problem with
- 3162 linear constraints
- 3628 variables : 1581 binary
I got really quickly a solution, but if I add some time step and try to solve the problem with
- 3298 linear constraints
- 3784 variables : 1649 binary
I got the following fatal error :
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
signal (22): SIGABRT
while loading D:\Droxler\Projets\JULIA MILP\MILP_Production.jl, in expression starting on line 128
crt_sig_handler at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\signals-win.c:89
raise at C:\Windows\system32\msvcrt.dll (unknown line)
abort at C:\Windows\system32\msvcrt.dll (unknown line)
ZN5Idiot8IdiSolveEiiPdS0_S0_S0_PKdS0_S0_S2_S2_S2_PKiS4_S4_S0_iddddidddP16CoinThreadRandom at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN5Idiot8IdiSolveEiiPdS0_S0_S0_PKdS0_S0_S2_S2_S2_PKiS4_S4_S0_iddddidddP16CoinThreadRandom at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN23ClpPrimalColumnSteepest11pivotColumnEP17CoinIndexedVectorS1_S1_S1_S1_ at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN16ClpSimplexPrimal12primalColumnEP17CoinIndexedVectorS1_S1_S1_S1_ at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN16ClpSimplexPrimal14whileIteratingEi at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN16ClpSimplexPrimal6primalEii at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN10ClpSimplex6primalEii at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libClp-1.dll (unknown line)
ZN21OsiClpSolverInterface12initialSolveEv at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libOsiClp-1.dll (unknown line)
ZNK12CbcHeuristic19smallBranchAndBoundEP18OsiSolverInterfaceiPdRddNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbc-3.dll (unknown line)
ZN17CbcHeuristicFPump8solutionERdPd at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbc-3.dll (unknown line)
ZN8CbcModel18doHeuristicsAtRootEi at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbc-3.dll (unknown line)
ZN8CbcModel14branchAndBoundEi at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbc-3.dll (unknown line)
Z8CbcMain1iPPKcR8CbcModelPFiPS2_iER19CbcSolverUsefulData at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbcSolver-3.DLL (unknown line)
Z8CbcMain1iPPKcR8CbcModel at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbcSolver-3.DLL (unknown line)
Cbc_solve at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libCbcSolver-3.DLL (unknown line)
optimize! at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\Cbc\src\CbcSolverInterface.jl:162
unknown function (ip: 00000000052EC626)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
#solve#99 at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\JuMP\src\solvers.jl:173
unknown function (ip: 0000000010C64C30)
BuildAndSolveMILPModel at D:\Droxler\Projets\JULIA MILP\Function\BuildAndSolveMILPModel.jl:243
unknown function (ip: 0000000010C4B1EF)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
do_call at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:66
eval at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:190
eval_body at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:469
jl_interpret_call at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:573
jl_toplevel_eval_flex at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\toplevel.c:572
jl_parse_eval_all at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\ast.c:717
include_string at .\loading.jl:441
include_string at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\CodeTools\src\eval.jl:28
unknown function (ip: 0000000010B8B295)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
do_call at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:66
eval at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\interpreter.c:190
jl_toplevel_eval_flex at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\toplevel.c:558 [inlined]
jl_toplevel_eval at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\toplevel.c:580
jl_toplevel_eval_in_warn at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:590
include_string at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\CodeTools\src\eval.jl:32
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
#53 at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\Atom\src\eval.jl:40
withpath at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\CodeTools\src\utils.jl:30
unknown function (ip: 0000000010B8ACEA)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
withpath at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\Atom\src\eval.jl:46
unknown function (ip: 0000000010B8A94A)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
macro expansion at D:\Application\Julia Pro\pkgs-0.5.1.1\v0.5\Atom\src\eval.jl:57 [inlined]
#52 at .\task.jl:60
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:210 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1950
jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1392 [inlined]
start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:254
Allocations: 64534346 (Pool: 64527560; Big: 6786); GC: 102
Assertion failed!
Program: D:\Application\Julia Pro\Julia-0.5.1\bin\julia.exe
File: ClpPrimalColumnSteepest.cpp, Line 590
Expression: model_->reducedCost(bestSequence) > 0.0
I really don’t understand where it come from and I’m not enough familiar with Julia and coding to understand this “Assertion failed!” at the end.
I don’t know if anyone already got this error?
I don’t think that it comes from my input data, cause their are consistent.
And the problem is not big, so it is not a memory problem (or maybe I didn’t use correctly the memory?)
I realize that I didn’t give a lot of information, I will try to give clear code if needed.
Thank you all