• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 40,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

Request easy(for computer) algorithms for big(20^3) cubes

Zhiguo

Member
Joined
Feb 26, 2010
Messages
12
A friend asks me to write a program to solve 20x20x20 cube.
Optimal algorithms are not necessary.
Usual easy algorithms will be enough.
So, would you like to suggest me some algorithms that could solve 20x20x20 cubes, and at the same time as easy(to program) as possible?


Thanks in advance! ^_^ Any help will be appreciated!

P.S. I know how to solve a 3x3x3 cube, but I am not an enthusiast of it. So please suggest easy algorithms. It needs not be fast.

P.S.2 Sorry for multi-posting. I first post in "blindcubing" section, and was suggested to post here.
 

Googlrr

Member
Joined
Aug 19, 2009
Messages
153
Location
New Hampshire
WCA
2010CARM01
I would assume that solving a 20x20x20 is relatively the same as solving any of the 4-7 cubes? You could probably just look up algs for the 4x4x4 or 6x6x6 and apply them to a larger cube, I don't see any reason why they would be too different.
 

PHPJaguar

Member
Joined
Dec 5, 2009
Messages
142
I would assume that solving a 20x20x20 is relatively the same as solving any of the 4-7 cubes? You could probably just look up algs for the 4x4x4 or 6x6x6 and apply them to a larger cube, I don't see any reason why they would be too different.

He's not talking about algs that to apply to a cube, he's talking about computer algorithms. Like programming-wise.
 

Mike Hughey

Administrator
Staff member
Joined
Jun 7, 2007
Messages
11,317
Location
Indianapolis
WCA
2007HUGH01
SS Competition Results
YouTube
Visit Channel
Actually, I would think a blindfolded approach might be a pretty easy way to do this. Just solve it all with commutators. Each piece will belong to an orbit with other pieces with which it can exchange. Start with one piece in that orbit, and then see where that piece needs to go. Then find the piece at that destination location, and see where it needs to go. That will give you a 3-cycle which will solve the next 2 pieces of that type. Use a commutator to solve those two pieces, and then repeat. When you hit the end of a cycle, break into a new cycle as you would do with normal 3-cycle blindsolving, and keep going.

The only difficulties then will be handling the various parities, which can probably be handled with somewhat brute-force methods - setup into an algorithm you know and then solve.

I doubt someone will be willing here to go into great detail on the algorithms necessary to do this; if you need more description than what I've given here, I recommend that you go learn to solve a cube blindfolded. Once you do, it should be fairly straightforward to come up with the algorithms you need.
 

TMOY

Member
Joined
Jun 29, 2008
Messages
1,802
WCA
2008COUR01
IMHO the best way to handle parities is probably to fix them at the beginning of the solve: compute the permutation parity for corners and all types of wings, and then apply the corresponding layer or slice quarter-turn if needed. This is not a very practical method for humans but for a computer it should be easy :)
 

Googlrr

Member
Joined
Aug 19, 2009
Messages
153
Location
New Hampshire
WCA
2010CARM01
I would assume that solving a 20x20x20 is relatively the same as solving any of the 4-7 cubes? You could probably just look up algs for the 4x4x4 or 6x6x6 and apply them to a larger cube, I don't see any reason why they would be too different.

He's not talking about algs that to apply to a cube, he's talking about computer algorithms. Like programming-wise.

:fp I forget that algorithms exist outside of cubing sometimes. My bad.
 

Zhiguo

Member
Joined
Feb 26, 2010
Messages
12
Thank you! I would read it carefully! ^_^

Well, I don't know much about optimal solving algorithms, but I have written an algorithm just to directly solve the last layer wing edges on a 4x4x4 (K4 method style) which has a pretty efficient algorithm for solving one orbit of pieces at a time.
...
 

Joël

Member
Joined
Mar 14, 2006
Messages
633
Location
3rd rock from the sun
WCA
2004NOOR01

Stefan

Member
Joined
May 7, 2006
Messages
7,280
WCA
2003POCH01
YouTube
Visit Channel
Nope, it wasn't...

A friend asks me to write a program to solve 20x20x20 cube.

:p

Yeah, cause people always say exactly what they really want/need. If someone asks where he can buy a Rubik's 2x2x2, don't you think it's appropriate to tell him that there are far better 2x2x2s that he should get instead unless he really needs it to be a Rubik's for some reason? And don't you think it's quite possible he only asked for a Rubik's because he didn't know better, rather than because he actually needs a Rubik's one?

And even if that was literally correct, it still allows writing a wrapper program around an existing one.
 
Last edited:
Top