Algorithm Performance on the Satisfiability Problem
CSEF · 2004 Mathematics & Software
Overview
Objectives/Goals The objective was the find an effective method to solve the Satisfiability problem. Methods/Materials Methods 1. Write the Clause Check subprogram 2. Write a program to generate random problems with the ability to regenerate problems 3. Write the Genetic algorithm 4. Write the GSAT algorithm 5. Write the Simulated Annealing algorithm 6. Write the Exhaustive algorithm 7. Make sure the algorithms run properly 8. Run a 100 clauses 10 variables problem with the Genetic algorithm, GSAT, and Simulated Annealing. Do this 10 times for each algorithm 9. Repeat step 8 for 200 clauses and 20 variables, 300 clauses and 30 variables, 400 clauses 40 variables, 500 clauses and 50 variables, 10 clauses and 10 variables, 30 clauses and 30 variables, 50 clauses and 50 variables, 42 clauses and 10 variables, 127 clauses and 30 variables, 212 clauses and 50 variables. 10. Record data and analyze which algorithm had a higher performance level in terms of states taken to achieve a solution, and number of clauses satisfied Materials 1 Computer Software: Microsoft Visual C++ Introductory Edition Compiler Microsoft Word Microsoft Excel Results The Hillclimbing algorithm performed worse, in terms of the number of clauses satisfied. The Genetic algorithm performed the worse, in terms of number of states taken to find a candidate. Conclusions/Discussion The Simulated Annealing Performed the best out of all algorithms
Summary statement
To find out which out of the three algorithms will solve the Satisfiability Problem most effectively
Help received
I would first like to thank my mentor, Dr. Kibler. I would also like to thank SCAS for their support.
Competition history
- CSEF 2004
Resources
Related projects
CSEF · 2012
Sudoku.exe
ISEF · 2024
A Novel Approach for Optimization of Genetic Algorithm Parameters Used in Solving NP-Complete Problems via the Generic Sudoku N x N Paradigm
ISEF · 2016
Schedule Advisory: Investigating Genetic Algorithms to Solve Class Scheduling
CSEF · 2016
Are Genetic Algorithms Effective for Computationally Intense Problems?
ISEF · 2015
A Novel Algorithm for #SAT
CSEF · 2007
Awesome Algorithms
ISEF · 2017
Genetic Algorithms and Sorting Data
CSEF · 2003
Evolution of Data: The Effect of Mutation Functions on the Growth of a Computer Generated Population
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects