This repository, Quantum Optimization Benchmarks, provides a collection of benchmark datasets and Jupyter notebooks for solving combinatorial optimization problems. The repository includes benchmark instances for problems like Market Share, Maximum Independent Set, Multi-Dimensional Knapsack, and Quadratic Assignment Problem. It also provides Python code for formulating these problems and analyzing results.
See Quantum Optimization Algorithms for implementation details
QUANTUM_OPTIMIZATION_BENCHMARKS/
- Market_Share/: Market share optimization problem
- market_share_classical_results.ipynb: Classical results for the Market Share problem
- market_share.ipynb: Code for solving the Market Share problem
- readme.md: Documentation for the Market Share problem
- Maximum_Independent_Set/: Maximum Independent Set problem
- mis_benchmark_instances/: Instances for the MIS problem
- mis.ipynb: Code for solving the MIS problem
- readme.md: Documentation for the MIS problem
- Multi_Dimension_Knapsack/: Multi-Dimensional Knapsack Problem
- MKP_Instances/: Benchmark instances for MKP
- mdkp.ipynb: Code for solving the MKP
- readme.md: Documentation for the MKP problem
- Quadratic_Assignment_Problem/: Quadratic Assignment Problem
- qapdata/: Benchmark instances for QAP
- qap.ipynb: Code for solving the QAP
- README.md: Documentation for the QAP problem
- requirements.txt: Python dependencies
git clone https://github.com/SMU-Quantum/quantum-optimization-benchmarks
cd quantum-optimization-benchmarks
It is recommended to use a virtual environment to manage dependencies:
python -m venv .venv
source .venv/bin/activate (Linux/macOS)
.venv\Scripts\activate (Windows)
Install the required Python libraries:
pip install -r requirements.txt
- Directory: Market_Share/
- Description: A benchmark dataset and code to solve the Market Share problem using combinatorial optimization techniques.
- Notebook: market_share.ipynb contains the implementation.
- Benchmark Data: Details of classical results and test instances are stored in market_share_classical_results.ipynb.
- Directory: Maximum_Independent_Set/
- Description: Instances for the Maximum Independent Set problem, which involves finding the largest subset of vertices such that no two are adjacent.
- Notebook: mis.ipynb provides the implementation.
- Directory: Multi_Dimension_Knapsack/
- Description: Benchmark datasets and code for solving the Multi-Dimensional Knapsack Problem.
- Notebook: mdkp.ipynb contains the MKP implementation.
- Benchmark Data: Instances for testing are stored in MKP_Instances/.
- Directory: Quadratic_Assignment_Problem/
- Description: A benchmark dataset and implementation for the Quadratic Assignment Problem.
- Notebook: qap.ipynb contains the code for solving QAP.
- Benchmark Data: Stored in the qapdata/ directory.
- Navigate to the problem-specific directory.
- Open the Jupyter notebook (.ipynb) to explore the code.
- Use the provided instances in the respective directories for testing.
Cite the paper, if you use this work
@misc{sharma2025comparativestudyquantumoptimization,
title={A Comparative Study of Quantum Optimization Techniques for Solving Combinatorial Optimization Benchmark Problems},
author={Monit Sharma and Hoong Chuin Lau},
year={2025},
eprint={2503.12121},
archivePrefix={arXiv},
primaryClass={quant-ph},
url={https://arxiv.org/abs/2503.12121},
}
We welcome contributions! If you have additional benchmark datasets, new formulations, or improvements, feel free to open an issue or submit a pull request.
This repository is licensed under the MIT License.
For questions or suggestions, please reach out to [email protected] or open an issue in this repository.