Skip to main content

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

Metadata

Release files for cubeai 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cubeai 0.0.16
File Size Uploaded
cubeai-0.0.16.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cubeai 0.0.16
File Interpreter ABI Platform
cubeai-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 23.7 kB

Release files / cubeai-0.0.16.tar.gz

Download URL cubeai-0.0.16.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
665717663645c4e64fc81d010f2375b6e770b8eb51093fcfa446dbd640559201
BLAKE2b-256 checksum
How to use checksums
b6d646cc09ba949f2757112440d8bf23bb996afd4b380f77dd7b89338eb987b6
Upload date
Uploaded using Trusted Publishing?
What is 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.23.4 CPython/3.6.6

Release files / cubeai-0.0.16-py3-none-any.whl

Download URL cubeai-0.0.16-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5dddd8d035457597d7e3f12662b2e6d2b0d3c3ab15d38f97112ea253f799bf3
BLAKE2b-256 checksum
How to use checksums
2ffb511feab52dfc73163b115d11e2c31eb43596e7321c867f34a8be191b2473
Upload date
Uploaded using Trusted Publishing?
What is 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.23.4 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page