Cube

Discussion of challenges you have already solved
Post Reply
User avatar
MatRush
Posts: 33
Joined: Fri May 13, 2011 1:26 pm
Location: China
Contact:

Cube

Post by MatRush »

Solved it with Dancing Links finally... 8)
User avatar
dangermouse
Posts: 89
Joined: Sun Jun 05, 2011 8:14 pm
Location: deep space computing AG
Contact:

Post by dangermouse »

Me, too i used dancing links :-) The calculation took roughly one hour on a laptop iCore7.
Learn the rules if you want to break them effectively. Dalai Lama XV
kalunos
Posts: 7
Joined: Sat Jun 18, 2011 7:22 pm
Location: germany

puzzlemania

Post by kalunos »

maybe you like puzzler.sourceforge.net same as i did ... the enthusiasm of that guy is amazing :D ...

send me a pn if you want to get the puzzle def python script ... (ps: python-solver took about 4 min using algorithm x)
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post by Hippo »

I have coded it myself, converting possible shifts of first piece to long bitmaps and converting possible shits and rotations of remaining pieces to long bitmaps.

I have hashed possible combinations of last three pieces, last two pieces (and last piece), to make faster cutoffs for the forward search.
(Zobrist hashing would probbaly allow even hashing of last four pieces, but this was fast enough.)

Forward search was just on bitmaps adding nonintersecting bitmaps ... .

Solutions (the only one) adds weigth by number of corners, edges, faces and centers.

Finally the corners sum is multiplied by corresponding constant ...

BTW: it tooks 17s with the backward search to depth 3, 24s with backward search to depth 2, 26s with backward ""search" to depth 1 and 26s without backward search. So the effort was worth of it ;).
Post Reply