|
19 | 19 | "\n", |
20 | 20 | "- **Benchmark Collection**: Quantum optimization datasets converted to OMMX format\n", |
21 | 21 | "- **Python API**: Simple interface for accessing benchmark instances\n", |
22 | | - "- **GitHub Container Registry**: Distributed storage for easy access\n", |
23 | | - "\n", |
24 | | - "## Currently Available Datasets\n", |
25 | | - "\n", |
26 | | - "### From QOBLIB Collection\n", |
| 22 | + "- **GitHub Container Registry**: Distributed storage for easy access" |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + "cell_type": "markdown", |
| 27 | + "id": "4e55c668", |
| 28 | + "metadata": {}, |
| 29 | + "source": [ |
| 30 | + "## Currently Available Datasets" |
| 31 | + ] |
| 32 | + }, |
| 33 | + { |
| 34 | + "cell_type": "markdown", |
| 35 | + "id": "fd1418d9", |
| 36 | + "metadata": {}, |
| 37 | + "source": [ |
| 38 | + "### QOBLIB Collection\n", |
27 | 39 | "\n", |
28 | 40 | "**Available with instances**:\n", |
29 | | - "- **Labs** (`02_labs`) - 99 instances for integer and quadratic unconstrained models\n", |
| 41 | + "- **Marketsplit** (`01_marketsplit`) - 120 instances per model for binary linear and binary unconstrained models\n", |
| 42 | + "- **Labs** (`02_labs`) - 99 instances per model for integer and quadratic unconstrained models\n", |
| 43 | + "- **Birkhoff** (`03_birkhoff`) - 800 instances for integer linear models\n", |
| 44 | + "- **Steiner** (`04_steiner`) - 31 instances for integer linear models\n", |
| 45 | + "- **Independent Set** (`07_independentset`) - 42 instances per model for binary linear and binary unconstrained models\n", |
| 46 | + "- **Network** (`08_network`) - 20 instances for integer LP models\n", |
| 47 | + "- **Routing** (`09_routing`) - 55 instances for integer linear models\n", |
| 48 | + "- **Topology** (`10_topology`) - 16 instances per model for flow MIP, Seidel linear, and Seidel quadratic models\n", |
30 | 49 | "\n", |
31 | 50 | "**Framework defined for future expansion**:\n", |
32 | | - "- MarketSplit, Birkhoff, Steiner, Sports, Portfolio, Independent Set, Network, Routing, and Topology categories are implemented but do not contain instances yet\n", |
| 51 | + "- **Sports** (`05_sports`) - Mixed integer linear sports scheduling problems\n", |
| 52 | + "- **Portfolio** (`06_portfolio`) - Binary quadratic and quadratic unconstrained portfolio optimization\n", |
33 | 53 | "\n", |
34 | 54 | "**Note**: You can check current instance availability for any dataset using the `available_instances` property.\n", |
35 | 55 | "\n", |
36 | | - "### Future Benchmark Sources\n", |
| 56 | + "#### Attribution\n", |
37 | 57 | "\n", |
38 | | - "The framework is designed to accommodate additional benchmark collections beyond QOBLIB as they become available.\n", |
| 58 | + "This project includes data derived from [QOBLIB - Quantum Optimization Benchmarking Library](https://git.zib.de/qopt/qoblib-quantum-optimization-benchmarking-library):\n", |
| 59 | + "- **Original authors**: Thorsten Koch, David E. Bernal Neira, Ying Chen, Giorgio Cortiana, Daniel J. Egger, Raoul Heese, Narendra N. Hegade, Alejandro Gomez Cadavid, Rhea Huang, Toshinari Itoko, Thomas Kleinert, Pedro Maciel Xavier, Naeimeh Mohseni, Jhon A. Montanez-Barrera, Koji Nakano, Giacomo Nannicini, Corey O'Meara, Justin Pauckert, Manuel Proissl, Anurag Ramesh, Maximilian Schicker, Noriaki Shimada, Mitsuharu Takeori, Victor Valls, David Van Bulck, Stefan Woerner, and Christa Zoufal.\n", |
| 60 | + "- **License**: CC BY 4.0\n", |
39 | 61 | "\n", |
40 | | - "## Quick Start\n", |
| 62 | + "The instance data has been converted to OMMX format with additional modifications as needed.\n", |
41 | 63 | "\n", |
42 | | - "To get started with OMMX Quantum Benchmarks, see the [Quick Start Guide](quickstart.ipynb) for installation instructions and basic usage examples.\n", |
| 64 | + "#### Support\n", |
43 | 65 | "\n", |
44 | | - "## Learn More\n", |
| 66 | + "For issues with the benchmark datasets or OMMX Quantum Benchmarks library, please file an issue on our [GitHub repository](https://github.com/Jij-Inc/OMMX-OBLIB).\n", |
45 | 67 | "\n", |
46 | | - "Explore our documentation to learn more about the benchmark collection capabilities:\n", |
| 68 | + "For questions about the original datasets or problem formulations, refer to the respective source repositories (e.g., [original QOBLIB repository](https://git.zib.de/qopt/qoblib-quantum-optimization-benchmarking-library) for QOBLIB-derived datasets)." |
| 69 | + ] |
| 70 | + }, |
| 71 | + { |
| 72 | + "cell_type": "markdown", |
| 73 | + "id": "a70d1ea6", |
| 74 | + "metadata": {}, |
| 75 | + "source": [ |
| 76 | + "## Quick Start\n", |
47 | 77 | "\n", |
48 | | - "- [Quick Start Guide](quickstart.ipynb): Installation and basic usage examples\n", |
49 | | - "- [Usage Guide](tutorial/usage/index_usage.ipynb): Detailed information on working with datasets and instances\n", |
50 | | - "- [Examples](tutorial/examples/index_examples.ipynb): Practical examples for different problem types\n", |
51 | | - "- [API Reference](autoapi/index): Complete documentation of the Python API\n", |
| 78 | + "To get started with OMMX Quantum Benchmarks, see the [Quick Start Guide](quickstart.ipynb) for installation instructions and basic usage examples.\n", |
52 | 79 | "\n", |
53 | 80 | "## Installation\n", |
54 | 81 | "\n", |
55 | | - "Since this package is currently in development and not yet published on PyPI, install directly from the GitHub repository:\n", |
| 82 | + "Install this package through pip!\n", |
56 | 83 | "\n", |
57 | 84 | "```bash\n", |
58 | | - "# Clone the repository\n", |
59 | | - "git clone https://github.com/Jij-Inc/OmmxQuantumBenchmarks.git\n", |
60 | | - "cd OmmxQuantumBenchmarks\n", |
61 | | - "\n", |
62 | | - "# Install in development mode with pip\n", |
63 | | - "pip install -e .\n", |
| 85 | + "# Using uv\n", |
| 86 | + "uv pip install git+https://github.com/Jij-Inc/OmmxQuantumBenchmarks.git\n", |
64 | 87 | "\n", |
65 | | - "# Or install in development mode with uv\n", |
66 | | - "uv pip install -e .\n", |
| 88 | + "# Using pip\n", |
| 89 | + "pip install ommx_quantum_benchmarks\n", |
67 | 90 | "```\n", |
68 | 91 | "\n", |
69 | | - "Alternatively, you can install directly from GitHub without cloning:\n", |
| 92 | + "Or, you can install it from github, which is arguably the latest version:\n", |
70 | 93 | "\n", |
71 | 94 | "```bash\n", |
72 | | - "# Using pip\n", |
73 | | - "pip install git+https://github.com/Jij-Inc/OmmxQuantumBenchmarks.git\n", |
74 | | - "\n", |
75 | 95 | "# Using uv\n", |
76 | 96 | "uv pip install git+https://github.com/Jij-Inc/OmmxQuantumBenchmarks.git\n", |
77 | | - "```" |
78 | | - ] |
79 | | - }, |
80 | | - { |
81 | | - "cell_type": "markdown", |
82 | | - "id": "7aeae262", |
83 | | - "metadata": {}, |
84 | | - "source": [ |
85 | | - "## Basic Usage" |
86 | | - ] |
87 | | - }, |
88 | | - { |
89 | | - "cell_type": "code", |
90 | | - "execution_count": 1, |
91 | | - "id": "1c30ac64", |
92 | | - "metadata": {}, |
93 | | - "outputs": [ |
94 | | - { |
95 | | - "name": "stdout", |
96 | | - "output_type": "stream", |
97 | | - "text": [ |
98 | | - "Objective value: 1.0\n", |
99 | | - "Feasible: True\n" |
100 | | - ] |
101 | | - } |
102 | | - ], |
103 | | - "source": [ |
104 | | - "from ommx_quantum_benchmarks.qoblib import Labs\n", |
105 | 97 | "\n", |
106 | | - "# Load a dataset\n", |
107 | | - "dataset = Labs()\n", |
| 98 | + "# Using pip\n", |
| 99 | + "pip install git+https://github.com/Jij-Inc/OmmxQuantumBenchmarks.git\n", |
| 100 | + "```\n", |
108 | 101 | "\n", |
109 | | - "# Get an instance and solution\n", |
110 | | - "model_name = \"integer\"\n", |
111 | | - "instance_name = \"labs002\"\n", |
112 | | - "instance, solution = dataset(model_name, instance_name)\n", |
| 102 | + "## Learn More\n", |
113 | 103 | "\n", |
114 | | - "# Evaluate the solution\n", |
115 | | - "evaluated_solution = instance.evaluate(solution.state)\n", |
116 | | - "print(f\"Objective value: {evaluated_solution.objective}\")\n", |
117 | | - "print(f\"Feasible: {evaluated_solution.feasible}\")" |
| 104 | + "Explore our documentation to learn more about the benchmark collection capabilities:\n", |
| 105 | + "\n", |
| 106 | + "- [Quick Start Guide](quickstart.ipynb): Installation and basic usage examples\n", |
| 107 | + "- [Usage Guide](tutorial/usage/index_usage.ipynb): Detailed information on working with datasets and instances\n", |
| 108 | + "- [Examples](tutorial/examples/index_examples.ipynb): Practical examples for different problem types\n", |
| 109 | + "- [API Reference](autoapi/index): Complete documentation of the Python API" |
118 | 110 | ] |
119 | 111 | }, |
120 | 112 | { |
121 | 113 | "cell_type": "markdown", |
122 | | - "id": "4237c03a", |
| 114 | + "id": "2b550407", |
123 | 115 | "metadata": {}, |
124 | | - "source": [ |
125 | | - "## Attribution\n", |
126 | | - "\n", |
127 | | - "This project includes data derived from [QOBLIB - Quantum Optimization Benchmarking Library](https://git.zib.de/qopt/qoblib-quantum-optimization-benchmarking-library):\n", |
128 | | - "- **Original authors**: Thorsten Koch, David E. Bernal Neira, Ying Chen, Giorgio Cortiana, Daniel J. Egger, Raoul Heese, Narendra N. Hegade, Alejandro Gomez Cadavid, Rhea Huang, Toshinari Itoko, Thomas Kleinert, Pedro Maciel Xavier, Naeimeh Mohseni, Jhon A. Montanez-Barrera, Koji Nakano, Giacomo Nannicini, Corey O'Meara, Justin Pauckert, Manuel Proissl, Anurag Ramesh, Maximilian Schicker, Noriaki Shimada, Mitsuharu Takeori, Victor Valls, David Van Bulck, Stefan Woerner, and Christa Zoufal.\n", |
129 | | - "- **License**: CC BY 4.0\n", |
130 | | - "\n", |
131 | | - "The instance data has been converted to OMMX format with additional modifications as needed.\n", |
132 | | - "\n", |
133 | | - "## Support\n", |
134 | | - "\n", |
135 | | - "For issues with the benchmark datasets or OMMX Quantum Benchmarks library, please file an issue on our [GitHub repository](https://github.com/Jij-Inc/OMMX-OBLIB).\n", |
136 | | - "\n", |
137 | | - "For questions about the original datasets or problem formulations, refer to the respective source repositories (e.g., [original QOBLIB repository](https://git.zib.de/qopt/qoblib-quantum-optimization-benchmarking-library) for QOBLIB-derived datasets)." |
138 | | - ] |
| 116 | + "source": [] |
139 | 117 | } |
140 | 118 | ], |
141 | 119 | "metadata": { |
|
0 commit comments