logoalt Hacker News

thisisauseridtoday at 3:07 PM2 repliesview on HN

I know nothing about z3 but it's from Microsoft. Would Google's OR-Tools component CP-SAT also be useful for something like this?


Replies

nostreboredtoday at 3:42 PM

z3 is also just so thoroughly optimized that even if your formulation of the constraints is inefficient it is faster. it is a great library that lets you solve pretty complicated DP problems with a few dozen lines of code.

myng111today at 3:15 PM

Z3 is an SMT solver, not a SAT solver. You'd probably be looking for something more like Yices, Bitwuzla, cvc5, etc.

show 1 reply