My version of a genetic algorithm that attempts to solve 3-CNF, along with some comparsion charts and a report about how I tried to improve it, what worked and what didn't. Run the main file 2019A7PS0135_KUSHAL.py (change the name if you wish), change the parameters (number of variables, number of clauses) to generate random 3-CNF sentences. Run the code and genetic algorithm will try to find the best solution it can within 45 seconds You also need CNF_Creator.py , this is the code that creates the random sentences
-
Notifications
You must be signed in to change notification settings - Fork 0
KushalJoseph/Genetic-Algorithm-for-CNF
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
My version of a genetic algorithm that attempts to solve 3-CNF, along with some comparsion charts and a report about how I tried to improve it, what worked and what didn't.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published