This repository contains the implementation of the algorithms and experiments presented in the following paper:
Chen, Qinyi, Negin Golrezaei, and Fransisca Susan. "Fair assortment planning." arXiv preprint arXiv:2208.07341 (2022).
The scripts enable the replication of the results and the execution of synthetic experiments related to the paper.
For more details on the research and findings, please refer to our paper. Fair Assortment Planning.
The repository includes the following Python scripts:
approx_alg.py
: The approximate algorithms (1/2-approx. and FPTAS) for maximizing the cost-adjusted revenue function.column_generation.py
: Apply column generation method, which uses approx_alg as separation oracles, to solving FAP.experiment.py
: The main script to run synthetic experiments.primal.py
: solving primal problem restricted to constrained_sets.staticMNL.py
: staticMNL algorithm used for benchmarking purpose.
To run a synthetic experiment, execute the following command in the terminal:
python experiment.py <number>
where the number indicates the instance and the fairness level
If you utilize this code for your research or project, please acknowledge our paper by citing:
@misc{chen2023fair,
title={Fair Assortment Planning},
author={Qinyi Chen and Negin Golrezaei and Fransisca Susan},
year={2023},
eprint={2208.07341},
archivePrefix={arXiv},
primaryClass={cs.DS}
}