1 Project Management Example Solving Sudoku 2 What is Sudoku?  Sudoku is a game with 9 columns and 9 rows and 9 “boxes” composed of a 3 x 3 Grid  Numbers.

Slides:



Advertisements
Similar presentations
Spreadsheet Vocabulary
Advertisements

Spreadsheet Vocabulary Split the screen so you can see the words AND the crossword puzzle AND the quiz at the same time.
Brain Challengers!!!.
Welcome to Rotor Clips Online Services Tutorial username ************ You will first be prompted to enter your user name and password. Your user name.
Dynamic Forms How to use Tables. What is a Table? Usually you see a table on a form like this…. 3 columns X 3 rows with grey border lines But this could.
AxsJax SS12: Code for a Cause Code-A-Thon Gurmeet Singh, Arvind Venkataraman, Kushal Bhatt Mentor: Prashanth Pandian (Orbital Sciences)
How to play SUDOKU adapted from Tilda Rosander.
Minimize Problems Produced by E. Gretchen Gascon.
Solving Sudoku1 Website: Labelling scheme.
Word Lesson 11 Customizing Tables and Creating Charts Microsoft Office 2010 Advanced Cable / Morrison 1.
Number puzzles in the paper Did you know there’s a whole range of number puzzles you can try in most newspapers? Click on the puzzles below to complete.
Programming in Visual Basic
X Australian Curriculum Year 5 Solve problems involving multiplication of large numbers by one or two digit numbers using efficient mental, written strategies.
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
Structured Graphs and Applications
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 86 Chapter 2 Matrices.
A game of logic where the player must assign the numbers 1..9 to cells on a 9x9 grid. The placement of the numbers must be such that every number must.
Example 9.1 Goal Programming | 9.3 | Background Information n The Leon Burnit Ad Agency is trying to determine a TV advertising schedule.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 86 Chapter 2 Matrices.
Chapter 2: Algorithm Discovery and Design
SOLVING SUDOKU Graham Hutton University of Nottingham (with thanks to Richard Bird)
The Mathematics of Sudoku Helmer Aslaksen Department of Mathematics National University of Singapore
Solving the Puzzle A PowerPoint Game By Jay Lowery University of Memphis IDT 7062 Play the game Game Directions Story References Game Preparation Objectives.
S L E O A V S L I M P E R P R O B E L M
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Sudoku Puzzles. How to do a 4x4 Sudoku Grid (easiest) Every column, row and mini-grid must contains the numbers 1, 2, 3 and 4. Can you work.
Solving Sudoku Mark PTTLS Micro teach. Solving Sudoku What is a Sudoku? A Sudoku is a number puzzle based on a 9x9 grid made up from smaller 3x3 blocks.
Mathematical Methods In Solving Sudoku Puzzles By: Cory Trenkamp Wright State University May 24, 2006.
SOLVING SUDOKU WITH MATLAB VERIFICATION FUNCTION correctness verification of the puzzle: checks if the current element appears twice in the same line,
SUDOKU Via Relaxation Labeling
Copyright © 2011 Kristina Fornažar Agić. Look! This column already has numbers 4, 3 and 1. 2 The missing number is 2. Now we’ll fill the blank spot with.
Macros n Macros are little programs that you can create to automate particular tasks that you may want to execute more easily than having to specify all.
Microsoft Excel Macros & Excel Solver (IENG490)
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Faculty Webpage Design Minimum Requirements. Go to: then High Schoolhttp://gcsc.groupfusion.net/
2009/11/14GPW20091 Analysis of the Behavior of People Solving Sudoku Puzzles Reijer Grimbergen School of Computer Science, Tokyo University of Technology.
Practice and Evaluation. Practice Develop a java class called: SumCalculator.java which computes a sum of all integer from 1 to 100 and displays the result.
1 CSC 427: Data Structures and Algorithm Analysis Fall 2010 See online syllabus (also available through BlueLine): Course goals:
Whiteboardmaths.com © 2008 All rights reserved
Topic 3 Games and Puzzles Unit 1 Topic 1. You just used reasoning to determine what happened in the story. In this unit, we are going to do the same.
Online Surveys Jacqui James and Malcolm Roberts School of Education.
A spreadsheet is a programme which stores data in a grid. Many people use spread sheets as an online calculator instead of working lots of calculations.
Files Tutor: You will need ….
Multiplication with Arrays and Boxes – A Visual Model.
Su Doku!. Given a grid and some numbers, fill the rest in… They might be in the wrong order…
How Do I Solve This Thing?. You are familiar with Sudoku puzzles. For this variation, place the integers 1 – 9 into each row or column such that the.
2 MINUTE PEARLS Immunization Module: New and Historical Vaccines
Do I Understand Spreadsheets? Assessment Game. Question 1 What is a spreadsheet?
IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
Multivariable linear systems.  The following system is said to be in row-echelon form, which means that it has a “stair-step” pattern with leading coefficients.
PSAT Test Format and Test Taking Tips. General Test Taking Tips Expect easy questions at the beginning of each set of sentence completion questions and.
SUDOKU SOLVER Will Bazil, Ryan Covert, Ricky Parker.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Example 3.1a Sensitivity Analysis and Solver Table Add-in.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Microsoft Excel Consolidation. Contents Introduction to Multiple Workbook Applications Working with Multiple Workbook Applications using normal keyboard.
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
Participants already can count from 1 to 9.
A CIS 5603 Course Project By: Qizhong Mao, Baiyi Tao, Arif Aziz
Doing a Bond Screening Login to the computer Launch Microsoft Excel
Example Fill in the grid so that every row, column and box contains each of the numbers 1 to 9:
Microsoft Official Academic Course, Access 2016
Notes Solving a System by Elimination
Linear Programming Excel Solver.
Lecture 22 Logistics Last lecture Today
Multiplication with Arrays and Boxes
Presentation transcript:

