gol.py
minizinc-python
gol.py | minizinc-python | |
---|---|---|
3 | 3 | |
14 | 132 | |
- | 1.5% | |
3.2 | 8.4 | |
almost 2 years ago | 10 days ago | |
Python | Python | |
Do What The F*ck You Want To Public License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gol.py
- Efficient Game of Life in Python
-
I used combinatorial optimization to find 48-gate boolean formula that encodes rules of Conway's Game of Life
This project (and choice of restrictions on gates) was motivated by the desire to make high performance GoL by relying on bit-level parallelism. My implementation of this approach in python runs at 1920x1080 resolution and 60 fps even on my crappy laptop, thanks to native bigints.
- 1920x1080, 60fps game of life in 40 lines of pure python
minizinc-python
-
Matrix / 2d Array Puzzle-Like Problem
Now, you say you need to solve this using Python. I would personally either use the MiniZinc Python driver or I would use the OR-Tools Python package and write a similar model to the one above.
-
Discrete optimization for on-call scheduling
Btw, MiniZinc team recently released a python binding https://github.com/MiniZinc/minizinc-python which is quite nice to use.
-
Constraint Programming in Python or How to Solve Traveling Salesman Problem just Describing it.
minizinc-python solves the second issue, by providing the way to call minizinc models from python, the library will run minizinc, serialize your input and parse output, but the programmer still should write quite a lot lines of code. We can look at the example of solving square equation solving:
What are some alternatives?
EA-FC-24-Automated-SBC-Solving - EA FC 24 Automated SBC Solving using Integer Programming ⚽
kanren - An extensible, lightweight relational/logic programming DSL written in pure Python
CA-hash - Hash function based on the non-reversible Cellular Automata Game of Life.
yuck - Yuck is a local-search constraint solver with FlatZinc interface
solver - SAT solver library in Go; wraps around Google's Operational Research Tools
python-mip - Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
TheAlgorithms - All Algorithms implemented in Python
Simplex_Numpy - Creating a Linear Program Solver by Implementing the Simplex Method in Python with NumPy
sdk.py - Python optimization SDK
or-tools - Google's Operations Research tools:
Optimization-Python - General optimization (LP, MIP, QP, continuous and discrete optimization etc.) using Python