View unanswered posts | View active topics It is currently Fri Jun 25, 2021 5:24 am

← Back to the Calcudoku puzzle page

Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3
 describe your solver 
Author Message

Posted on: Mon Feb 23, 2015 12:44 pm

Posts: 77
Joined: Fri May 13, 2011 9:37 am
Post Re: describe your solver
I am updating my (Excel2007) solver to make it more input-friendly as I'm beginning to get RSI.
It was very easy to let it remember the last operator. In plus-only or multiply-only puzzles, I have to type the operator only once!

Now I am looking for a handy method to code the cages in a simple and fast way to reduce key strokes. A cage of 3 cells used 8 keystrokes, now only 2.

I found out, that it is easy for a macro to determine how a cell is left. That is, a+[enter] can be distinguished from a+[arrow left]. That kind of information can be used! And this opens the way for a kind of 'steno' to specify the form of a multi cell cage!

So far I have made 42 functions. For example v+[enter] is a square, v+Arrow is a parallelogram in that direction. So 5 functions underneath a letter.
c is for correction, a is add cell to cage in that direction. It works fine.

I have to type 70% less!

User avatar

Posted on: Fri Sep 08, 2017 8:47 am

Posts: 2867
Joined: Thu May 12, 2011 11:58 pm
Post Re: describe your solver
Here's a new one:

User avatar

Posted on: Wed Jul 18, 2018 10:55 am

Posts: 2867
Joined: Thu May 12, 2011 11:58 pm
Post Re: describe your solver
And another new one :-)


Posted on: Fri May 24, 2019 7:45 pm

Posts: 3
Joined: Thu Jan 25, 2018 10:57 pm
Post Re: describe your solver
Wrote my solver in c# when I was retiring from Delphi.
It started with writing a little program to show me all the combinations for a cage (from a range when I clicked on a cell of the puzzle.
Following operators are supported : +, -, x, /, &, |, ^ and mod (or a puzzle without operators).
And when that seemed to be okay, I tweaked it and added some more stuff to make life a bit more comfortable :-)
Then I wrote a solver because there was one user-puzzle that really drove me mad (a 12x12-puzzle, range 0..11 from kus_theo on 2018-06-09).
Mind you, I rarely click the solve button!!! It depends on the free time I have.
Don't know if the numbers are good, but it solves a 15x15 puzzle under 4 minutes.


Posted on: Mon Jan 25, 2021 2:02 am

Posts: 60
Joined: Fri May 13, 2011 2:21 am
Post Re: describe your solver
Are their any python experts on here ? I'm not interested in a solver as I like to solve them myself so don't see the point of a solver. I have absolutely no/very little apart from having a rough idea on how to follow easy stuff python ability at all & came up with the idea to put together a possible combination generator to help with the larger puzzles. With the help of my son (who has a basic understanding of python as he did as part of his teaching course through uni) we put together a program that does the job but I have a few more bells & whistles i'd like to add like # of duplicates, must include a certain number etc

I'm sure an expert would change my code around to make a lot smaller in size, run quicker etc but it does the job for me for the most part but would like to tidy up & add a bit t it. I used to use a website that was listed in the forums here years ago that I used for ages but it only did + - / * up to 9. I have it at the moment that it does + - / * ^ | & bit so all bases covered.

Let me know if anyone can help or point me to something similar already done so I'm not reinventing the wheel.

Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ]  Go to page Previous  1, 2, 3

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.