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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cubeai-0.0.11.tar.gz
Algorithm Hash digest
SHA256 5ab46bc2be46c99d62882901be5476f4a24d1c73b0aadb5e938375ba4b298850
MD5 5ed37c688c15a6fa4b313148b59973c1
BLAKE2b-256 72b7714c278abc0770df298be65d2d7685c526a10adda19fc7feea376a0f8fe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cubeai-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7ce6e9abf075c20fdf87f69c956027edec4bafbc54c8ae0536f9db5ac0e6905d
MD5 a9f923ff3a707da84ae3dd0d81472b8e
BLAKE2b-256 3386a9de0b46213c2eb82432e3a24bafeed5b24da8d66e668cb7712c08603ea3

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