| View previous topic :: View next topic | 
        
        
                | Author | Message | 
        
                | |  |  | Sephiroth 
 
 |  | Joined: 09 May 2007 |  | Posts: 3 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Wed May 09, 2007 3:28 pm    Post subject: my solver doesn't work. plz answer. |   |  
                                | 
 |  
                                | My sudoku solver doesn't work at this board. ========================
 _ 5 _  |  _ _ _  |  7 _ _
 7 _ 6  |  _ _ 5  |  _ _ 9
 9 _ 8  |  1 _ 7  |  5 _ _
 -----------------------------
 _ _ 2  |  9 _ 3  |  _ 5 _
 _ _ _  |  7 _ 1  |  _ _ _
 _ 8 _  |  6 5 2  |  4 _ _
 ------------------------------
 _ _ _  |  _ _ 7  |  2 _ 1
 6 _ _  |  3 _ _  |  9 _ 5
 _ _ 4  |  _ _ _  |  _ 3 _
 =========================
 
 briefly, my solver begins to find out the answer by rows. (from 1 to 9)
 ==========[ flowing ]=====================
 no.1 > row1 > col1 > empty?(I) > no > no.1? > yes > row2 > ..
 -------------------------------------------------------- > no > col2 > ...
 -------- row2 > ..
 --------- ...
 --------- ...
 --------- ...
 no. 2 > row 1 > ..
 ...
 ---------------------------------------------------------------
 (I) > yes > fit?(II) > yes > col2 > ... > fit? > yes > don't apply > next row
 (II) : checking row, col, 3*3 sq.
 =====================================
 
 And this algorithm doesn't work this out.
 Because, I think this board has a possiblity to lie each number in 2 cols(or rows) or more.
 in other words, any number has a quite fit position. (right? -_-?)
 
 And I really want to know about why no.4 has to be on [row5, col5].
 (much better solver than mine told me like that.. -_-
 but, I don't know why no.4 is not supposed to be on [row4, col5]. )
 
 I want to solve this problem with the rules.(not trial and error.)
 It means next step has a very clear reason.
 I care about "HOW". Not "WHAT".
 
 plz answer anyone! (thanks~(/"-_-)/")
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | Ruud Site Admin
 
  |  | Joined: 17 Sep 2005 |  | Posts: 708 |  | : |  | Location: Netherlands |  | Items
 | 
 | 
                        
                                |  Posted: Wed May 09, 2007 5:01 pm    Post subject: |   |  
                                | 
 |  
                                | My solver doesn't solve this puzzle either. It has duplicate sevens in column 6. 
 cheers,
 Ruud
 _________________
 Meet me at sudocue.net
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | Sephiroth 
 
 |  | Joined: 09 May 2007 |  | Posts: 3 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Thu May 10, 2007 12:21 am    Post subject: oops-_- sorry~ |   |  
                                | 
 |  
                                | ======================== _ 5 _ | _ _ _ | 7 _ _
 7 _ 6 | _ _ 5 | _ _ 9
 9 _ 8 | 1 7 _ | 5 _ _
 -----------------------------
 _ _ 2 | 9 _ 3 | _ 5 _
 _ _ _ | 7 _ 1 | _ _ _
 _ 8 _ | 6 5 2 | 4 _ _
 ------------------------------
 _ _ _ | _ _ 7 | 2 _ 1
 6 _ _ | 3 _ _ | 9 _ 5
 _ _ 4 | _ _ _ | _ 3 _
 =========================
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | daj95376 
 
 |  | Joined: 05 Feb 2006 |  | Posts: 349 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Thu May 10, 2007 12:30 am    Post subject: |   |  
                                | 
 |  
                                |  	  | Code: |  	  | 0 5 0 | 0 0 0 | 7 0 0 7 0 6 | 0 0 5 | 0 0 9
 9 0 8 | 1 7 0 | 5 0 0
 ---------------------
 0 0 2 | 9 0 3 | 0 5 0
 0 0 0 | 7 0 1 | 0 0 0
 0 8 0 | 6 5 2 | 4 0 0
 ---------------------
 0 0 0 | 0 0 7 | 2 0 1
 6 0 0 | 3 0 0 | 9 0 5
 0 0 4 | 0 0 0 | 0 3 0
 
 | 
 
  	  | Code: |  	  | c5    -  48    Naked  Pair r8      -  127   Naked  Triple
 r6c8    =  7     Hidden Single
 Naked  Singles
 
 | 
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | Pat 
 
  |  | Joined: 06 Sep 2006 |  | Posts: 128 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Thu May 10, 2007 11:41 am    Post subject: |   |  
                                | 
 |  
                                |  	  | Sephiroth wrote: |  	  |  	  | Code: |  	  | . 5 . | . . . | 7 . .
 7 . 6 | . . 5 | . . 9
 9 . 8 | 1 7 . | 5 . .
 -------+-------+------
 . . 2 | 9 . 3 | . 5 .
 . . . | 7 . 1 | . . .
 . 8 . | 6 5 2 | 4 . .
 -------+-------+------
 . . . | . . 7 | 2 . 1
 6 . . | 3 . . | 9 . 5
 . . 4 | . . . | . 3 .
 
 
 | 
 
 | 
 the 4 and 8 for box 5 are (both) in c5
==> "hidden" duo {4,8} in r8 (not in c5)
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | Sephiroth 
 
 |  | Joined: 09 May 2007 |  | Posts: 3 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Thu May 10, 2007 2:13 pm    Post subject: |   |  
                                | 
 |  
                                | oh...I can see.. hidden 4, 8 in r8 ----> r8c8 is 4 or 8 ... then ---> r6c8, r9c9 = 7 +_+
 thank you~
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | NewUrbanBlues 
 
 |  | Joined: 22 Oct 2006 |  | Posts: 36 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Sat Sep 01, 2007 2:08 pm    Post subject: |   |  
                                | 
 |  
                                | Using the board corrected by pat 
 001 Pointing Pair Reduction in a Column        Candidate 4 removed in Cells r1c5, r2c5, r7c5 & r8c5
 002 Pointing Pair Reduction in a Column        Candidate 8 removed in Cells r1c5, r2c5, r7c5, r8c5 & r9c5
 003 Pointing Pair Reduction in a Column        Candidate 4 removed in Cells r1c8, r2c8 & r3c8
 004 Hidden Pair in a Row                       Candidates other than 4 and 8 removed in Cells r8c6 & r8c8
 005 Hidden Single in a Column                  Given 7 solved at r6c8
 006 Single in a Box                            Given 7 solved at r4c2
 ... up to the end
 
 Thierry
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | giroffel 
 
 |  | Joined: 16 Sep 2007 |  | Posts: 2 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Sun Sep 16, 2007 7:16 pm    Post subject: |   |  
                                | 
 |  
                                |  	  | daj95376 wrote: |  	  |  	  | Code: |  	  | c5    -  48    Naked  Pair r8      -  127   Naked  Triple
 r6c8    =  7     Hidden Single
 Naked  Singles
 
 | 
 | 
 
 what program do you use to generate this kind of output? is it your own program?
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | NewUrbanBlues 
 
 |  | Joined: 22 Oct 2006 |  | Posts: 36 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Sun Sep 16, 2007 8:17 pm    Post subject: |   |  
                                | 
 |  
                                | Hello 
 This is the log generated by my Sudoku application, called Isanaki, when I request a complete board solving.
 
 Select the menu 'Sudoku | Generate Board' and the the menu 'Solve | Solve using Iterative Human-Like Logic'
 The log will appears on the left pane. You can save to a text file by clicking the 'Store Log' button
 
 You can download it from the following URL:
 http://www.tgmdev.be/free_sudoku_generator_solver_isanaki_20.php
 
 Isanaki is able to solve hard boards but it does not (still ...) reach the solving ability of the best solvers around the Web ...
 
 If you make a try and got some comments or request for log improvement, don't hesitate to ask ... Currently, I'm modifying the current version to make it handle Sudoku and Workoku boards...
 
 Have fun ...
 |  | 
        
                | Back to top |  | 
        
                |  | 
	 
        
                | |  |  | daj95376 
 
 |  | Joined: 05 Feb 2006 |  | Posts: 349 |  | : |  |  |  | Items
 | 
 | 
                        
                                |  Posted: Mon Sep 17, 2007 3:24 pm    Post subject: |   |  
                                | 
 |  
                                |  	  | giroffel wrote: |  	  |  	  | daj95376 wrote: |  	  |  	  | Code: |  	  | c5    -  48    Naked  Pair r8      -  127   Naked  Triple
 r6c8    =  7     Hidden Single
 Naked  Singles
 
 | 
 | 
 
 what program do you use to generate this kind of output? is it your own program?
 | 
 It's my own program. Nothing fancy, but it gets the job done on all but the most extreme puzzles.
 |  | 
        
                | Back to top |  | 
        
                |  | 
	
        
                |  |