multithreading - Parallel solving in Minizinc from the command line -
the minizinc ide has parallel solver option ("number of threads") in config section. when compiling commandline, however, mzn2fzn
binary doesn't seem support parallel option. possible solve in parallel commandline-compiled file?
you can either use minizinc via integrated development environment (ide
) or via commandline call. using ide 2.0.8
in ide
, use configuration
tab specify number of threads used searching/solving. depending on selected backend, may end error message, multi-threading not supported respective backend.
via commandline, can either call compiler , backend separately, or can use minizinc.exe
act umbrella tool call them sequentially. tools have commandline option --help
explain parameters. minizinc.exe
accepts -p
or --parallel
run backend in multi-threading mode, provided supported.
Comments
Post a Comment