Assignment 2a: Finding the phase transition (BDD)

Issued 3 March; Handin 09.00, 14 March

Introduction

In this assignment you will gain some familiarity with a SAT package and experiment with this package.

Tasks

  1. Write an ML program to create random DIMACS format CNF problems by repeatedly generating and conjoining random 3-SAT clauses, using a given number N of variables.
  2. Use a SAT solver to find whether example is satisfiable. Instrument your program to collect data on the time taken to solve each example. Experiment with various numbers of variables and clause/variable ratios.
  3. Use your results to plot an experimental phase transition graph, for various numbers of variables.

Instructions

Either find a SAT package on the net, or use one of the following on a DICE machine.

Hints

The Unix utility time will allow you to time execution of a program.
Author: Michael Fourman
Revision 1.1 by neilb
2004/08/09 22:04:03


Home : Teaching : Courses : Propm : Assignments 

Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: school-office@inf.ed.ac.uk
Please contact our webadmin with any comments or corrections. Logging and Cookies
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh