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.8.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.8-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cubeai-0.0.8.tar.gz
Algorithm Hash digest
SHA256 05bfc4aeeafdcbeb195133a935cf97e658cbe2fb071ed1c885a7b4958823c2a6
MD5 c517dcb120993a5579681e456776f026
BLAKE2b-256 c49bf3147fe0c4d2ec969aae67b498ff9507a7b072874b3d5355ebc5ee5e7a5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cubeai-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 39e775c97d51452d2396174dcb203f87d40a1c4e7c60093a75dd3eceb1a40b2a
MD5 03e19a86e0a627624d734030b487df4f
BLAKE2b-256 3cb09cef5a980ce4e92c9b78e7e2b4a47de923b71437574e8b8a353a67a5dbaa

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