SlideShare a Scribd company logo
INTELLIGENT SUDOKU SOLVER WITH
AI-BASED OPTIMIZATION
PRESENTED TO
D.T.M . Shahriar Sazzad
Department of CSE
PROJECT PRESENTATION
SPRING 2025
Department of Computer Science and Engineering,
Green University of Bangladesh
16 May 2025
PRESENTED BY
1. Shoaib Akter (221002353)
2. Shahanaj Akter (213902090)
3. Md. Al-Imran (221002470)
Presentation Outline
● Introduction
● Aims and Objectives
● Literature Review
● Methodology
● Results
● Conclusion
● Reference
16 may 2025
Introduction
❑ Sudoku is a widely popular logic-based number-placement puzzle.
❑ Traditional solving methods include backtracking and constraint
propagation.
❑ To design an intelligent Sudoku solver using AI optimization techniques
for improved speed, adaptability, and efficiency.
❑ Develop an AI-driven solver using optimization techniques (backtracking
+ genetic algorithms).
16 may 2025
Aims and Objectives
❑ To understand the structure and rules of Sudoku puzzles
Analyze the constraints and conditions that define a valid Sudoku solution.
❑ To implement a basic Sudoku solver using traditional methods
Use backtracking and constraint propagation to create a functioning base solver.
❑ To integrate AI-based optimization algorithms
Apply techniques like Genetic Algorithms, Simulated Annealing,
or A* Search to enhance solving efficiency and scalability.
Literature Review
Related works Methodology Outcome Limitations
S. Russell et al. [1]
CSP Techniques-
Backtracking Search
Effective for basic
Sudoku solving-
Foundation for logic
solvers
Not scalable to larger
grids- Slow for complex
puzzles
A. Jain et al. [2]
Genetic Algorithm (GA)-
Crossover and
mutation-based
optimization
Solves most 9x9
puzzles efficiently-
Improved time
complexity
Performance sensitive
to initial population
H. Hoos et al. [3]
Simulated Annealing
(SA)- Local search with
probabilistic acceptance
Escapes local minima-
Solves difficult variants
May converge slowly-
Requires careful tuning
of parameters
16 may 2025
Literature Review (Cont.)
Related works Methodology Outcome Limitations
R. Sutton et al. [4]
Deep Reinforcement
Learning- Q-learning,
DQN-based solving
Learns general solving
policy- Can adapt to
different puzzle sizes
Needs high training
time- Requires reward
shaping
Y. LeCun et al. [5]
Neural Network
classification- Pattern
recognition for digit
inference
Can assist in digit
recognition from
handwritten Sudoku
grids
Not used for logic
solving directly
Methodology
Workflow:
➢ Input: Sudoku grid (text/image)
➢ Preprocessing: Image or text inputs.
➢ AI Solver:
➢ Backtracking: Fills cells recursively.
➢ Genetic Algorithm: Optimizes backtracking
with fitness functions.
➢ Output: Solved grid.
Proposed Methodology
Backtracking Algorithm: Implement a
backtracking algorithm to solve the Sudoku
puzzle.
Advanced Techniques: Enhance the solver
with advanced strategies like X-wing,
swordfish, and jellyfish.
Results
Figure - 1: HINT
Figure - 2: AI SOLVE
Conclusion
❖ AI optimization methods improve solving efficiency compared to
traditional techniques.
❖ Hybrid models benefit from both logical constraints and intelligent search.
❖ The system can adapt to various puzzle complexities and grid sizes.
❖ Future improvements: enhanced RL agents, mobile app integration, and
OCR for puzzle input.
Reference
1. S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 3rd ed.
Upper Saddle River, NJ, USA: Prentice Hall, 2010.
2. A. Jain and S. Singh, “A Hybrid Genetic Algorithm for Solving Sudoku Puzzles,”
IEEE Access, vol. 7, pp. 115106–115115, 2019.
3. H. Hoos and T. Stützle, Stochastic Local Search: Foundations and Applications,
San Francisco, CA, USA: Morgan Kaufmann, 2004.
4. R. S. Sutton and A. G. Barto, Reinforcement Learning: An Introduction, 2nd ed.,
Cambridge, MA, USA: MIT Press, 2018.
5. Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553,
pp. 436–444, May 2015.
Thank You!
Do You Have Any Questions?

