Skip to main content

an AI solver for the Rubik's Cube

Project description

Magic Cube AI Solver

The common solutions to the magic cube (a.k.a Rubik's Cube) involve one of the two:

  1. Unreasonable amount of resources - CPU, memory, etc. or,
  2. A very large number of steps

It has been shown that any 3x3x3 cube can be solved using no more than 26 quarter turns (90 degrees rotations of the cube's faces), yet the efficient solvers tend to yield solutions with dozens of turns.

The usual AI methods don't work well with this problem due to the complex nature of the group which is induced by the cube. Namely, the A* search algorithm needs a good heuristic to be able to efficiently cover its search space, and those are hard to come up with.

We propose the following approach:

  • Use Machine Learning to learn a heuristic
  • Perform A* search with the learned heuristic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cubeai-0.0.4.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cubeai-0.0.4-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file cubeai-0.0.4.tar.gz.

File metadata

  • Download URL: cubeai-0.0.4.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cubeai-0.0.4.tar.gz
Algorithm Hash digest
SHA256 76f41e1de43994a1f9b9d4ad3c28b3d9dcd816611c6d70979209d8c02bca8e60
MD5 ec906a04d5a57df79cdf00c82e1350c0
BLAKE2b-256 d3f8734c4013727d8653709f2babb7550037b44c55bd6e316c2bc443f9ffacad

See more details on using hashes here.

File details

Details for the file cubeai-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cubeai-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa86dc2867bda5a2271552ec10bf9052d2fef6ddc465f833fe11bcaa80f408f
MD5 024645925fd0a8eb2ce957bd5c891836
BLAKE2b-256 e8ea5eccb7ac151c923cf73c7c07dd27cc99eeb83e8bb898ad2b47dca03a520e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page