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.15.tar.gz (10.8 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.15-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cubeai-0.0.15.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for cubeai-0.0.15.tar.gz
Algorithm Hash digest
SHA256 89100a37df25de8a42b9a346e615345571377a2dff3fe8c7039783de3ce6fc0b
MD5 4d799de3678ab9fc83f37798fe61db2a
BLAKE2b-256 8f43661706d9f775ee23cb8126195389ef31087f62900eec065e45e1cd0cd06d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cubeai-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for cubeai-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 e4becb0580743141a1b7483b5bacb8a92fada21f4d77a172e108ccabad5779f3
MD5 323c47fbdfd0ed23d5e50aaf0b008a93
BLAKE2b-256 357c6fd3c6a179accbc36ca8aca1b4c00235d39c299c8f34fc661ae844f20ff6

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