I need help

Post the puzzle or solving technique that's causing you trouble and someone will help

Re: I need help

Postby denis_berthier » Fri Apr 01, 2022 1:09 pm

coyote56 wrote:Good Morning
I am reviewing all the documentation that you have had for many years, and I have found a topic of "Reverse Sudoku Generator" from the year 2006 where the colleague "coloin" recommends the generator (http://magictour.free.fr/suex9s .exe). I have downloaded the program suex9s.exe, but it tells me that it cannot run the program on the computer (Windows 10). I follow the instructions but there is no way.
Any ideas to get it?
When he says: type C:\folder> suex9s <file.txt> seed…..etc Should I type it in the windows console or somewhere else?.
With this generator, can I choose the degree of difficulty of the Sudoku puzzles?
Thank you very much for your attention and your time.

I don't know if the original program is still available on the web.
You can find a copy of it (among others) here: https://github.com/denis-berthier/Controlled-bias_Sudoku_generator_and_collection in the Programs folder: suexg-td.c
Compile it and run it as explained in the README.td
denis_berthier
2010 Supporter
 
Posts: 4213
Joined: 19 June 2007
Location: Paris

Re: I need help

Postby coyote56 » Sat Apr 02, 2022 2:19 pm

mr denis_berthier
Thanks for your great help once again. I have already managed to generate the sudoku boards perfectly, but I am still wondering if you can choose the degree of difficulty of the generated sudokus or if they are generated randomly.
Either way, it's a big step forward for me.
Greetings
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby denis_berthier » Sat Apr 02, 2022 2:24 pm

coyote56 wrote:mr denis_berthier
Thanks for your great help once again. I have already managed to generate the sudoku boards perfectly, but I am still wondering if you can choose the degree of difficulty of the generated sudokus or if they are generated randomly.
Either way, it's a big step forward for me.
Greetings

They are generated randomly, according to a standard top-down process. If you want puzzles that are easier in the mean (too easy), choose the bottom-up version (suexg-bu.c).
denis_berthier
2010 Supporter
 
Posts: 4213
Joined: 19 June 2007
Location: Paris

Re: I need help

Postby coyote56 » Fri Apr 08, 2022 11:02 am

Good morning to all
Thanks to your help I am exceeding my expectations, and it turns out that by studying all the documentation you have, I think I have understood that with the “sudoku-64” program I could generate games according to a pattern of my choice. If so, I would like to ask two things:
Is it possible to get the file with the patterns? AND
Could someone tell me the instruction to put in the console, with the way to enter the chosen pattern, to generate the games according to that pattern?
I've really tried, but almost always I get "file not found" or "404 error". Apparently I'm a little late.
Greetings and thank you very much for your patience.
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby 1to9only » Fri Apr 08, 2022 11:30 am

User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: I need help

Postby coyote56 » Fri Apr 08, 2022 1:58 pm

1to9only
Thank you very much for your help. I have already managed to generate the games and have them classified.
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby coyote56 » Tue Apr 12, 2022 1:03 pm

Hi again, everybody
My happiness was short-lived. I will tell you that I have managed to generate sudokus according to the pattern to my liking and I have classified them as indicated by mr. 1to9only, but it turns out that now when trying to generate them the console returns this message:
C:\>sudoku-64.exe -n100 -gto{-3+3}p -euniq()*(1==minimal) -f%v -opuzzles.txt < umbrella.txt
sudoku: stdin:1: unexpected EOF
Does anyone know what it is due to and how to fix it.
Thank you very much and happy day.
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby 1to9only » Tue Apr 12, 2022 2:41 pm

coyote56 wrote:sudoku: stdin:1: unexpected EOF

I think the file umbrella.txt does not contain a valid sudoku of exactly 81 characters.
Redo the file and try again.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: I need help

Postby coyote56 » Tue Apr 12, 2022 3:20 pm

I'm sorry, but that is not the problem because I have tried it right now with four more verified patterns and the error no longer appears, but it does nothing, it immediately jumps to the previous command
C:\>sudoku-64.exe -n100 -gto{-3+3}p -euniq()*(1==minimal) -f%v -opuzzles.txt < umbrella.txt
C:\>
As you can see, I run “C:\>sudoku-64.exe -n100 –gto…” and just pressing Enter jumps to the system prompt “C:\>”
The really strange thing is that I was generating them before with no problem, just like you told me.
Thank you
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby 1to9only » Wed Apr 13, 2022 4:48 pm

coyote56 wrote:C:\>sudoku-64.exe -n100 -gto{-3+3}p -euniq()*(1==minimal) -f%v -opuzzles.txt < umbrella.txt
C:\>

It is a bad idea to use C:\. Instead put the sudoku stuff in a folder like C:\Sudoku.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: I need help

Postby coyote56 » Thu Apr 14, 2022 11:55 am

Hello
I have created a folder as you advise me and, unfortunately, the result is the same, it jumps immediately to the starting folder.
C:\>cd Sudoku
C:\Sudoku>sudoku-64.exe -n100 -gto{-3+3}p -euniq()*(1==minimal) -f%v -opuzzles.txt < umbrella.txt
C:\Sudoku>
Thanks for your help.
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby coyote56 » Thu Apr 14, 2022 12:31 pm

Since I doubt everything, could you tell me if this is exactly what I should have in the Sudoku folder?
Serate.tgz 8KB
Sudoku-64 513KB
SudokuExplainer 621KB
Umbrella 1KB
jre-8u321-windows-x64 508KB
The puzzles.txt file is created by itself.
Thank you
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby coyote56 » Fri May 06, 2022 10:10 pm

Greetings
I have verified that you can get a solution path with this command:
java.exe -cp SudokuExplainer.jar diuf.sudoku.test.Tester puzzles.txt puzzles.log
my question is if I could attach a line with the 81 characters that compose it to the header of each sudoku in that path.
If possible I would also like to know how I can generate this solution path with its explanation.

finned-x-wing-in-columns: n5{c2 c8}{r2 r5} ==> r5c7≠5
finned-x-wing-in-columns: n4{c2 c8}{r1 r5} ==> r5c7≠4
hidden-triplets-in-a-row: r7{n2 n5 n8}{c7 c3 c1} ==> r7c7≠7, r7c7≠3, r7c3≠3, r7c1≠6
hidden-single-in-a-block ==> r9c2=6
biv-chain[3]: r2c4{n8 n3} - r8n3{c4 c2} - r8n8{c2 c8} ==> r2c8≠8
….
….
Thank you very much for your help and your time.

Iñaki
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby coyote56 » Wed May 18, 2022 9:19 pm

It seems that I have requested something very difficult.
Anyway, thanks for trying.
I will continue learning.
coyote56
 
Posts: 23
Joined: 04 September 2015

Re: I need help

Postby yzfwsf » Wed May 18, 2022 11:11 pm

yzfwsf
 
Posts: 905
Joined: 16 April 2019

PreviousNext

Return to Help with puzzles and solving techniques