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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cubeai-0.0.9.tar.gz
Algorithm Hash digest
SHA256 a7a6edf020d98d616355d607c037ceca020eae08ce1b75fcaec1e21adb796d9c
MD5 9f9f6b610851cf5c3469f5360afaf8d1
BLAKE2b-256 654fbd6bd0a1ce4b554568264956de0287848fb6c4ee6ca37ac0a0617de4ada3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cubeai-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d666084c8a4e82f49845f0cca1444642c029201e01c854d8618f6b5c846ef153
MD5 937d2556e9757fabd528c985f6472470
BLAKE2b-256 bea10e17af1763d97b197c210da4a3ba078a1c85b12e859415eab9267db6a793

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