1 Project Management Example Solving Sudoku

2 What is Sudoku?  Sudoku is a game with 9 columns and 9 rows and 9 “boxes” composed of a 3 x 3 Grid  Numbers from 1 to 9 should be entered once in each column, row and box  All games have some numbers already entered

3 Sample Sudoku Game

4 Step 1: Set the Goal Create a Sudoku Solver that solves 100% of the Games fast

5 Step 2: Determine the steps

6 Step 2a: Create an input screen – which allows the easy entry of numbers into a 9 x 9 grid Solution: Use an Excel spreadsheet

7 Step 2B: Select Programming Language Solution: Visual Basic is available within Excel as a programming language

8 Step 2c: Design subroutines required to complete project Main Module o Update by rows – create subroutine o Update by columns – create subroutine o Update by boxes – create subroutine o Add additional subroutines as needed o Add final subroutine to solve sequentially o Evaluate the results of each subroutine (Win, Lose or Draw)

9 Step 3: Implement the plan Write the subroutines

10 Step 4a: Purchase of Sudoku puzzle book of 320 games split into 90 easy games, 90 medium games, 90 hard games, 50 very hard games. Step 4: Test the Results Were all the games solved?

11 Step 4b: Evaluate and review Testing Results Easy: 90 of 90 solved Medium: 75 of 90 solved Hard: 38 of 45 solved Tests stopped here Conclusion: 1 More modules need to be added 2 Sequential testing takes too long

12 Step 2d: Design more Subroutines or change existing routines to solve more puzzles Viewed Doubles by Row, Column, Boxes Hidden Pairs by Row, Columns, Boxes

13 Step 3A: Write the Code Added the Additional Tests needed and discovered a quicker way to solve the puzzles in one of the modules (Level 5 Sequential Testing )

14 Step 4c: Evaluate and review Test Results 1 of the 32 games was not solved – due to duplicate solutions. More games are solved - but 32 games were remaining for sequential testing.

15 Step 1a: Revise the Goal to be more specific New Goal: Solve 100% of the Games with less than 2% of games solved sequentially. This will speed-up finding the solutions

16 Step 2e : Design additional Subroutines o Find additional patterns based on data. o Check Internet for additional ideas on logic used for elimination of possibilities within cells o Review Sequential testing module to determine if this can be further rewritten to work better/faster

17 Step 3B: Write the Code

18 Step 4c: Evaluation of test results on 16 new modules Medium: 6 Hard: 3 Very Hard: 8 Remaining unsolved at completion of level 3 tests: 17

19 2e: Design: Modify the order of the subroutines to speed up the finding of the solutions of programs Level 1Level 2Level 3 Level 5 (Sequential) # of Games # of Tests39 (3 + 6) 25 (16+19) 2.3 x 25

20 2f: Design New Pattern Emerging Noticed more of hard games were solved than medium games Are all of the modules working properly? Is there additional logic that could be tested for but were missed?

21 2g: Design Found New Logic!!! Wrote 2 add’l subroutines and added to level 2 All but 3 of level 3 games were solved by new level 2 subroutines. Possible to eliminate Level 3 and rely on Level 5 as a catch all. Number of games left for level 5: 3 Number of Sequential tries for Level 5: reduced to 1

22 3c: Write the Code

23 4f: Review and Evaluate Testing Results Level 1Level 2 Level 3 & 5 (Sequential) # of Games # of Tests3 11 (3 + 8) 1 x 25 All solved on 1 st try

24 Step 5: Goals Reached Project Completed The End

25 Tech Specifications Machine Specification – Pentium Core Duo running at 2.4 Megahertz The Program was written in Visual Basic within Excel 2003 Average Time To Solve Maximum Time To Solve Level Seconds5 Seconds Level 59 Seconds1 Minute Level 612 Seconds10 Minutes Estimate

26 Last Word All Games that I found anywhere (in Books, On-Line or in Newspapers were solved at Levels 1-5 Level 6 was added as a “Last Resort” Any Game that was “Incomplete” at end of Level 5 was solved in Level 6. Level 6 was tested and found 1 solution with as little as 9 cells in the Sudoku Grid. For Games with multiple solutions (Level 5 or 6) – only 1 solution was displayed

27 Contact us at: Phone#: Website: FunctionstoGo.com