Alloy Community

User login

How to retrieve the CNF file?

 
Posted on: Wed, 09/02/2009 - 05:19
Joined: 2009-06-03
Points: 16
User is offline
How to retrieve the CNF file?
Dear all,

I am an academic and I am working on testing SAT algorithms on hard Alloy instances.
For this, I need the CNF file that Alloy is creating from the Alloy model.
I am interested to know how I can retrieve the CNF files from Alloy, and eventually where they are temporarily stored.

Thank you.
Regards,
Adriana Alexandru
 
Posted on: Wed, 09/02/2009 - 10:57    #1
Joined: 2008-05-15
Points: 334
User is offline
Hi:

Go to the Options menu, change SAT Solver to "CNF".
Then every time you execute a command, it will write the CNF file instead
and it will tell you where the CNF file is stored.

(During normal execution, the CNF is not written to disk,
but it is indeed sent via inter-process pipe directly
into the SAT solver)

If you want the SAT solver to solve the problems for you again,
then you need to change the SAT Solver back.  I suggest MiniSat.

Syndicate content  

The development of this site is supported by the National Science Foundation under Computing Research Infrastructure Grant No. 0707612.

Theme originally designed by Chris Herberte