More Related Content

PDF
Final 22POP13 Lab Manual- By SBL & PK.pdf
PPTX
Vqa seminar (1)
PPTX
DEPT CONF (1) (1).pptx
PDF
Sudokureport
PPTX
Parallel Computing Application
PDF
21AI401 AI Unit 1.pdf
PDF
CourseDiary_CST395 - NEURAL NETWORKS AND DEEP LEARNING.pdf
PDF
Advances In Computer Science And It D M Akbar Hussain
Final 22POP13 Lab Manual- By SBL & PK.pdf
Vqa seminar (1)
DEPT CONF (1) (1).pptx
Sudokureport
Parallel Computing Application
21AI401 AI Unit 1.pdf
CourseDiary_CST395 - NEURAL NETWORKS AND DEEP LEARNING.pdf
Advances In Computer Science And It D M Akbar Hussain

Similar to INTELLIGENTSUDOKUSOLVERWITH AI-BASEDOPTIMIZATION.pdf (20)

PPTX
GSU-RF-2013-Reddy-4
PDF
SG TR 212kb
PDF
Transfer Learning Model for Image Segmentation by Integrating U-NetPlusPlus a...
PPT
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
PDF
SANN: Programming Code Representation Using Attention Neural Network with Opt...
PPTX
Scratch coding and NGSS
PDF
AIML-MODULE1.pdf
PPTX
hodkin_huxley_design and implementation neuron.pptx
PDF
Zejia_CV_final
PDF
Design and development of automated examination system
DOCX
Design and Development Of Automated Examination System.
PPTX
Symbolic Background Knowledge for Machine Learning
PDF
Machine Learning_2025_First Module_1.pdf
PPTX
Java parser a fine grained indexing tool and its application
DOC
Table of Contents
DOC
Digital principles and Computer architecture CP
PDF
Advanced Image Processing Techniques And Applications 1st Edition N Suresh Kumar
PDF
SHORTEST PATH FINDING VISUALIZER
DOC
GSU-RF-2013-Reddy-4
SG TR 212kb
Transfer Learning Model for Image Segmentation by Integrating U-NetPlusPlus a...
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
SANN: Programming Code Representation Using Attention Neural Network with Opt...
Scratch coding and NGSS
AIML-MODULE1.pdf
hodkin_huxley_design and implementation neuron.pptx
Zejia_CV_final
Design and development of automated examination system
Design and Development Of Automated Examination System.
Symbolic Background Knowledge for Machine Learning
Machine Learning_2025_First Module_1.pdf
Java parser a fine grained indexing tool and its application
Table of Contents
Digital principles and Computer architecture CP
Advanced Image Processing Techniques And Applications 1st Edition N Suresh Kumar
SHORTEST PATH FINDING VISUALIZER
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Cell Structure & Organelles in detailed.
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Complications of Minimal Access Surgery at WLH
PDF
Supply Chain Operations Speaking Notes -ICLT Program
Classroom Observation Tools for Teachers
O7-L3 Supply Chain Operations - ICLT Program
Chinmaya Tiranga quiz Grand Finale.pdf
Cell Structure & Organelles in detailed.
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Yogi Goddess Pres Conference Studio Updates
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Microbial disease of the cardiovascular and lymphatic systems
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Complications of Minimal Access Surgery at WLH
Supply Chain Operations Speaking Notes -ICLT Program
Ad

