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.10.tar.gz (8.0 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.10-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cubeai-0.0.10.tar.gz
Algorithm Hash digest
SHA256 a53e1aede5f9a3474759ad1f2b399d1acd3efc5c42ab6de7dfff2f5d2c678788
MD5 b7c245a05b8da34661033313608bbcd5
BLAKE2b-256 98afa47da97f34fd5e27d7c77d84f45a67094004d6ae6e32a1d70e213e2026e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cubeai-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff5c8e345da9c14cb6c038d30d03737f733907acd5324542348222a250d04c9
MD5 b44add30d1344a077914c1b35ee7dd2f
BLAKE2b-256 b9f76a5bd40289e85fba327b0be748ddc7fc6044f2e0f7f4559a765ff62634e2

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