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.14.tar.gz (10.2 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.14-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cubeai-0.0.14.tar.gz
  • Upload date:
  • Size: 10.2 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.24.0 CPython/3.6.6

File hashes

Hashes for cubeai-0.0.14.tar.gz
Algorithm Hash digest
SHA256 d2d01f1d48531d7b310e0061af589d4e5c34c474a3d79e7a47ef75c7dee714d0
MD5 83d6b78fc2556109a1bbdc25a10376e1
BLAKE2b-256 a6cf0edb3dad74cd463463e17813b57fdf7ccc1f2eeedd8fa33a4200b150a694

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cubeai-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.24.0 CPython/3.6.6

File hashes

Hashes for cubeai-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f82c398c51f632246ca3acda8ac46218e9ea960f2fdbbc3b93894f0d34b206b3
MD5 7d1aa9d93a5f0c097164b747d4f3ac2c
BLAKE2b-256 516eded8170877da16b7de28284728020092593edaa68e51e422e32ea99be0ff

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