Code accompanying the bachelor thesis "Constructions in Combinatorics via Neural Networks", written by Colin Doumont and supervised by Lars Rohwedder.
See requirements.txt file for necessary Python packages.
- basic.py: basic adaption of Wagner's code for discrepancy theory
- parallel.py: identical to basic.py, except it runs in parallel on all available CPUs
- fractional.py: more sophisticated adaptation of Wagner's code, now also working for fractional discrepancy
- discrepancy.py: discrepacy-related functions used in files 1, 2 and 3
- dynamic.py: dynamic program used in files 1 and 2
- random_search.py: naive approach to finding matrices with a certain discrepancy
- NN_search.py: identical to parallel.py, except it runs for 100 trials and then logs the average
- plotting.py: plots for the figures in the paper