My constraint problem has become too complex, and I'm looking to know if the Choco-Solver framework which I'm using to model and solve the problem supports a parallel programming approach like multi-threading.
Originally, I thought this would happen by default, but checking the CPU usage percentage when running top -i
shows it consistently around 100%, so I assume parallelization is not occurring.
I know about the ParallelPortfolio class in Choco, but it's not what I'm looking for since I have implemented a custom search strategy and it's that one that I want to use multi-threading on.
There are roughly 3 ways for parallel programming in constraint programming.
ParallelPortfolio
in Choco-solver.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.