INTELLIGENTSUDOKUSOLVERWITH AI-BASEDOPTIMIZATION.pdf

  • 1. INTELLIGENT SUDOKU SOLVER WITH AI-BASED OPTIMIZATION PRESENTED TO D.T.M . Shahriar Sazzad Department of CSE PROJECT PRESENTATION SPRING 2025 Department of Computer Science and Engineering, Green University of Bangladesh 16 May 2025 PRESENTED BY 1. Shoaib Akter (221002353) 2. Shahanaj Akter (213902090) 3. Md. Al-Imran (221002470)
  • 2. Presentation Outline ● Introduction ● Aims and Objectives ● Literature Review ● Methodology ● Results ● Conclusion ● Reference 16 may 2025
  • 3. Introduction ❑ Sudoku is a widely popular logic-based number-placement puzzle. ❑ Traditional solving methods include backtracking and constraint propagation. ❑ To design an intelligent Sudoku solver using AI optimization techniques for improved speed, adaptability, and efficiency. ❑ Develop an AI-driven solver using optimization techniques (backtracking + genetic algorithms). 16 may 2025
  • 4. Aims and Objectives ❑ To understand the structure and rules of Sudoku puzzles Analyze the constraints and conditions that define a valid Sudoku solution. ❑ To implement a basic Sudoku solver using traditional methods Use backtracking and constraint propagation to create a functioning base solver. ❑ To integrate AI-based optimization algorithms Apply techniques like Genetic Algorithms, Simulated Annealing, or A* Search to enhance solving efficiency and scalability.
  • 5. Literature Review Related works Methodology Outcome Limitations S. Russell et al. [1] CSP Techniques- Backtracking Search Effective for basic Sudoku solving- Foundation for logic solvers Not scalable to larger grids- Slow for complex puzzles A. Jain et al. [2] Genetic Algorithm (GA)- Crossover and mutation-based optimization Solves most 9x9 puzzles efficiently- Improved time complexity Performance sensitive to initial population H. Hoos et al. [3] Simulated Annealing (SA)- Local search with probabilistic acceptance Escapes local minima- Solves difficult variants May converge slowly- Requires careful tuning of parameters 16 may 2025
  • 6. Literature Review (Cont.) Related works Methodology Outcome Limitations R. Sutton et al. [4] Deep Reinforcement Learning- Q-learning, DQN-based solving Learns general solving policy- Can adapt to different puzzle sizes Needs high training time- Requires reward shaping Y. LeCun et al. [5] Neural Network classification- Pattern recognition for digit inference Can assist in digit recognition from handwritten Sudoku grids Not used for logic solving directly
  • 7. Methodology Workflow: ➢ Input: Sudoku grid (text/image) ➢ Preprocessing: Image or text inputs. ➢ AI Solver: ➢ Backtracking: Fills cells recursively. ➢ Genetic Algorithm: Optimizes backtracking with fitness functions. ➢ Output: Solved grid.
  • 8. Proposed Methodology Backtracking Algorithm: Implement a backtracking algorithm to solve the Sudoku puzzle. Advanced Techniques: Enhance the solver with advanced strategies like X-wing, swordfish, and jellyfish.
  • 9. Results Figure - 1: HINT Figure - 2: AI SOLVE
  • 10. Conclusion ❖ AI optimization methods improve solving efficiency compared to traditional techniques. ❖ Hybrid models benefit from both logical constraints and intelligent search. ❖ The system can adapt to various puzzle complexities and grid sizes. ❖ Future improvements: enhanced RL agents, mobile app integration, and OCR for puzzle input.
  • 11. Reference 1. S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 3rd ed. Upper Saddle River, NJ, USA: Prentice Hall, 2010. 2. A. Jain and S. Singh, “A Hybrid Genetic Algorithm for Solving Sudoku Puzzles,” IEEE Access, vol. 7, pp. 115106–115115, 2019. 3. H. Hoos and T. Stützle, Stochastic Local Search: Foundations and Applications, San Francisco, CA, USA: Morgan Kaufmann, 2004. 4. R. S. Sutton and A. G. Barto, Reinforcement Learning: An Introduction, 2nd ed., Cambridge, MA, USA: MIT Press, 2018. 5. Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, May 2015.
  • 12. Thank You! Do You Have Any Questions?