Closed yurivict closed 1 year ago
Debug build fails this way:
$ minizinc food.mzn
Error: Gecode: Float::linear: Number out of limits
=====ERROR=====
I can't seem to reproduce the crash on Windows/Linux - was this using one of our binaries?
I think the Gecode error is expected (var float
without domains can often be problematic) - it would probably work with a solver like Gurobi or SCIP.
This is with binaries from FreeBSD packages.
0 0x00000008004cdc30 in MiniZinc::SetLit::rehash() () from /usr/local/lib/libmzn.so
1 0x00000008003c346c in MiniZinc::SetLit::SetLit(MiniZinc::Location const&, std::1::vector<MiniZinc::Expression*, std::1::allocator<MiniZinc::Expression*> > const&) ()
from /usr/local/lib/libmzn.so
2 0x00000008003bc0f0 in mzn_yyparse(void*) () from /usr/local/lib/libmzn.so
3 0x00000008006c3219 in MiniZinc::parse(MiniZinc::Env&, MiniZinc::Model*&, std::1::vector<std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, std:: 1:
:allocator<std::1::basic_string<char, std::__1::char_traits, std:: 1::allocator > > > const&, std::1::vector<std::1::basic_string<char, std::1::chartraits, std::
_1::allocator >, std::1::allocator<std::1::basic_string<char, std:: 1::char_traits, std::1::allocator > > > const&, std:: 1::basic_string<char, std::1::char_trait
s, std::1::allocator > const&, std:: 1::basic_string<char, std:: 1::char_traits, std::1::allocator > const&, std:: 1::vector<std::1::basic_string<char, std::
__1::char_traits, std:: 1::allocator >, std::1::allocator<std::1::basic_string<char, std::1::char_traits, std::1::allocator > > > const&, std:: 1::unordered
_set<std:: 1::basic_string<char, std::1::char_traits, std::1::allocator >, std:: 1::hash<std::__1::basic_string<char, std:: 1::char_traits, std::__1::allocator
FreeBSD 13.1