Solving with C API takes long while solving with the command line tool finishes instantly
28 views
Skip to first unread message
mariu...@fau.de
unread,
Mar 14, 2018, 3:22:13 AM3/14/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Boolector
Hi,
when I compile and execute the attached file (linked with Boolector 2.4.1), solving takes a very long time (it hits my 300 s timeout). However, when I dump the formula in btor or smt2 format before the call to boolector_sat and use this as input to the Boolector command line tool, it instantly reports "sat".
What is the reason for this odd behavior? Am I using the API in a wrong way?
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bool...@googlegroups.com
Hi Marius,
You found a bug in the dumper of Boolector ;-) The formula that is
dumped is missing one constraint (50 root 1 39). This happens with
rewrite levels > 1.
Thanks for reporting this! This will be fixed in the upcoming release of
Boolector (due in the next 2-3 weeks).