Update README.md
Browse files
README.md
CHANGED
@@ -63,18 +63,31 @@ Results compare algorithm performance across different problem sizes:
|
|
63 |
|
64 |
```python
|
65 |
# Example of loading a dataset
|
66 |
-
from
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
# Run evaluation
|
72 |
-
from vrp_bench.vrp_evaluation import VRPEvaluator
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
```
|
79 |
|
80 |
## 🔑 Features
|
|
|
63 |
|
64 |
```python
|
65 |
# Example of loading a dataset
|
66 |
+
from datasets import load_dataset
|
67 |
+
ds = load_dataset("MBZUAI/svrp-bench", split="test")
|
68 |
+
ds[0]
|
69 |
+
```
|
|
|
|
|
|
|
70 |
|
71 |
+
### Sample
|
72 |
+
```json
|
73 |
+
{'appear_times': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
74 |
+
'demands': [0, 33, 52, 35, 85, 77, 68, 17, 61, 32, 23],
|
75 |
+
'file_name': 'cvrp_10_multi_depot_multi_vehicule_capacities.npz',
|
76 |
+
'instance_id': 0,
|
77 |
+
'locations': [[523, 497],
|
78 |
+
[394, 344],
|
79 |
+
[536, 599],
|
80 |
+
[341, 412],
|
81 |
+
[734, 652],
|
82 |
+
[492, 569],
|
83 |
+
[491, 238],
|
84 |
+
[419, 787],
|
85 |
+
[688, 422],
|
86 |
+
[708, 490],
|
87 |
+
[431, 454]],
|
88 |
+
'num_vehicles': 13,
|
89 |
+
'subset_name': 'cvrp_10_multi_depot_multi_vehicule_capacities',
|
90 |
+
'vehicle_capacities': [40.0]}
|
91 |
```
|
92 |
|
93 |
## 🔑 Features
|