Packing given polyominoes onto a grid with 0-1 integer linear programming via Gurobi Python/Java API.
This repo includes a Python project and a Java project. Each Python file and its Java version always result in the same Gurobi program.
First, install Gurobi and get a license.
install: python -m pip install gurobipy
The python programs have no visualization.
- link gurobi.jar to the project after installing Gurobi
- add external lib: core.jar, PeasyCam.jar, both are included in the repo.
The Java programs display the visual results: