File size: 303,383 Bytes
aff484f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 | [
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Recently the city discussed which handful of public restrooms to put into service from several candidate points. The task is to pick that exact number of sites and assign each neighborhood to one, and only one, of them so that when all the walking distances are added up the total is as low as possible. The detailed list of neighborhoods, candidate sites, and distances is provided below.\n\n# total_candidate_locations=5\n# num_restrooms_to_activate=1\n# location_ids=1, 2, 3, 4, 5\norigin_location_id,destination_location_id,walking_distance\n1,2,153\n1,3,199\n1,4,108\n1,5,116\n2,1,153\n2,3,46\n2,4,165\n2,5,37\n3,1,199\n3,2,46\n3,4,211\n3,5,83\n4,1,108\n4,2,165\n4,3,211\n4,5,128\n5,1,116\n5,2,37\n5,3,83\n5,4,128\n\nWhen you send the final plan, please use this simple JSON layout so it's easy to check and compare:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThis little sketch means: \"selected\" is the list of the sites we decide to open, and \"assignments\" lists, for each neighborhood in the same order as the input, which opened site that neighborhood will use. It's just the shape I need β a friendly form, not the actual answer yet.\n\nPlease make sure every identifier you put in there exactly matches the ones in the instance input β do not rename them or invent new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
153,
199,
108,
116
],
[
153,
0,
46,
165,
37
],
[
199,
46,
0,
211,
83
],
[
108,
165,
211,
0,
128
],
[
116,
37,
83,
128,
0
]
],
"p": 1,
"objective": 364.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4
]
},
"obj": 364.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 153,
"3": 199,
"4": 108,
"5": 116
}
},
{
"id": 2,
"distances": {
"1": 153,
"2": 0,
"3": 46,
"4": 165,
"5": 37
}
},
{
"id": 3,
"distances": {
"1": 199,
"2": 46,
"3": 0,
"4": 211,
"5": 83
}
},
{
"id": 4,
"distances": {
"1": 108,
"2": 165,
"3": 211,
"4": 0,
"5": 128
}
},
{
"id": 5,
"distances": {
"1": 116,
"2": 37,
"3": 83,
"4": 128,
"5": 0
}
}
],
"objective": 364.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5
]
},
"context_index": 1,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Thereβs a scheduling headache at the coffee chain: pick a certain number of sites to operate as cafΓ©s from a list of candidates, make sure every customer area is assigned to exactly one of those open spots, and prefer the arrangement that keeps the total travel for everyone smallest β that total is simply the sum of each areaβs distance to whatever cafΓ© serves it. The specific locations, pairwise distances, and how many cafΓ©s to open are given below.\n\nHere are the details for 5 candidate sites β open exactly 1 cafΓ©s, with site identifiers A, B, C, D, E.\nFrom customer area A to candidate cafΓ© B: travel distance 17.\nFrom customer area A to candidate cafΓ© C: travel distance 33.\nFrom customer area A to candidate cafΓ© D: travel distance 23.\nFrom customer area A to candidate cafΓ© E: travel distance 31.\nFrom customer area B to candidate cafΓ© A: travel distance 17.\nFrom customer area B to candidate cafΓ© C: travel distance 25.\nFrom customer area B to candidate cafΓ© D: travel distance 10.\nFrom customer area B to candidate cafΓ© E: travel distance 29.\nFrom customer area C to candidate cafΓ© A: travel distance 33.\nFrom customer area C to candidate cafΓ© B: travel distance 25.\nFrom customer area C to candidate cafΓ© D: travel distance 27.\nFrom customer area C to candidate cafΓ© E: travel distance 34.\nFrom customer area D to candidate cafΓ© A: travel distance 23.\nFrom customer area D to candidate cafΓ© B: travel distance 10.\nFrom customer area D to candidate cafΓ© C: travel distance 27.\nFrom customer area D to candidate cafΓ© E: travel distance 25.\nFrom customer area E to candidate cafΓ© A: travel distance 31.\nFrom customer area E to candidate cafΓ© B: travel distance 29.\nFrom customer area E to candidate cafΓ© C: travel distance 34.\nFrom customer area E to candidate cafΓ© D: travel distance 25.\nUse these pairwise distances to choose which 1 cafΓ©s to open among the 5 sites and assign every area to one open cafΓ© to minimize total travel.\n\nOh, and when you send the final answer, please stick to this simple JSON layout so I can read it automatically:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_open_site>, <assigned_open_site>, ...]\n }\n}\n\nThis just sketches the shape I need: \"selected\" is the list of sites you decide to open, and \"assignments\" says, for each location in the original order, which open site serves it. It's just a template β not the final plan.\n\nAlso, please use the exact identifiers from the instance input β don't rename them or invent new ones. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
17,
33,
23,
31
],
[
17,
0,
25,
10,
29
],
[
33,
25,
0,
27,
34
],
[
23,
10,
27,
0,
25
],
[
31,
29,
34,
25,
0
]
],
"p": 1,
"objective": 81.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1
]
},
"obj": 81.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 17,
"C": 33,
"D": 23,
"E": 31
}
},
{
"id": "B",
"distances": {
"A": 17,
"B": 0,
"C": 25,
"D": 10,
"E": 29
}
},
{
"id": "C",
"distances": {
"A": 33,
"B": 25,
"C": 0,
"D": 27,
"E": 34
}
},
{
"id": "D",
"distances": {
"A": 23,
"B": 10,
"C": 27,
"D": 0,
"E": 25
}
},
{
"id": "E",
"distances": {
"A": 31,
"B": 29,
"C": 34,
"D": 25,
"E": 0
}
}
],
"objective": 81.0
},
"solution_variant": {
"selected": [
"B"
],
"assignments": [
"B",
"B",
"B",
"B",
"B"
]
},
"context_index": 2,
"input_format": "markdown_table",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Recently the housing office talked about installing a set number of quiet pods and assigning every dorm block to one of them so students walk as little as possible. A plan is judged by the total distance students would travel β you get that by adding the distance from each dorm block to its assigned pod β and the aim is to make that sum as small as possible. No dorm block can be left out or split across multiple pods. The full data and distances are shown below.\n\nBelow are 5 candidate locations A, B, C, D, E and the pairwise walking distances, so you can select exactly 2 pod sites.\nFrom A to B, the walking distance is 12.\nFrom A to C, the walking distance is 57.\nFrom A to D, the walking distance is 57.\nFrom A to E, the walking distance is 38.\nFrom B to A, the walking distance is 12.\nFrom B to C, the walking distance is 45.\nFrom B to D, the walking distance is 57.\nFrom B to E, the walking distance is 26.\nFrom C to A, the walking distance is 57.\nFrom C to B, the walking distance is 45.\nFrom C to D, the walking distance is 66.\nFrom C to E, the walking distance is 51.\nFrom D to A, the walking distance is 57.\nFrom D to B, the walking distance is 57.\nFrom D to C, the walking distance is 66.\nFrom D to E, the walking distance is 63.\nFrom E to A, the walking distance is 38.\nFrom E to B, the walking distance is 26.\nFrom E to C, the walking distance is 51.\nFrom E to D, the walking distance is 63.\nUse these distances to compute the total walking distance and pick the 2 pod locations that minimize it.\n\nIf you want to hand me a plan, just stick to this simple JSON shape β nothing fancy, just a tidy way to show which pods are opened and which pod each dorm is assigned to.\n\n{\n \"solution\": {\n \"selected\": [<pod_to_open>, <pod_to_open>, ...],\n \"assignments\": [<assigned_pod>, <assigned_pod>, ...]\n }\n}\n\nPretty straightforward: \"selected\" lists the pod locations you choose to open, and \"assignments\" lists, for each dorm block (in the same order as the input), which opened pod that dorm would use. Think of it like filling out a short formβthis block is just a sketch of the expected shape, not the actual final plan.\n\nPlease remember: use the exact identifiers from the instance input β do not rename or invent labels. For example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
12,
57,
57,
38
],
[
12,
0,
45,
57,
26
],
[
57,
45,
0,
66,
51
],
[
57,
57,
66,
0,
63
],
[
38,
26,
51,
63,
0
]
],
"p": 2,
"objective": 83.0
},
"solution": {
"facilities": [
1,
3
],
"assignments": [
1,
1,
1,
3,
1
]
},
"obj": 83.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 2,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 12,
"C": 57,
"D": 57,
"E": 38
}
},
{
"id": "B",
"distances": {
"A": 12,
"B": 0,
"C": 45,
"D": 57,
"E": 26
}
},
{
"id": "C",
"distances": {
"A": 57,
"B": 45,
"C": 0,
"D": 66,
"E": 51
}
},
{
"id": "D",
"distances": {
"A": 57,
"B": 57,
"C": 66,
"D": 0,
"E": 63
}
},
{
"id": "E",
"distances": {
"A": 38,
"B": 26,
"C": 51,
"D": 63,
"E": 0
}
}
],
"objective": 83.0
},
"solution_variant": {
"selected": [
"B",
"D"
],
"assignments": [
"B",
"B",
"B",
"D",
"B"
]
},
"context_index": 3,
"input_format": "nl",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "There's a logistics puzzle at work: from a bunch of possible locker locations pick a fixed number to actually open, and then attach every delivery address to one of those open lockers. One solution beats another if, when you sum up how far all couriers must travel from addresses to their assigned lockers, that grand total is lower. Every address must be assigned to exactly one open locker β no address left out and no address sent to two lockers. The specific candidate sites and distances are shown below.\n\nThe instance lists 8 locations; you must open 1 lockers, and the location identifiers are A, B, C, D, E, F, G, H.\nTravel distance from A to B is 37.\nTravel distance from A to C is 52.\nTravel distance from A to D is 56.\nTravel distance from A to E is 40.\nTravel distance from A to F is 57.\nTravel distance from A to G is 57.\nTravel distance from A to H is 37.\nTravel distance from B to A is 37.\nTravel distance from B to C is 40.\nTravel distance from B to D is 38.\nTravel distance from B to E is 24.\nTravel distance from B to F is 40.\nTravel distance from B to G is 49.\nTravel distance from B to H is 34.\nTravel distance from C to A is 52.\nTravel distance from C to B is 40.\nTravel distance from C to D is 45.\nTravel distance from C to E is 31.\nTravel distance from C to F is 45.\nTravel distance from C to G is 61.\nTravel distance from C to H is 20.\nTravel distance from D to A is 56.\nTravel distance from D to B is 38.\nTravel distance from D to C is 45.\nTravel distance from D to E is 26.\nTravel distance from D to F is 28.\nTravel distance from D to G is 59.\nTravel distance from D to H is 36.\nTravel distance from E to A is 40.\nTravel distance from E to B is 24.\nTravel distance from E to C is 31.\nTravel distance from E to D is 26.\nTravel distance from E to F is 28.\nTravel distance from E to G is 40.\nTravel distance from E to H is 22.\nTravel distance from F to A is 57.\nTravel distance from F to B is 40.\nTravel distance from F to C is 45.\nTravel distance from F to D is 28.\nTravel distance from F to E is 28.\nTravel distance from F to G is 61.\nTravel distance from F to H is 38.\nTravel distance from G to A is 57.\nTravel distance from G to B is 49.\nTravel distance from G to C is 61.\nTravel distance from G to D is 59.\nTravel distance from G to E is 40.\nTravel distance from G to F is 61.\nTravel distance from G to H is 48.\nTravel distance from H to A is 37.\nTravel distance from H to B is 34.\nTravel distance from H to C is 20.\nTravel distance from H to D is 36.\nTravel distance from H to E is 22.\nTravel distance from H to F is 38.\nTravel distance from H to G is 48.\nUse these pairwise distances to compute the total courier travel for any choice of 1 lockers.\n\nJust so we're on the same page, please reply using a little JSON sketch that shows which sites you open and, for every address, which open site it gets attached to. Something like this:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\n\"selected\" is the list of sites you decide to open (use the same identifiers from the instance). \"assignments\" is parallel to the address list in the instance: for each address, put the identifier of the open site it's assigned to. This is just the shape I want β not the real answer yet.\n\nAlso please remember: use the exact identifiers as they appear in the input β do not rename them or invent new labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
37,
52,
56,
40,
57,
57,
37
],
[
37,
0,
40,
38,
24,
40,
49,
34
],
[
52,
40,
0,
45,
31,
45,
61,
20
],
[
56,
38,
45,
0,
26,
28,
59,
36
],
[
40,
24,
31,
26,
0,
28,
40,
22
],
[
57,
40,
45,
28,
28,
0,
61,
38
],
[
57,
49,
61,
59,
40,
61,
0,
48
],
[
37,
34,
20,
36,
22,
38,
48,
0
]
],
"p": 1,
"objective": 211.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4,
4
]
},
"obj": 211.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 37,
"C": 52,
"D": 56,
"E": 40,
"F": 57,
"G": 57,
"H": 37
}
},
{
"id": "B",
"distances": {
"A": 37,
"B": 0,
"C": 40,
"D": 38,
"E": 24,
"F": 40,
"G": 49,
"H": 34
}
},
{
"id": "C",
"distances": {
"A": 52,
"B": 40,
"C": 0,
"D": 45,
"E": 31,
"F": 45,
"G": 61,
"H": 20
}
},
{
"id": "D",
"distances": {
"A": 56,
"B": 38,
"C": 45,
"D": 0,
"E": 26,
"F": 28,
"G": 59,
"H": 36
}
},
{
"id": "E",
"distances": {
"A": 40,
"B": 24,
"C": 31,
"D": 26,
"E": 0,
"F": 28,
"G": 40,
"H": 22
}
},
{
"id": "F",
"distances": {
"A": 57,
"B": 40,
"C": 45,
"D": 28,
"E": 28,
"F": 0,
"G": 61,
"H": 38
}
},
{
"id": "G",
"distances": {
"A": 57,
"B": 49,
"C": 61,
"D": 59,
"E": 40,
"F": 61,
"G": 0,
"H": 48
}
},
{
"id": "H",
"distances": {
"A": 37,
"B": 34,
"C": 20,
"D": 36,
"E": 22,
"F": 38,
"G": 48,
"H": 0
}
}
],
"objective": 211.0
},
"solution_variant": {
"selected": [
"E"
],
"assignments": [
"E",
"E",
"E",
"E",
"E",
"E",
"E",
"E"
]
},
"context_index": 4,
"input_format": "nl",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Around here the food bank coordinator must decide which fixed number of proposed sites will become distribution hubs. Every client area gets assigned to exactly one of the opened hubs β nothing can be split or skipped β and choices are judged by total travel distance: sum the distances from each area to its assigned hub, and the smaller that total, the better the setup. The concrete list of potential sites and their distances appears below.\n\n{\n \"total_proposed_sites\": 7,\n \"num_hubs_to_open\": 1,\n \"site_identifiers\": [\n \"A\",\n \"B\",\n \"C\",\n \"D\",\n \"E\",\n \"F\",\n \"G\"\n ],\n \"data\": [\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 43\n },\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 57\n },\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 57\n },\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 30\n },\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 40\n },\n {\n \"origin_site_id\": \"A\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 37\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 43\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 44\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 46\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 28\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 22\n },\n {\n \"origin_site_id\": \"B\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 52\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 57\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 44\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 53\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 50\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 28\n },\n {\n \"origin_site_id\": \"C\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 60\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 57\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 46\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 53\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 35\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 33\n },\n {\n \"origin_site_id\": \"D\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 59\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 30\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 28\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 50\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 35\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 27\n },\n {\n \"origin_site_id\": \"E\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 41\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 40\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 22\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 28\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 33\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 27\n },\n {\n \"origin_site_id\": \"F\",\n \"destination_site_id\": \"G\",\n \"travel_distance\": 32\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"A\",\n \"travel_distance\": 37\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"B\",\n \"travel_distance\": 52\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"C\",\n \"travel_distance\": 60\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"D\",\n \"travel_distance\": 59\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"E\",\n \"travel_distance\": 41\n },\n {\n \"origin_site_id\": \"G\",\n \"destination_site_id\": \"F\",\n \"travel_distance\": 32\n }\n ]\n}\n\nI'll just mention casually how Iβd like the final reply packaged β a small JSON outline to make things easy to read and parse:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\n\"selected\" is where you list the proposed sites you decide to open (those are the hub locations). \"assignments\" is a list that picks, for each client area in the same order they appear in the instance, which opened site it gets assigned to. Think of it like filling out a simple form: pick the open hubs, then say which hub each area goes to.\n\nThis JSON is just a sketch of the shape I expect, not the actual solution values.\n\nPlease be careful to use the exact identifiers given in the instance input β do not rename them or invent new labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
43,
57,
57,
30,
40,
37
],
[
43,
0,
44,
46,
28,
22,
52
],
[
57,
44,
0,
53,
50,
28,
60
],
[
57,
46,
53,
0,
35,
33,
59
],
[
30,
28,
50,
35,
0,
27,
41
],
[
40,
22,
28,
33,
27,
0,
32
],
[
37,
52,
60,
59,
41,
32,
0
]
],
"p": 1,
"objective": 182.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5,
5
]
},
"obj": 182.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 43,
"C": 57,
"D": 57,
"E": 30,
"F": 40,
"G": 37
}
},
{
"id": "B",
"distances": {
"A": 43,
"B": 0,
"C": 44,
"D": 46,
"E": 28,
"F": 22,
"G": 52
}
},
{
"id": "C",
"distances": {
"A": 57,
"B": 44,
"C": 0,
"D": 53,
"E": 50,
"F": 28,
"G": 60
}
},
{
"id": "D",
"distances": {
"A": 57,
"B": 46,
"C": 53,
"D": 0,
"E": 35,
"F": 33,
"G": 59
}
},
{
"id": "E",
"distances": {
"A": 30,
"B": 28,
"C": 50,
"D": 35,
"E": 0,
"F": 27,
"G": 41
}
},
{
"id": "F",
"distances": {
"A": 40,
"B": 22,
"C": 28,
"D": 33,
"E": 27,
"F": 0,
"G": 32
}
},
{
"id": "G",
"distances": {
"A": 37,
"B": 52,
"C": 60,
"D": 59,
"E": 41,
"F": 32,
"G": 0
}
}
],
"objective": 182.0
},
"solution_variant": {
"selected": [
"F"
],
"assignments": [
"F",
"F",
"F",
"F",
"F",
"F",
"F"
]
},
"context_index": 5,
"input_format": "json",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone in the planning office is trying to map out where to activate a fixed number of free WiβFi hotspots from among possible sites. Once the chosen hotspots are up, each block has to be connected to exactly one of them β no block is left unassigned or tied to more than one hotspot. The better the plan, the less total distance users have to travel, which is measured by adding up each blockβs distance to its assigned hotspot; the plan with the smallest sum is preferred. The concrete candidate locations, the distances between them, and the number of hotspots to turn on are shown below.\n\n# total_candidate_locations=5\n# hotspots_to_activate=1\n# location_ids=0, 1, 2, 3, 4\norigin_location_id,destination_location_id,pairwise_travel_distance\n0,1,209\n0,2,112\n0,3,168\n0,4,98\n1,0,209\n1,2,195\n1,3,245\n1,4,161\n2,0,112\n2,1,195\n2,3,56\n2,4,136\n3,0,168\n3,1,245\n3,2,56\n3,4,192\n4,0,98\n4,1,161\n4,2,136\n4,3,192\n\nIf you like, you can just send back the plan in a tiny JSON snippet so it's easy to read and parse. Here's the shape I'd expect β nothing complicated, just which sites you turn on and which site each block connects to:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\nThink of \"selected\" as the list of hotspot sites you're switching on, and \"assignments\" as, for each block (in the same order the instance lists them), the selected site that block will use. Super informal: first array = which spots open, second array = where each block connects.\n\nThis JSON is only a sketch of the expected shape β not the actual answer.\n\nPlease use the exact identifiers from the instance input β no renaming and no new labels.\nFor example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
209,
112,
168,
98
],
[
209,
0,
195,
245,
161
],
[
112,
195,
0,
56,
136
],
[
168,
245,
56,
0,
192
],
[
98,
161,
136,
192,
0
]
],
"p": 1,
"objective": 499.0
},
"solution": {
"facilities": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"obj": 499.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 209,
"2": 112,
"3": 168,
"4": 98
}
},
{
"id": 1,
"distances": {
"0": 209,
"1": 0,
"2": 195,
"3": 245,
"4": 161
}
},
{
"id": 2,
"distances": {
"0": 112,
"1": 195,
"2": 0,
"3": 56,
"4": 136
}
},
{
"id": 3,
"distances": {
"0": 168,
"1": 245,
"2": 56,
"3": 0,
"4": 192
}
},
{
"id": 4,
"distances": {
"0": 98,
"1": 161,
"2": 136,
"3": 192,
"4": 0
}
}
],
"objective": 499.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"context_index": 6,
"input_format": "csv",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many people on the team know we need to open only a handful of garages as charging sites and then assign each vehicle base to one of those sites. That means choosing a fixed number of depots, making sure every base goes to exactly one open depot (nothing left out, nothing doubled up), and measuring a plan by summing the drives from each base to its depot β the lower that sum, the better. The full set of garages, bases, and distance values is shown below.\n\nBelow are the 8 candidate garages and bases; we will open exactly 3 depots and the locations (in order) are A, B, C, D, E, F, G, H.\nDrive distance from A to B is 35.\nDrive distance from A to C is 22.\nDrive distance from A to D is 31.\nDrive distance from A to E is 30.\nDrive distance from A to F is 45.\nDrive distance from A to G is 38.\nDrive distance from A to H is 28.\nDrive distance from B to A is 35.\nDrive distance from B to C is 29.\nDrive distance from B to D is 34.\nDrive distance from B to E is 31.\nDrive distance from B to F is 43.\nDrive distance from B to G is 36.\nDrive distance from B to H is 31.\nDrive distance from C to A is 22.\nDrive distance from C to B is 29.\nDrive distance from C to D is 24.\nDrive distance from C to E is 25.\nDrive distance from C to F is 33.\nDrive distance from C to G is 29.\nDrive distance from C to H is 15.\nDrive distance from D to A is 31.\nDrive distance from D to B is 34.\nDrive distance from D to C is 24.\nDrive distance from D to E is 9.\nDrive distance from D to F is 47.\nDrive distance from D to G is 29.\nDrive distance from D to H is 25.\nDrive distance from E to A is 30.\nDrive distance from E to B is 31.\nDrive distance from E to C is 25.\nDrive distance from E to D is 9.\nDrive distance from E to F is 46.\nDrive distance from E to G is 28.\nDrive distance from E to H is 24.\nDrive distance from F to A is 45.\nDrive distance from F to B is 43.\nDrive distance from F to C is 33.\nDrive distance from F to D is 47.\nDrive distance from F to E is 46.\nDrive distance from F to G is 35.\nDrive distance from F to H is 46.\nDrive distance from G to A is 38.\nDrive distance from G to B is 36.\nDrive distance from G to C is 29.\nDrive distance from G to D is 29.\nDrive distance from G to E is 28.\nDrive distance from G to F is 35.\nDrive distance from G to H is 28.\nDrive distance from H to A is 28.\nDrive distance from H to B is 31.\nDrive distance from H to C is 15.\nDrive distance from H to D is 25.\nDrive distance from H to E is 24.\nDrive distance from H to F is 46.\nDrive distance from H to G is 28.\nUse these 8 locations and distances to evaluate plans that open 3 depots.\n\nAlso, when you reply with a candidate plan, please use this simple JSON shape so it's straightforward to parse:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<site_assigned>, <site_assigned>, ...]\n }\n}\n\nQuick note on what that means in plain terms: \"selected\" is the list of garages (sites) you choose to open. \"assignments\" lists, in the same order as the vehicle bases are given in the instance, which opened site each base is assigned to. Think of it like a short form: pick the open sites, then say for each base which open site it uses.\n\nThis JSON is just the shape I need β not the filled-in answer. When you fill it in, be sure to use the exact identifiers from the instance input with no renaming or made-up labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
35,
22,
31,
30,
45,
38,
28
],
[
35,
0,
29,
34,
31,
43,
36,
31
],
[
22,
29,
0,
24,
25,
33,
29,
15
],
[
31,
34,
24,
0,
9,
47,
29,
25
],
[
30,
31,
25,
9,
0,
46,
28,
24
],
[
45,
43,
33,
47,
46,
0,
35,
46
],
[
38,
36,
29,
29,
28,
35,
0,
28
],
[
28,
31,
15,
25,
24,
46,
28,
0
]
],
"p": 3,
"objective": 103.0
},
"solution": {
"facilities": [
2,
4,
5
],
"assignments": [
2,
2,
2,
4,
4,
5,
4,
2
]
},
"obj": 103.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 3,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 35,
"C": 22,
"D": 31,
"E": 30,
"F": 45,
"G": 38,
"H": 28
}
},
{
"id": "B",
"distances": {
"A": 35,
"B": 0,
"C": 29,
"D": 34,
"E": 31,
"F": 43,
"G": 36,
"H": 31
}
},
{
"id": "C",
"distances": {
"A": 22,
"B": 29,
"C": 0,
"D": 24,
"E": 25,
"F": 33,
"G": 29,
"H": 15
}
},
{
"id": "D",
"distances": {
"A": 31,
"B": 34,
"C": 24,
"D": 0,
"E": 9,
"F": 47,
"G": 29,
"H": 25
}
},
{
"id": "E",
"distances": {
"A": 30,
"B": 31,
"C": 25,
"D": 9,
"E": 0,
"F": 46,
"G": 28,
"H": 24
}
},
{
"id": "F",
"distances": {
"A": 45,
"B": 43,
"C": 33,
"D": 47,
"E": 46,
"F": 0,
"G": 35,
"H": 46
}
},
{
"id": "G",
"distances": {
"A": 38,
"B": 36,
"C": 29,
"D": 29,
"E": 28,
"F": 35,
"G": 0,
"H": 28
}
},
{
"id": "H",
"distances": {
"A": 28,
"B": 31,
"C": 15,
"D": 25,
"E": 24,
"F": 46,
"G": 28,
"H": 0
}
}
],
"objective": 103.0
},
"solution_variant": {
"selected": [
"C",
"E",
"F"
],
"assignments": [
"C",
"C",
"C",
"E",
"E",
"F",
"E",
"C"
]
},
"context_index": 7,
"input_format": "markdown_table",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many people will be coming and the team must choose exactly a certain number of staffed info points from the proposed spots, then assign each campsite to one of those points. The better the choice, the less everyone walks β you figure that by summing each campsiteβs distance to its assigned booth and preferring the layout with the smallest sum. No campsite can be skipped or linked to more than one booth. Concrete details are listed below.\n\nThere are 7 proposed spots; you must staff exactly 1 booths chosen from 1, 2, 3, 4, 5, 6, 7.\nFrom site 1 to site 2: walking distance 53.\nFrom site 1 to site 3: walking distance 37.\nFrom site 1 to site 4: walking distance 46.\nFrom site 1 to site 5: walking distance 48.\nFrom site 1 to site 6: walking distance 41.\nFrom site 1 to site 7: walking distance 35.\nFrom site 2 to site 1: walking distance 53.\nFrom site 2 to site 3: walking distance 40.\nFrom site 2 to site 4: walking distance 47.\nFrom site 2 to site 5: walking distance 38.\nFrom site 2 to site 6: walking distance 41.\nFrom site 2 to site 7: walking distance 32.\nFrom site 3 to site 1: walking distance 37.\nFrom site 3 to site 2: walking distance 40.\nFrom site 3 to site 4: walking distance 41.\nFrom site 3 to site 5: walking distance 34.\nFrom site 3 to site 6: walking distance 39.\nFrom site 3 to site 7: walking distance 24.\nFrom site 4 to site 1: walking distance 46.\nFrom site 4 to site 2: walking distance 47.\nFrom site 4 to site 3: walking distance 41.\nFrom site 4 to site 5: walking distance 30.\nFrom site 4 to site 6: walking distance 26.\nFrom site 4 to site 7: walking distance 33.\nFrom site 5 to site 1: walking distance 48.\nFrom site 5 to site 2: walking distance 38.\nFrom site 5 to site 3: walking distance 34.\nFrom site 5 to site 4: walking distance 30.\nFrom site 5 to site 6: walking distance 32.\nFrom site 5 to site 7: walking distance 26.\nFrom site 6 to site 1: walking distance 41.\nFrom site 6 to site 2: walking distance 41.\nFrom site 6 to site 3: walking distance 39.\nFrom site 6 to site 4: walking distance 26.\nFrom site 6 to site 5: walking distance 32.\nFrom site 6 to site 7: walking distance 29.\nFrom site 7 to site 1: walking distance 35.\nFrom site 7 to site 2: walking distance 32.\nFrom site 7 to site 3: walking distance 24.\nFrom site 7 to site 4: walking distance 33.\nFrom site 7 to site 5: walking distance 26.\nFrom site 7 to site 6: walking distance 29.\nUse these distances to assign every campsite to one staffed booth so your chosen 1 booths minimize total walking.\n\nJust so we're on the same page, please return your answer in this little JSON shape β it's just a compact way to say which spots we open and where each campsite should go.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThink of \"selected\" as the list of staffed info points you decide to open, and \"assignments\" as, for each campsite in the original list (in that same order), the open site it gets sent to. This is only a sketch of the expected shape β not the real solution itself.\n\nOne important note: every identifier you put in here must exactly match the identifiers used in the instance input β do not rename them or invent new labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
53,
37,
46,
48,
41,
35
],
[
53,
0,
40,
47,
38,
41,
32
],
[
37,
40,
0,
41,
34,
39,
24
],
[
46,
47,
41,
0,
30,
26,
33
],
[
48,
38,
34,
30,
0,
32,
26
],
[
41,
41,
39,
26,
32,
0,
29
],
[
35,
32,
24,
33,
26,
29,
0
]
],
"p": 1,
"objective": 179.0
},
"solution": {
"facilities": [
6
],
"assignments": [
6,
6,
6,
6,
6,
6,
6
]
},
"obj": 179.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 53,
"3": 37,
"4": 46,
"5": 48,
"6": 41,
"7": 35
}
},
{
"id": 2,
"distances": {
"1": 53,
"2": 0,
"3": 40,
"4": 47,
"5": 38,
"6": 41,
"7": 32
}
},
{
"id": 3,
"distances": {
"1": 37,
"2": 40,
"3": 0,
"4": 41,
"5": 34,
"6": 39,
"7": 24
}
},
{
"id": 4,
"distances": {
"1": 46,
"2": 47,
"3": 41,
"4": 0,
"5": 30,
"6": 26,
"7": 33
}
},
{
"id": 5,
"distances": {
"1": 48,
"2": 38,
"3": 34,
"4": 30,
"5": 0,
"6": 32,
"7": 26
}
},
{
"id": 6,
"distances": {
"1": 41,
"2": 41,
"3": 39,
"4": 26,
"5": 32,
"6": 0,
"7": 29
}
},
{
"id": 7,
"distances": {
"1": 35,
"2": 32,
"3": 24,
"4": 33,
"5": 26,
"6": 29,
"7": 0
}
}
],
"objective": 179.0
},
"solution_variant": {
"selected": [
7
],
"assignments": [
7,
7,
7,
7,
7,
7,
7
]
},
"context_index": 8,
"input_format": "nl",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Back when the planners drew the master plan they left a shortlist of possible dock sites and now must pick a limited number to actually build. Each residential cluster must be connected to one of the selected docks β one connection per cluster, no extras β and the goal is to keep residentsβ trips short. Practically that means for any proposed set of docks you measure each clusterβs distance to its chosen dock, add up those distances, and prefer the arrangement with the smallest total. The detailed list of candidate sites, clusters, and distances is given below.\n\nIt contains 5 mapped locations, of which 2 docks must be opened; the location identifiers are A, B, C, D, E.\nDistance between A and B: 52.\nDistance between A and C: 41.\nDistance between A and D: 34.\nDistance between A and E: 36.\nDistance between B and A: 52.\nDistance between B and C: 42.\nDistance between B and D: 49.\nDistance between B and E: 50.\nDistance between C and A: 41.\nDistance between C and B: 42.\nDistance between C and D: 32.\nDistance between C and E: 33.\nDistance between D and A: 34.\nDistance between D and B: 49.\nDistance between D and C: 32.\nDistance between D and E: 23.\nDistance between E and A: 36.\nDistance between E and B: 50.\nDistance between E and C: 33.\nDistance between E and D: 23.\nUse these records to assign each residential cluster to one open dock so the total travel distance is minimized.\n\nOh, and when you send the final answer, please follow this simple JSON layout so it's easy to check automatically:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThink of it like a little form: \"selected\" is the shortlist of docks you actually build, and \"assignments\" lists, for each residential cluster (in the same order as the instance input), which of those built docks it connects to. The placeholders are just showing the shape I expect β they aren't the real choices.\n\nPlease make sure to use the exact identifiers from the instance input (do not rename them or invent new ones).\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
52,
41,
34,
36
],
[
52,
0,
42,
49,
50
],
[
41,
42,
0,
32,
33
],
[
34,
49,
32,
0,
23
],
[
36,
50,
33,
23,
0
]
],
"p": 2,
"objective": 89.0
},
"solution": {
"facilities": [
1,
3
],
"assignments": [
3,
1,
3,
3,
3
]
},
"obj": 89.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 2,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 52,
"C": 41,
"D": 34,
"E": 36
}
},
{
"id": "B",
"distances": {
"A": 52,
"B": 0,
"C": 42,
"D": 49,
"E": 50
}
},
{
"id": "C",
"distances": {
"A": 41,
"B": 42,
"C": 0,
"D": 32,
"E": 33
}
},
{
"id": "D",
"distances": {
"A": 34,
"B": 49,
"C": 32,
"D": 0,
"E": 23
}
},
{
"id": "E",
"distances": {
"A": 36,
"B": 50,
"C": 33,
"D": 23,
"E": 0
}
}
],
"objective": 89.0
},
"solution_variant": {
"selected": [
"B",
"D"
],
"assignments": [
"D",
"B",
"D",
"D",
"D"
]
},
"context_index": 9,
"input_format": "markdown_table",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Weβre sorting out which mailboxes to keep on our routes, but thereβs a limit on how many can stay open. From the candidate locations, a fixed number will be kept, and every delivery neighborhood must be linked to one of those kept boxes β one link per neighborhood, exactly. The goal is simple in everyday terms: make the total walking distance for everyone as low as possible by summing each neighborhoodβs distance to its chosen mailbox and choosing the arrangement with the lowest sum. The specific mailbox options and distance details are listed below.\n\nThere are 7 candidate mailbox posts; we must keep 1 open, chosen from 1, 2, 3, 4, 5, 6, 7.\nFor delivery neighborhood 1, we measure a walking distance of 187 to mailbox 2.\nFor delivery neighborhood 1, we measure a walking distance of 202 to mailbox 3.\nFor delivery neighborhood 1, we measure a walking distance of 154 to mailbox 4.\nFor delivery neighborhood 1, we measure a walking distance of 143 to mailbox 5.\nFor delivery neighborhood 1, we measure a walking distance of 212 to mailbox 6.\nFor delivery neighborhood 1, we measure a walking distance of 202 to mailbox 7.\nFor delivery neighborhood 2, we measure a walking distance of 187 to mailbox 1.\nFor delivery neighborhood 2, we measure a walking distance of 157 to mailbox 3.\nFor delivery neighborhood 2, we measure a walking distance of 101 to mailbox 4.\nFor delivery neighborhood 2, we measure a walking distance of 127 to mailbox 5.\nFor delivery neighborhood 2, we measure a walking distance of 164 to mailbox 6.\nFor delivery neighborhood 2, we measure a walking distance of 149 to mailbox 7.\nFor delivery neighborhood 3, we measure a walking distance of 202 to mailbox 1.\nFor delivery neighborhood 3, we measure a walking distance of 157 to mailbox 2.\nFor delivery neighborhood 3, we measure a walking distance of 60 to mailbox 4.\nFor delivery neighborhood 3, we measure a walking distance of 129 to mailbox 5.\nFor delivery neighborhood 3, we measure a walking distance of 52 to mailbox 6.\nFor delivery neighborhood 3, we measure a walking distance of 92 to mailbox 7.\nFor delivery neighborhood 4, we measure a walking distance of 154 to mailbox 1.\nFor delivery neighborhood 4, we measure a walking distance of 101 to mailbox 2.\nFor delivery neighborhood 4, we measure a walking distance of 60 to mailbox 3.\nFor delivery neighborhood 4, we measure a walking distance of 158 to mailbox 5.\nFor delivery neighborhood 4, we measure a walking distance of 90 to mailbox 6.\nFor delivery neighborhood 4, we measure a walking distance of 66 to mailbox 7.\nFor delivery neighborhood 5, we measure a walking distance of 143 to mailbox 1.\nFor delivery neighborhood 5, we measure a walking distance of 127 to mailbox 2.\nFor delivery neighborhood 5, we measure a walking distance of 129 to mailbox 3.\nFor delivery neighborhood 5, we measure a walking distance of 158 to mailbox 4.\nFor delivery neighborhood 5, we measure a walking distance of 89 to mailbox 6.\nFor delivery neighborhood 5, we measure a walking distance of 129 to mailbox 7.\nFor delivery neighborhood 6, we measure a walking distance of 212 to mailbox 1.\nFor delivery neighborhood 6, we measure a walking distance of 164 to mailbox 2.\nFor delivery neighborhood 6, we measure a walking distance of 52 to mailbox 3.\nFor delivery neighborhood 6, we measure a walking distance of 90 to mailbox 4.\nFor delivery neighborhood 6, we measure a walking distance of 89 to mailbox 5.\nFor delivery neighborhood 6, we measure a walking distance of 40 to mailbox 7.\nFor delivery neighborhood 7, we measure a walking distance of 202 to mailbox 1.\nFor delivery neighborhood 7, we measure a walking distance of 149 to mailbox 2.\nFor delivery neighborhood 7, we measure a walking distance of 92 to mailbox 3.\nFor delivery neighborhood 7, we measure a walking distance of 66 to mailbox 4.\nFor delivery neighborhood 7, we measure a walking distance of 129 to mailbox 5.\nFor delivery neighborhood 7, we measure a walking distance of 40 to mailbox 6.\nWeβll use these distances to choose which 1 of the 7 candidate posts to keep.\n\nAlso, when you send the result back, just use this simple JSON layout so it's easy to parse:\n\n{\n \"solution\": {\n \"selected\": [<mailbox_to_keep>, <mailbox_to_keep>, ...],\n \"assignments\": [<assigned_mailbox>, <assigned_mailbox>, ...]\n }\n}\n\n\"selected\" is the list of the mailboxes we decide to keep open. \"assignments\" is a list (in the same order as the input locations) that says which kept mailbox each neighborhood is linked to. It's just a sketch of the shape I expect β you'll fill in the actual identifiers from the instance.\n\nPlease use the exact identifiers from the input (do not rename them or invent new labels). \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
187,
202,
154,
143,
212,
202
],
[
187,
0,
157,
101,
127,
164,
149
],
[
202,
157,
0,
60,
129,
52,
92
],
[
154,
101,
60,
0,
158,
90,
66
],
[
143,
127,
129,
158,
0,
89,
129
],
[
212,
164,
52,
90,
89,
0,
40
],
[
202,
149,
92,
66,
129,
40,
0
]
],
"p": 1,
"objective": 629.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3,
3,
3
]
},
"obj": 629.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 187,
"3": 202,
"4": 154,
"5": 143,
"6": 212,
"7": 202
}
},
{
"id": 2,
"distances": {
"1": 187,
"2": 0,
"3": 157,
"4": 101,
"5": 127,
"6": 164,
"7": 149
}
},
{
"id": 3,
"distances": {
"1": 202,
"2": 157,
"3": 0,
"4": 60,
"5": 129,
"6": 52,
"7": 92
}
},
{
"id": 4,
"distances": {
"1": 154,
"2": 101,
"3": 60,
"4": 0,
"5": 158,
"6": 90,
"7": 66
}
},
{
"id": 5,
"distances": {
"1": 143,
"2": 127,
"3": 129,
"4": 158,
"5": 0,
"6": 89,
"7": 129
}
},
{
"id": 6,
"distances": {
"1": 212,
"2": 164,
"3": 52,
"4": 90,
"5": 89,
"6": 0,
"7": 40
}
},
{
"id": 7,
"distances": {
"1": 202,
"2": 149,
"3": 92,
"4": 66,
"5": 129,
"6": 40,
"7": 0
}
}
],
"objective": 629.0
},
"solution_variant": {
"selected": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"context_index": 10,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many people depend on the cooperative to pick a handful of collection yards from a list of candidates and then route each farm to one of those yards. The rule is strict: thereβs a fixed number of yards to run, and each farm must be assigned to exactly one open yard β no splitting or omissions. A better routing is the one that makes the sum of all farm-to-yard trips as small as possible; just add up each farmβs distance to its assigned yard to see how good it is. The concrete data about farms and distances appears below.\n\nBelow are the 6 candidate yards (IDs: 1, 2, 3, 4, 5, 6); the cooperative must open exactly 2 of them and assign every farm to one opened yard.\nDistance from 1 to 2: 28.\nDistance from 1 to 3: 42.\nDistance from 1 to 4: 38.\nDistance from 1 to 5: 45.\nDistance from 1 to 6: 43.\nDistance from 2 to 1: 28.\nDistance from 2 to 3: 47.\nDistance from 2 to 4: 36.\nDistance from 2 to 5: 35.\nDistance from 2 to 6: 33.\nDistance from 3 to 1: 42.\nDistance from 3 to 2: 47.\nDistance from 3 to 4: 35.\nDistance from 3 to 5: 35.\nDistance from 3 to 6: 39.\nDistance from 4 to 1: 38.\nDistance from 4 to 2: 36.\nDistance from 4 to 3: 35.\nDistance from 4 to 5: 53.\nDistance from 4 to 6: 51.\nDistance from 5 to 1: 45.\nDistance from 5 to 2: 35.\nDistance from 5 to 3: 35.\nDistance from 5 to 4: 53.\nDistance from 5 to 6: 42.\nDistance from 6 to 1: 43.\nDistance from 6 to 2: 33.\nDistance from 6 to 3: 39.\nDistance from 6 to 4: 51.\nDistance from 6 to 5: 42.\nThese distances will be used to assign farms to the chosen yards so the cooperative can minimize the total travel distance.\n\nOh, and when you reply, please use this simple JSON layout so I can read the shortlist and the farm-to-yard assignments easily:\n\n{\n \"solution\": {\n \"selected\": [<yard_to_open>, <yard_to_open>, ...],\n \"assignments\": [<chosen_open_yard>, <chosen_open_yard>, ...]\n }\n}\n\nThis is just a sketch of the shape I need:\n- \"selected\" is the list of yards you decide to open (those are the yard identifiers).\n- \"assignments\" lists, for each farm in the same order as the instance, which open yard it goes to (use the yard identifier you picked).\n\nPlease use the identifiers exactly as they appear in the instance input β no renaming and no new labels. For example:\n- plain numbers such as β1β or β23β\n- single capital letters like βAβ or βBβ\n- a capital letter followed by digits like βA1β or βX7β",
"instance": {
"distance_matrix": [
[
0,
28,
42,
38,
45,
43
],
[
28,
0,
47,
36,
35,
33
],
[
42,
47,
0,
35,
35,
39
],
[
38,
36,
35,
0,
53,
51
],
[
45,
35,
35,
53,
0,
42
],
[
43,
33,
39,
51,
42,
0
]
],
"p": 2,
"objective": 131.0
},
"solution": {
"facilities": [
1,
3
],
"assignments": [
1,
1,
3,
3,
1,
1
]
},
"obj": 131.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 2,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 28,
"3": 42,
"4": 38,
"5": 45,
"6": 43
}
},
{
"id": 2,
"distances": {
"1": 28,
"2": 0,
"3": 47,
"4": 36,
"5": 35,
"6": 33
}
},
{
"id": 3,
"distances": {
"1": 42,
"2": 47,
"3": 0,
"4": 35,
"5": 35,
"6": 39
}
},
{
"id": 4,
"distances": {
"1": 38,
"2": 36,
"3": 35,
"4": 0,
"5": 53,
"6": 51
}
},
{
"id": 5,
"distances": {
"1": 45,
"2": 35,
"3": 35,
"4": 53,
"5": 0,
"6": 42
}
},
{
"id": 6,
"distances": {
"1": 43,
"2": 33,
"3": 39,
"4": 51,
"5": 42,
"6": 0
}
}
],
"objective": 131.0
},
"solution_variant": {
"selected": [
2,
4
],
"assignments": [
2,
2,
4,
4,
2,
2
]
},
"context_index": 11,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone in the ranger office needs to decide which clearings get staffed first-aid teams and then connect every trailhead to one staffed clearing so hikers arenβt wandering around. The rule of thumb is: compute how far people from each trailhead would have to go to reach their assigned station, sum those distances across all trailheads, and prefer the setup with the smallest total distance. Each trailhead gets oneβand only oneβassigned station; none can be left out or routed to multiple stations. The exact list of clearings, trailheads, and their pairwise distances appears below.\n\n{\n \"total_locations_count\": 6,\n \"num_first_aid_to_staff\": 1,\n \"location_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"from_location_id\": 0,\n \"to_location_id\": 1,\n \"travel_distance\": 28\n },\n {\n \"from_location_id\": 0,\n \"to_location_id\": 2,\n \"travel_distance\": 14\n },\n {\n \"from_location_id\": 0,\n \"to_location_id\": 3,\n \"travel_distance\": 31\n },\n {\n \"from_location_id\": 0,\n \"to_location_id\": 4,\n \"travel_distance\": 17\n },\n {\n \"from_location_id\": 0,\n \"to_location_id\": 5,\n \"travel_distance\": 33\n },\n {\n \"from_location_id\": 1,\n \"to_location_id\": 0,\n \"travel_distance\": 28\n },\n {\n \"from_location_id\": 1,\n \"to_location_id\": 2,\n \"travel_distance\": 29\n },\n {\n \"from_location_id\": 1,\n \"to_location_id\": 3,\n \"travel_distance\": 34\n },\n {\n \"from_location_id\": 1,\n \"to_location_id\": 4,\n \"travel_distance\": 25\n },\n {\n \"from_location_id\": 1,\n \"to_location_id\": 5,\n \"travel_distance\": 31\n },\n {\n \"from_location_id\": 2,\n \"to_location_id\": 0,\n \"travel_distance\": 14\n },\n {\n \"from_location_id\": 2,\n \"to_location_id\": 1,\n \"travel_distance\": 29\n },\n {\n \"from_location_id\": 2,\n \"to_location_id\": 3,\n \"travel_distance\": 35\n },\n {\n \"from_location_id\": 2,\n \"to_location_id\": 4,\n \"travel_distance\": 27\n },\n {\n \"from_location_id\": 2,\n \"to_location_id\": 5,\n \"travel_distance\": 41\n },\n {\n \"from_location_id\": 3,\n \"to_location_id\": 0,\n \"travel_distance\": 31\n },\n {\n \"from_location_id\": 3,\n \"to_location_id\": 1,\n \"travel_distance\": 34\n },\n {\n \"from_location_id\": 3,\n \"to_location_id\": 2,\n \"travel_distance\": 35\n },\n {\n \"from_location_id\": 3,\n \"to_location_id\": 4,\n \"travel_distance\": 29\n },\n {\n \"from_location_id\": 3,\n \"to_location_id\": 5,\n \"travel_distance\": 37\n },\n {\n \"from_location_id\": 4,\n \"to_location_id\": 0,\n \"travel_distance\": 17\n },\n {\n \"from_location_id\": 4,\n \"to_location_id\": 1,\n \"travel_distance\": 25\n },\n {\n \"from_location_id\": 4,\n \"to_location_id\": 2,\n \"travel_distance\": 27\n },\n {\n \"from_location_id\": 4,\n \"to_location_id\": 3,\n \"travel_distance\": 29\n },\n {\n \"from_location_id\": 4,\n \"to_location_id\": 5,\n \"travel_distance\": 41\n },\n {\n \"from_location_id\": 5,\n \"to_location_id\": 0,\n \"travel_distance\": 33\n },\n {\n \"from_location_id\": 5,\n \"to_location_id\": 1,\n \"travel_distance\": 31\n },\n {\n \"from_location_id\": 5,\n \"to_location_id\": 2,\n \"travel_distance\": 41\n },\n {\n \"from_location_id\": 5,\n \"to_location_id\": 3,\n \"travel_distance\": 37\n },\n {\n \"from_location_id\": 5,\n \"to_location_id\": 4,\n \"travel_distance\": 41\n }\n ]\n}\n\nOh, and when you send back the plan, just use this little JSON layout so it's easy to plug into the other tools:\n\n{\n \"solution\": {\n \"selected\": [<clearing_to_open>, <clearing_to_open>, ...],\n \"assignments\": [<assigned_clearing>, <assigned_clearing>, ...]\n }\n}\n\nThink of it like a simple form: \"selected\" is the list of clearings we decide to staff, and \"assignments\" is which staffed clearing each trailhead gets routed to (one entry per trailhead, in the same order as the trailheads are listed in the instance). This JSON is just a sketch of the shape I need β not your final answer β so fill in the actual identifiers from the instance when you reply.\n\nPlease be careful to use the exact identifiers given in the instance input β no renaming, no made-up labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
28,
14,
31,
17,
33
],
[
28,
0,
29,
34,
25,
31
],
[
14,
29,
0,
35,
27,
41
],
[
31,
34,
35,
0,
29,
37
],
[
17,
25,
27,
29,
0,
41
],
[
33,
31,
41,
37,
41,
0
]
],
"p": 1,
"objective": 123.0
},
"solution": {
"facilities": [
0
],
"assignments": [
0,
0,
0,
0,
0,
0
]
},
"obj": 123.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 28,
"2": 14,
"3": 31,
"4": 17,
"5": 33
}
},
{
"id": 1,
"distances": {
"0": 28,
"1": 0,
"2": 29,
"3": 34,
"4": 25,
"5": 31
}
},
{
"id": 2,
"distances": {
"0": 14,
"1": 29,
"2": 0,
"3": 35,
"4": 27,
"5": 41
}
},
{
"id": 3,
"distances": {
"0": 31,
"1": 34,
"2": 35,
"3": 0,
"4": 29,
"5": 37
}
},
{
"id": 4,
"distances": {
"0": 17,
"1": 25,
"2": 27,
"3": 29,
"4": 0,
"5": 41
}
},
{
"id": 5,
"distances": {
"0": 33,
"1": 31,
"2": 41,
"3": 37,
"4": 41,
"5": 0
}
}
],
"objective": 123.0
},
"solution_variant": {
"selected": [
0
],
"assignments": [
0,
0,
0,
0,
0,
0
]
},
"context_index": 12,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Iβm running the rideβhail ops side and need to pick which driver rest stops to keep open from a list of possible spots. The plan is to choose a fixed number of those stops and then link every service zone to one of the open stops β one and only one, no zone left out or split between stops. The better choice is the one that makes the drivers travel the least overall, measured by adding up the distance from each zone to its assigned rest stop. Concrete details are shown below.\n\n{\n \"total_candidate_locations\": 7,\n \"stops_to_keep_open\": 1,\n \"location_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6\n ],\n \"data\": [\n {\n \"source_location_id\": 0,\n \"target_location_id\": 1,\n \"travel_distance\": 43\n },\n {\n \"source_location_id\": 0,\n \"target_location_id\": 2,\n \"travel_distance\": 50\n },\n {\n \"source_location_id\": 0,\n \"target_location_id\": 3,\n \"travel_distance\": 44\n },\n {\n \"source_location_id\": 0,\n \"target_location_id\": 4,\n \"travel_distance\": 27\n },\n {\n \"source_location_id\": 0,\n \"target_location_id\": 5,\n \"travel_distance\": 49\n },\n {\n \"source_location_id\": 0,\n \"target_location_id\": 6,\n \"travel_distance\": 43\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 0,\n \"travel_distance\": 43\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 2,\n \"travel_distance\": 51\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 3,\n \"travel_distance\": 32\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 4,\n \"travel_distance\": 46\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 5,\n \"travel_distance\": 47\n },\n {\n \"source_location_id\": 1,\n \"target_location_id\": 6,\n \"travel_distance\": 55\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 0,\n \"travel_distance\": 50\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 1,\n \"travel_distance\": 51\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 3,\n \"travel_distance\": 50\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 4,\n \"travel_distance\": 45\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 5,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 2,\n \"target_location_id\": 6,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 0,\n \"travel_distance\": 44\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 1,\n \"travel_distance\": 32\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 2,\n \"travel_distance\": 50\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 4,\n \"travel_distance\": 36\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 5,\n \"travel_distance\": 57\n },\n {\n \"source_location_id\": 3,\n \"target_location_id\": 6,\n \"travel_distance\": 44\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 0,\n \"travel_distance\": 27\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 1,\n \"travel_distance\": 46\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 2,\n \"travel_distance\": 45\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 3,\n \"travel_distance\": 36\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 5,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 4,\n \"target_location_id\": 6,\n \"travel_distance\": 54\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 0,\n \"travel_distance\": 49\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 1,\n \"travel_distance\": 47\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 2,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 3,\n \"travel_distance\": 57\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 4,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 5,\n \"target_location_id\": 6,\n \"travel_distance\": 62\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 0,\n \"travel_distance\": 43\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 1,\n \"travel_distance\": 55\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 2,\n \"travel_distance\": 42\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 3,\n \"travel_distance\": 44\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 4,\n \"travel_distance\": 54\n },\n {\n \"source_location_id\": 6,\n \"target_location_id\": 5,\n \"travel_distance\": 62\n }\n ]\n}\n\nI'll keep the answer in a tiny, predictable JSON shape so it's easy to plug into whatever you're using. Something like this:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_open_site>, <assigned_open_site>, ...]\n }\n}\n\n\"selected\" is where you list the rest stops we choose to keep open. \"assignments\" is a list, in the same order as the input zones, saying which open stop each zone gets linked to. Super casual β think of it as filling out a form, not a report.\n\nThis JSON is just a sketch of the shape I need you to return, not the actual choices. And please use the exact identifiers from the instance input β don't rename them or invent new labels. \n\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
43,
50,
44,
27,
49,
43
],
[
43,
0,
51,
32,
46,
47,
55
],
[
50,
51,
0,
50,
45,
42,
42
],
[
44,
32,
50,
0,
36,
57,
44
],
[
27,
46,
45,
36,
0,
42,
54
],
[
49,
47,
42,
57,
42,
0,
62
],
[
43,
55,
42,
44,
54,
62,
0
]
],
"p": 1,
"objective": 250.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"obj": 250.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 43,
"2": 50,
"3": 44,
"4": 27,
"5": 49,
"6": 43
}
},
{
"id": 1,
"distances": {
"0": 43,
"1": 0,
"2": 51,
"3": 32,
"4": 46,
"5": 47,
"6": 55
}
},
{
"id": 2,
"distances": {
"0": 50,
"1": 51,
"2": 0,
"3": 50,
"4": 45,
"5": 42,
"6": 42
}
},
{
"id": 3,
"distances": {
"0": 44,
"1": 32,
"2": 50,
"3": 0,
"4": 36,
"5": 57,
"6": 44
}
},
{
"id": 4,
"distances": {
"0": 27,
"1": 46,
"2": 45,
"3": 36,
"4": 0,
"5": 42,
"6": 54
}
},
{
"id": 5,
"distances": {
"0": 49,
"1": 47,
"2": 42,
"3": 57,
"4": 42,
"5": 0,
"6": 62
}
},
{
"id": 6,
"distances": {
"0": 43,
"1": 55,
"2": 42,
"3": 44,
"4": 54,
"5": 62,
"6": 0
}
}
],
"objective": 250.0
},
"solution_variant": {
"selected": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"context_index": 13,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I run the hospitalβs community outreach, and now I have to pick a fixed number of popβup vaccination clinics to open in town at some of the community centers. Every neighborhood needs to be signed up with exactly one of those clinics β nobody gets left out or sent to two places β and the whole point is to make the total travel everyone has to do as small as possible. That means adding up the distance from each neighborhood to the clinic itβs assigned to, and choosing clinic sites so that that sum is as low as it can be. The specific list of candidate centers and the distances between neighborhoods and centers are shown below.\n\nThere are 7 locations in total; I must open 1 clinics and the listed location IDs are: 0, 1, 2, 3, 4, 5, 6.\nI note the travel distance from 0 to 1 is 38.\nI note the travel distance from 0 to 2 is 47.\nI note the travel distance from 0 to 3 is 24.\nI note the travel distance from 0 to 4 is 56.\nI note the travel distance from 0 to 5 is 29.\nI note the travel distance from 0 to 6 is 42.\nI note the travel distance from 1 to 0 is 38.\nI note the travel distance from 1 to 2 is 45.\nI note the travel distance from 1 to 3 is 33.\nI note the travel distance from 1 to 4 is 59.\nI note the travel distance from 1 to 5 is 57.\nI note the travel distance from 1 to 6 is 70.\nI note the travel distance from 2 to 0 is 47.\nI note the travel distance from 2 to 1 is 45.\nI note the travel distance from 2 to 3 is 50.\nI note the travel distance from 2 to 4 is 62.\nI note the travel distance from 2 to 5 is 45.\nI note the travel distance from 2 to 6 is 58.\nI note the travel distance from 3 to 0 is 24.\nI note the travel distance from 3 to 1 is 33.\nI note the travel distance from 3 to 2 is 50.\nI note the travel distance from 3 to 4 is 32.\nI note the travel distance from 3 to 5 is 53.\nI note the travel distance from 3 to 6 is 66.\nI note the travel distance from 4 to 0 is 56.\nI note the travel distance from 4 to 1 is 59.\nI note the travel distance from 4 to 2 is 62.\nI note the travel distance from 4 to 3 is 32.\nI note the travel distance from 4 to 5 is 66.\nI note the travel distance from 4 to 6 is 79.\nI note the travel distance from 5 to 0 is 29.\nI note the travel distance from 5 to 1 is 57.\nI note the travel distance from 5 to 2 is 45.\nI note the travel distance from 5 to 3 is 53.\nI note the travel distance from 5 to 4 is 66.\nI note the travel distance from 5 to 6 is 13.\nI note the travel distance from 6 to 0 is 42.\nI note the travel distance from 6 to 1 is 70.\nI note the travel distance from 6 to 2 is 58.\nI note the travel distance from 6 to 3 is 66.\nI note the travel distance from 6 to 4 is 79.\nI note the travel distance from 6 to 5 is 13.\nWith these distances, I'll choose 1 clinic sites from the 7 locations to minimize total travel.\n\nI'll put the actual choices and assignments into a simple JSON snippet so it's easy to read and reuse. It'll follow this shape:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\n\"selected\" is where I'll list which community centers we decide to open as popβup clinics, and \"assignments\" is a matching list showing, for each neighborhood in the order they were given, which opened site it gets signed up with. This is just a sketch of the shape I will use β not the final answer.\n\nPlease make sure to use the exact identifiers from the instance input (don't rename them and don't invent new ones):\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
38,
47,
24,
56,
29,
42
],
[
38,
0,
45,
33,
59,
57,
70
],
[
47,
45,
0,
50,
62,
45,
58
],
[
24,
33,
50,
0,
32,
53,
66
],
[
56,
59,
62,
32,
0,
66,
79
],
[
29,
57,
45,
53,
66,
0,
13
],
[
42,
70,
58,
66,
79,
13,
0
]
],
"p": 1,
"objective": 236.0
},
"solution": {
"facilities": [
0
],
"assignments": [
0,
0,
0,
0,
0,
0,
0
]
},
"obj": 236.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 38,
"2": 47,
"3": 24,
"4": 56,
"5": 29,
"6": 42
}
},
{
"id": 1,
"distances": {
"0": 38,
"1": 0,
"2": 45,
"3": 33,
"4": 59,
"5": 57,
"6": 70
}
},
{
"id": 2,
"distances": {
"0": 47,
"1": 45,
"2": 0,
"3": 50,
"4": 62,
"5": 45,
"6": 58
}
},
{
"id": 3,
"distances": {
"0": 24,
"1": 33,
"2": 50,
"3": 0,
"4": 32,
"5": 53,
"6": 66
}
},
{
"id": 4,
"distances": {
"0": 56,
"1": 59,
"2": 62,
"3": 32,
"4": 0,
"5": 66,
"6": 79
}
},
{
"id": 5,
"distances": {
"0": 29,
"1": 57,
"2": 45,
"3": 53,
"4": 66,
"5": 0,
"6": 13
}
},
{
"id": 6,
"distances": {
"0": 42,
"1": 70,
"2": 58,
"3": 66,
"4": 79,
"5": 13,
"6": 0
}
}
],
"objective": 236.0
},
"solution_variant": {
"selected": [
0
],
"assignments": [
0,
0,
0,
0,
0,
0,
0
]
},
"context_index": 14,
"input_format": "nl",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Weβve been handed a list of candidate spots for temporary library popβups and have to choose only a set number to actually open. Then each residential block gets attached to one of the opened spots β only one β and the success of the plan is judged by the combined walking distance of everyone: sum up the distance from each block to its assigned popβup, and the lower that combined distance, the better. The concrete locations and distances follow below.\n\n{\n \"total_locations_count\": 8,\n \"popups_to_open\": 1,\n \"location_ids\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8\n ],\n \"data\": [\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 2,\n \"walking_distance\": 189\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 3,\n \"walking_distance\": 220\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 4,\n \"walking_distance\": 121\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 5,\n \"walking_distance\": 176\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 6,\n \"walking_distance\": 134\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 7,\n \"walking_distance\": 204\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 8,\n \"walking_distance\": 89\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 1,\n \"walking_distance\": 189\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 3,\n \"walking_distance\": 181\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 4,\n \"walking_distance\": 139\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 5,\n \"walking_distance\": 210\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 6,\n \"walking_distance\": 81\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 7,\n \"walking_distance\": 147\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 8,\n \"walking_distance\": 123\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 1,\n \"walking_distance\": 220\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 2,\n \"walking_distance\": 181\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 4,\n \"walking_distance\": 144\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 5,\n \"walking_distance\": 280\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 6,\n \"walking_distance\": 134\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 7,\n \"walking_distance\": 200\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 8,\n \"walking_distance\": 201\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 1,\n \"walking_distance\": 121\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 2,\n \"walking_distance\": 139\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 3,\n \"walking_distance\": 144\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 5,\n \"walking_distance\": 208\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 6,\n \"walking_distance\": 58\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 7,\n \"walking_distance\": 128\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 8,\n \"walking_distance\": 127\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 1,\n \"walking_distance\": 176\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 2,\n \"walking_distance\": 210\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 3,\n \"walking_distance\": 280\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 4,\n \"walking_distance\": 208\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 6,\n \"walking_distance\": 160\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 7,\n \"walking_distance\": 90\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 8,\n \"walking_distance\": 87\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 1,\n \"walking_distance\": 134\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 2,\n \"walking_distance\": 81\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 3,\n \"walking_distance\": 134\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 4,\n \"walking_distance\": 58\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 5,\n \"walking_distance\": 160\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 7,\n \"walking_distance\": 96\n },\n {\n \"origin_location_id\": 6,\n \"destination_location_id\": 8,\n \"walking_distance\": 114\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 1,\n \"walking_distance\": 204\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 2,\n \"walking_distance\": 147\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 3,\n \"walking_distance\": 200\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 4,\n \"walking_distance\": 128\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 5,\n \"walking_distance\": 90\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 6,\n \"walking_distance\": 96\n },\n {\n \"origin_location_id\": 7,\n \"destination_location_id\": 8,\n \"walking_distance\": 130\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 1,\n \"walking_distance\": 89\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 2,\n \"walking_distance\": 123\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 3,\n \"walking_distance\": 201\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 4,\n \"walking_distance\": 127\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 5,\n \"walking_distance\": 87\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 6,\n \"walking_distance\": 114\n },\n {\n \"origin_location_id\": 8,\n \"destination_location_id\": 7,\n \"walking_distance\": 130\n }\n ]\n}\n\nAlso, when you send the actual selection back, please use this JSON layout so it's easy for me to read and parse:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_pop_up>, <assigned_pop_up>, ...]\n }\n}\n\n'selected' is where you list the popβup locations you choose to open, and 'assignments' lists, for each residential block in the same order as the input, which opened popβup it gets attached to. Think of it like a simple form: which sites are open, and which open site each block is assigned to.\n\nThis is just the sketch of the shape I expect β not the final answer.\n\nAll identifiers must be used exactly as they appear in the instance input β no renaming and no new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
189,
220,
121,
176,
134,
204,
89
],
[
189,
0,
181,
139,
210,
81,
147,
123
],
[
220,
181,
0,
144,
280,
134,
200,
201
],
[
121,
139,
144,
0,
208,
58,
128,
127
],
[
176,
210,
280,
208,
0,
160,
90,
87
],
[
134,
81,
134,
58,
160,
0,
96,
114
],
[
204,
147,
200,
128,
90,
96,
0,
130
],
[
89,
123,
201,
127,
87,
114,
130,
0
]
],
"p": 1,
"objective": 777.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5,
5,
5
]
},
"obj": 777.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 189,
"3": 220,
"4": 121,
"5": 176,
"6": 134,
"7": 204,
"8": 89
}
},
{
"id": 2,
"distances": {
"1": 189,
"2": 0,
"3": 181,
"4": 139,
"5": 210,
"6": 81,
"7": 147,
"8": 123
}
},
{
"id": 3,
"distances": {
"1": 220,
"2": 181,
"3": 0,
"4": 144,
"5": 280,
"6": 134,
"7": 200,
"8": 201
}
},
{
"id": 4,
"distances": {
"1": 121,
"2": 139,
"3": 144,
"4": 0,
"5": 208,
"6": 58,
"7": 128,
"8": 127
}
},
{
"id": 5,
"distances": {
"1": 176,
"2": 210,
"3": 280,
"4": 208,
"5": 0,
"6": 160,
"7": 90,
"8": 87
}
},
{
"id": 6,
"distances": {
"1": 134,
"2": 81,
"3": 134,
"4": 58,
"5": 160,
"6": 0,
"7": 96,
"8": 114
}
},
{
"id": 7,
"distances": {
"1": 204,
"2": 147,
"3": 200,
"4": 128,
"5": 90,
"6": 96,
"7": 0,
"8": 130
}
},
{
"id": 8,
"distances": {
"1": 89,
"2": 123,
"3": 201,
"4": 127,
"5": 87,
"6": 114,
"7": 130,
"8": 0
}
}
],
"objective": 777.0
},
"solution_variant": {
"selected": [
6
],
"assignments": [
6,
6,
6,
6,
6,
6,
6,
6
]
},
"context_index": 15,
"input_format": "json",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone at the waste reduction office has to decide which curbside candidates will get the new glass bins β but only a set number can be installed. Each neighborhood must go to one, and only one, installed bin; then the quality of any selection is judged by adding together all the distances people would travel from their area to their assigned bin β the lower that combined distance, the more efficient the placement. The exact spots and distance details appear below.\n\n{\n \"total_locations\": 6,\n \"bins_to_install\": 1,\n \"location_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"origin_location_id\": 0,\n \"destination_location_id\": 1,\n \"travel_distance\": 36\n },\n {\n \"origin_location_id\": 0,\n \"destination_location_id\": 2,\n \"travel_distance\": 37\n },\n {\n \"origin_location_id\": 0,\n \"destination_location_id\": 3,\n \"travel_distance\": 38\n },\n {\n \"origin_location_id\": 0,\n \"destination_location_id\": 4,\n \"travel_distance\": 42\n },\n {\n \"origin_location_id\": 0,\n \"destination_location_id\": 5,\n \"travel_distance\": 33\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 0,\n \"travel_distance\": 36\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 2,\n \"travel_distance\": 35\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 3,\n \"travel_distance\": 22\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 4,\n \"travel_distance\": 40\n },\n {\n \"origin_location_id\": 1,\n \"destination_location_id\": 5,\n \"travel_distance\": 31\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 0,\n \"travel_distance\": 37\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 1,\n \"travel_distance\": 35\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 3,\n \"travel_distance\": 33\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 4,\n \"travel_distance\": 40\n },\n {\n \"origin_location_id\": 2,\n \"destination_location_id\": 5,\n \"travel_distance\": 39\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 0,\n \"travel_distance\": 38\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 1,\n \"travel_distance\": 22\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 2,\n \"travel_distance\": 33\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 4,\n \"travel_distance\": 28\n },\n {\n \"origin_location_id\": 3,\n \"destination_location_id\": 5,\n \"travel_distance\": 24\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 0,\n \"travel_distance\": 42\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 1,\n \"travel_distance\": 40\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 2,\n \"travel_distance\": 40\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 3,\n \"travel_distance\": 28\n },\n {\n \"origin_location_id\": 4,\n \"destination_location_id\": 5,\n \"travel_distance\": 35\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 0,\n \"travel_distance\": 33\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 1,\n \"travel_distance\": 31\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 2,\n \"travel_distance\": 39\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 3,\n \"travel_distance\": 24\n },\n {\n \"origin_location_id\": 5,\n \"destination_location_id\": 4,\n \"travel_distance\": 35\n }\n ]\n}\n\nYou can put the answer in a small JSON snippet like this so it's easy to parse and check β something casual and form-like:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\nselected lists which curbside spots actually get bins installed. assignments lists, for each neighborhood (in the same order as the input), which opened spot that neighborhood will go to. Think of it like a simple form: picked sites up top, then a list saying where each area should drop off their glass.\n\nThis JSON is just a sketch of the shape I need back, not the final answer itself. Please make sure all identifiers you use match exactly what's in the instance input β do not rename them and do not invent new labels. \n\nValid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
36,
37,
38,
42,
33
],
[
36,
0,
35,
22,
40,
31
],
[
37,
35,
0,
33,
40,
39
],
[
38,
22,
33,
0,
28,
24
],
[
42,
40,
40,
28,
0,
35
],
[
33,
31,
39,
24,
35,
0
]
],
"p": 1,
"objective": 145.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3,
3
]
},
"obj": 145.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 36,
"2": 37,
"3": 38,
"4": 42,
"5": 33
}
},
{
"id": 1,
"distances": {
"0": 36,
"1": 0,
"2": 35,
"3": 22,
"4": 40,
"5": 31
}
},
{
"id": 2,
"distances": {
"0": 37,
"1": 35,
"2": 0,
"3": 33,
"4": 40,
"5": 39
}
},
{
"id": 3,
"distances": {
"0": 38,
"1": 22,
"2": 33,
"3": 0,
"4": 28,
"5": 24
}
},
{
"id": 4,
"distances": {
"0": 42,
"1": 40,
"2": 40,
"3": 28,
"4": 0,
"5": 35
}
},
{
"id": 5,
"distances": {
"0": 33,
"1": 31,
"2": 39,
"3": 24,
"4": 35,
"5": 0
}
}
],
"objective": 145.0
},
"solution_variant": {
"selected": [
3
],
"assignments": [
3,
3,
3,
3,
3,
3
]
},
"context_index": 16,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Weβre juggling limited maintenance crews and can only staff a set number of warming huts across the slopes. The job is to pick which ones to keep open and then assign each lift terminal to exactly one of those open huts β nothing can be skipped and no terminal gets two huts. To see which choice is best, we sum the distances from every terminal to its assigned hut and aim for the lowest possible total. The concrete details follow below.\n\nWe have 7 total locations, can keep 2 huts open, and the candidate sites (each a lift terminal) are A, B, C, D, E, F, G.\nWe record a travel distance of 47 from A to B.\nWe record a travel distance of 45 from A to C.\nWe record a travel distance of 12 from A to D.\nWe record a travel distance of 45 from A to E.\nWe record a travel distance of 37 from A to F.\nWe record a travel distance of 39 from A to G.\nWe record a travel distance of 47 from B to A.\nWe record a travel distance of 37 from B to C.\nWe record a travel distance of 45 from B to D.\nWe record a travel distance of 20 from B to E.\nWe record a travel distance of 33 from B to F.\nWe record a travel distance of 38 from B to G.\nWe record a travel distance of 45 from C to A.\nWe record a travel distance of 37 from C to B.\nWe record a travel distance of 41 from C to D.\nWe record a travel distance of 45 from C to E.\nWe record a travel distance of 23 from C to F.\nWe record a travel distance of 39 from C to G.\nWe record a travel distance of 12 from D to A.\nWe record a travel distance of 45 from D to B.\nWe record a travel distance of 41 from D to C.\nWe record a travel distance of 41 from D to E.\nWe record a travel distance of 33 from D to F.\nWe record a travel distance of 27 from D to G.\nWe record a travel distance of 45 from E to A.\nWe record a travel distance of 20 from E to B.\nWe record a travel distance of 45 from E to C.\nWe record a travel distance of 41 from E to D.\nWe record a travel distance of 38 from E to F.\nWe record a travel distance of 40 from E to G.\nWe record a travel distance of 37 from F to A.\nWe record a travel distance of 33 from F to B.\nWe record a travel distance of 23 from F to C.\nWe record a travel distance of 33 from F to D.\nWe record a travel distance of 38 from F to E.\nWe record a travel distance of 29 from F to G.\nWe record a travel distance of 39 from G to A.\nWe record a travel distance of 38 from G to B.\nWe record a travel distance of 39 from G to C.\nWe record a travel distance of 27 from G to D.\nWe record a travel distance of 40 from G to E.\nWe record a travel distance of 29 from G to F.\nWeβll pick which 2 huts to staff among the 7 locations above to minimize the total travel distance.\n\nI'll keep the answer shape simple so you can plug values in easily β below is the expected JSON layout you should follow.\n\n{\n \"solution\": {\n \"selected\": [<hut_to_open>, <hut_to_open>, ...],\n \"assignments\": [<assigned_hut>, <assigned_hut>, ...]\n }\n}\n\nPretty straightforward: \"selected\" is the list of warming huts we choose to staff (the ones we leave open), and \"assignments\" lists, in the same order as the terminals in the instance, which open hut each terminal is assigned to. Think of it like a short form: pick your open huts, then for every terminal say which open hut serves it.\n\nThis JSON is just a sketch of the shape I need you to return β not the actual solution yet. Also, please use the exact identifiers from the instance input, no renaming and no new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
47,
45,
12,
45,
37,
39
],
[
47,
0,
37,
45,
20,
33,
38
],
[
45,
37,
0,
41,
45,
23,
39
],
[
12,
45,
41,
0,
41,
33,
27
],
[
45,
20,
45,
41,
0,
38,
40
],
[
37,
33,
23,
33,
38,
0,
29
],
[
39,
38,
39,
27,
40,
29,
0
]
],
"p": 2,
"objective": 129.0
},
"solution": {
"facilities": [
1,
3
],
"assignments": [
3,
1,
1,
3,
1,
3,
3
]
},
"obj": 129.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 2,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 47,
"C": 45,
"D": 12,
"E": 45,
"F": 37,
"G": 39
}
},
{
"id": "B",
"distances": {
"A": 47,
"B": 0,
"C": 37,
"D": 45,
"E": 20,
"F": 33,
"G": 38
}
},
{
"id": "C",
"distances": {
"A": 45,
"B": 37,
"C": 0,
"D": 41,
"E": 45,
"F": 23,
"G": 39
}
},
{
"id": "D",
"distances": {
"A": 12,
"B": 45,
"C": 41,
"D": 0,
"E": 41,
"F": 33,
"G": 27
}
},
{
"id": "E",
"distances": {
"A": 45,
"B": 20,
"C": 45,
"D": 41,
"E": 0,
"F": 38,
"G": 40
}
},
{
"id": "F",
"distances": {
"A": 37,
"B": 33,
"C": 23,
"D": 33,
"E": 38,
"F": 0,
"G": 29
}
},
{
"id": "G",
"distances": {
"A": 39,
"B": 38,
"C": 39,
"D": 27,
"E": 40,
"F": 29,
"G": 0
}
}
],
"objective": 129.0
},
"solution_variant": {
"selected": [
"B",
"D"
],
"assignments": [
"D",
"B",
"B",
"D",
"B",
"D",
"D"
]
},
"context_index": 17,
"input_format": "nl",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I manage the gear and trucks for a construction company, and the puzzle this week is picking a set number of yards to turn into equipment depots. Once those depots are chosen, every job site has to be assigned to oneβand only oneβof the open depots. The idea is simple: look at the distance from each site to the depot it's tied to, add up all those hauling distances, and try to make that grand total as small as possible. The exact candidate yards, the distances between places, and how many depots weβre allowed to open are listed below.\n\n{\n \"num_locations\": 7,\n \"num_depots_to_open\": 1,\n \"location_ids\": [\n \"A\",\n \"B\",\n \"C\",\n \"D\",\n \"E\",\n \"F\",\n \"G\"\n ],\n \"data\": [\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 42\n },\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 49\n },\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 97\n },\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 151\n },\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 157\n },\n {\n \"origin_location_id\": \"A\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 154\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 42\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 91\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 55\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 109\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 147\n },\n {\n \"origin_location_id\": \"B\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 134\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 49\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 91\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 133\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 139\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 194\n },\n {\n \"origin_location_id\": \"C\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 203\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 97\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 55\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 133\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 54\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 162\n },\n {\n \"origin_location_id\": \"D\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 182\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 151\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 109\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 139\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 54\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 139\n },\n {\n \"origin_location_id\": \"E\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 182\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 157\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 147\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 194\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 162\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 139\n },\n {\n \"origin_location_id\": \"F\",\n \"destination_location_id\": \"G\",\n \"haul_distance\": 211\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"A\",\n \"haul_distance\": 154\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"B\",\n \"haul_distance\": 134\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"C\",\n \"haul_distance\": 203\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"D\",\n \"haul_distance\": 182\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"E\",\n \"haul_distance\": 182\n },\n {\n \"origin_location_id\": \"G\",\n \"destination_location_id\": \"F\",\n \"haul_distance\": 211\n }\n ]\n}\n\nI'll keep the answer format simple so you can plug it into whatever tool or checklist you're using β here's the little JSON sketch I'd like the final reply to follow.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\n\"selected\" is where you list which yards you decide to open as depots. \"assignments\" is a parallel list that, for each candidate location in the same order as the input, names the open yard that location will use. Think of it like a short form: the first array says which yards are turned into depots, the second array ties every job site to one of those depots.\n\nThis JSON is just the shape I want the answer to take β a sketch, not the actual solution values.\n\nPlease remember: use the identifiers exactly as they appear in the instance input β do not rename them and do not invent any new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
42,
49,
97,
151,
157,
154
],
[
42,
0,
91,
55,
109,
147,
134
],
[
49,
91,
0,
133,
139,
194,
203
],
[
97,
55,
133,
0,
54,
162,
182
],
[
151,
109,
139,
54,
0,
139,
182
],
[
157,
147,
194,
162,
139,
0,
211
],
[
154,
134,
203,
182,
182,
211,
0
]
],
"p": 1,
"objective": 578.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1,
1,
1
]
},
"obj": 578.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 42,
"C": 49,
"D": 97,
"E": 151,
"F": 157,
"G": 154
}
},
{
"id": "B",
"distances": {
"A": 42,
"B": 0,
"C": 91,
"D": 55,
"E": 109,
"F": 147,
"G": 134
}
},
{
"id": "C",
"distances": {
"A": 49,
"B": 91,
"C": 0,
"D": 133,
"E": 139,
"F": 194,
"G": 203
}
},
{
"id": "D",
"distances": {
"A": 97,
"B": 55,
"C": 133,
"D": 0,
"E": 54,
"F": 162,
"G": 182
}
},
{
"id": "E",
"distances": {
"A": 151,
"B": 109,
"C": 139,
"D": 54,
"E": 0,
"F": 139,
"G": 182
}
},
{
"id": "F",
"distances": {
"A": 157,
"B": 147,
"C": 194,
"D": 162,
"E": 139,
"F": 0,
"G": 211
}
},
{
"id": "G",
"distances": {
"A": 154,
"B": 134,
"C": 203,
"D": 182,
"E": 182,
"F": 211,
"G": 0
}
}
],
"objective": 578.0
},
"solution_variant": {
"selected": [
"B"
],
"assignments": [
"B",
"B",
"B",
"B",
"B",
"B",
"B"
]
},
"context_index": 18,
"input_format": "json",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Picture this: a map of neighborhoods and potential store windows, and a limit on how many popβups can actually be opened. The task is to decide which storefronts to activate and which single open space each artist neighborhood will go to β every neighborhood must be assigned to exactly one chosen storefront, with no overlaps or gaps. The winning setup is the one that keeps visitorsβ journeys short overall β for each neighborhood note the distance to its assigned popβup, add all those distances together, and choose the plan with the lowest sum. The detailed data appears below.\n\n# num_candidate_locations=5\n# num_popups_to_open=2\n# location_ids=1, 2, 3, 4, 5\nfrom_location_id,to_location_id,travel_distance_between_locations\n1,2,33\n1,3,27\n1,4,31\n1,5,29\n2,1,33\n2,3,30\n2,4,40\n2,5,13\n3,1,27\n3,2,30\n3,4,29\n3,5,32\n4,1,31\n4,2,40\n4,3,29\n4,5,29\n5,1,29\n5,2,13\n5,3,32\n5,4,29\n\nYou can just return the plan using a tiny JSON snippet like this β nothing fancy, just that shape so itβs easy to read and check.\n\n{\n \"solution\": {\n \"selected\": [<storefront_to_open>, <storefront_to_open>, ...],\n \"assignments\": [<assigned_storefront>, <assigned_storefront>, ...]\n }\n}\n\n\"selected\" is the list of storefronts you decide to open. \"assignments\" lists, for each neighborhood in the input (in the same order), which opened storefront that neighborhood will go to. Super casual: think of \"selected\" as the open popβups and \"assignments\" as each neighborhoodβs chosen window.\n\nThis JSON is just the shape I need β not the real answer itself. Please make sure you use the exact identifiers from the instance input with no renaming and no invented labels. Valid identifiers look like:\n- plain numbers such as β1β or β23β\n- single capital letters like βAβ or βBβ\n- a capital letter followed by digits like βA1β or βX7β",
"instance": {
"distance_matrix": [
[
0,
33,
27,
31,
29
],
[
33,
0,
30,
40,
13
],
[
27,
30,
0,
29,
32
],
[
31,
40,
29,
0,
29
],
[
29,
13,
32,
29,
0
]
],
"p": 2,
"objective": 69.0
},
"solution": {
"facilities": [
2,
4
],
"assignments": [
2,
4,
2,
2,
4
]
},
"obj": 69.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 2,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 33,
"3": 27,
"4": 31,
"5": 29
}
},
{
"id": 2,
"distances": {
"1": 33,
"2": 0,
"3": 30,
"4": 40,
"5": 13
}
},
{
"id": 3,
"distances": {
"1": 27,
"2": 30,
"3": 0,
"4": 29,
"5": 32
}
},
{
"id": 4,
"distances": {
"1": 31,
"2": 40,
"3": 29,
"4": 0,
"5": 29
}
},
{
"id": 5,
"distances": {
"1": 29,
"2": 13,
"3": 32,
"4": 29,
"5": 0
}
}
],
"objective": 69.0
},
"solution_variant": {
"selected": [
3,
5
],
"assignments": [
3,
5,
3,
3,
5
]
},
"context_index": 19,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "We need to decide where to put a set number of health posts and which village goes to which post so folks donβt travel farther than necessary. Pick exactly the number of clinics allowed, and then give each village oneβand only oneβclinic to use; nothing is left unassigned and nothing is doubled up. What makes one arrangement better than another is simply the total distance everyone has to travel: compute it by summing each villageβs trip to its assigned clinic, and aim for that sum to be as small as possible. The specific villages, possible locations, pairwise distances, and the allowed clinic count are listed below.\n\nWe have 7 villages (1, 2, 3, 4, 5, 6, 7) and must open exactly 1 clinics.\nFrom 1 to 2, trip distance is 85.\nFrom 1 to 3, trip distance is 55.\nFrom 1 to 4, trip distance is 97.\nFrom 1 to 5, trip distance is 63.\nFrom 1 to 6, trip distance is 76.\nFrom 1 to 7, trip distance is 100.\nFrom 2 to 1, trip distance is 85.\nFrom 2 to 3, trip distance is 62.\nFrom 2 to 4, trip distance is 112.\nFrom 2 to 5, trip distance is 44.\nFrom 2 to 6, trip distance is 71.\nFrom 2 to 7, trip distance is 94.\nFrom 3 to 1, trip distance is 55.\nFrom 3 to 2, trip distance is 62.\nFrom 3 to 4, trip distance is 86.\nFrom 3 to 5, trip distance is 68.\nFrom 3 to 6, trip distance is 66.\nFrom 3 to 7, trip distance is 83.\nFrom 4 to 1, trip distance is 97.\nFrom 4 to 2, trip distance is 112.\nFrom 4 to 3, trip distance is 86.\nFrom 4 to 5, trip distance is 68.\nFrom 4 to 6, trip distance is 55.\nFrom 4 to 7, trip distance is 85.\nFrom 5 to 1, trip distance is 63.\nFrom 5 to 2, trip distance is 44.\nFrom 5 to 3, trip distance is 68.\nFrom 5 to 4, trip distance is 68.\nFrom 5 to 6, trip distance is 27.\nFrom 5 to 7, trip distance is 71.\nFrom 6 to 1, trip distance is 76.\nFrom 6 to 2, trip distance is 71.\nFrom 6 to 3, trip distance is 66.\nFrom 6 to 4, trip distance is 55.\nFrom 6 to 5, trip distance is 27.\nFrom 6 to 7, trip distance is 69.\nFrom 7 to 1, trip distance is 100.\nFrom 7 to 2, trip distance is 94.\nFrom 7 to 3, trip distance is 83.\nFrom 7 to 4, trip distance is 85.\nFrom 7 to 5, trip distance is 71.\nFrom 7 to 6, trip distance is 69.\nUse these distances to sum each villageβs trip and choose the 1 clinic locations that minimize total travel.\n\nOh, and to keep things tidy, please give your answer using this simple JSON layout so it's easy to read and use:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\n\"selected\" is just the list of clinics you choose to open. \"assignments\" is a list that says which clinic each village will use (in the same order the villages were listed). This is just a sketch of the shape I expect β not the actual solution.\n\nPlease make sure you use the exact identifiers from the instance input with no renaming and no new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β\".",
"instance": {
"distance_matrix": [
[
0,
85,
55,
97,
63,
76,
100
],
[
85,
0,
62,
112,
44,
71,
94
],
[
55,
62,
0,
86,
68,
66,
83
],
[
97,
112,
86,
0,
68,
55,
85
],
[
63,
44,
68,
68,
0,
27,
71
],
[
76,
71,
66,
55,
27,
0,
69
],
[
100,
94,
83,
85,
71,
69,
0
]
],
"p": 1,
"objective": 341.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"obj": 341.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 85,
"3": 55,
"4": 97,
"5": 63,
"6": 76,
"7": 100
}
},
{
"id": 2,
"distances": {
"1": 85,
"2": 0,
"3": 62,
"4": 112,
"5": 44,
"6": 71,
"7": 94
}
},
{
"id": 3,
"distances": {
"1": 55,
"2": 62,
"3": 0,
"4": 86,
"5": 68,
"6": 66,
"7": 83
}
},
{
"id": 4,
"distances": {
"1": 97,
"2": 112,
"3": 86,
"4": 0,
"5": 68,
"6": 55,
"7": 85
}
},
{
"id": 5,
"distances": {
"1": 63,
"2": 44,
"3": 68,
"4": 68,
"5": 0,
"6": 27,
"7": 71
}
},
{
"id": 6,
"distances": {
"1": 76,
"2": 71,
"3": 66,
"4": 55,
"5": 27,
"6": 0,
"7": 69
}
},
{
"id": 7,
"distances": {
"1": 100,
"2": 94,
"3": 83,
"4": 85,
"5": 71,
"6": 69,
"7": 0
}
}
],
"objective": 341.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5,
5
]
},
"context_index": 20,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone in charge of the chain has to choose a limited set of stores to keep running and then assign each customer zone to a single one of those stores. Each zone gets one, and only one, assigned store β nothing gets skipped or duplicated. The way to measure success is to add together the distance from each zone to its chosen store; the smaller that grand total, the better the decision. See the detailed instance information below.\n\n# total_locations=6\n# stores_to_keep_open=2\n# location_ids=1, 2, 3, 4, 5, 6\norigin_location_id,destination_location_id,travel_distance\n1,2,53\n1,3,43\n1,4,35\n1,5,48\n1,6,48\n2,1,53\n2,3,25\n2,4,33\n2,5,28\n2,6,40\n3,1,43\n3,2,25\n3,4,20\n3,5,26\n3,6,25\n4,1,35\n4,2,33\n4,3,20\n4,5,29\n4,6,25\n5,1,48\n5,2,28\n5,3,26\n5,4,29\n5,6,37\n6,1,48\n6,2,40\n6,3,25\n6,4,25\n6,5,37\n\nOh, and when you send the solution back, just stick to this simple JSON shape so it's easy to parse:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<site_assigned>, <site_assigned>, ...]\n }\n}\n\nThink of \"selected\" as the list of store locations you decide to keep open, and \"assignments\" as, for each customer zone (in the same order as the input), which opened store that zone is assigned to. Super casual β it's just a form to fill, not the real answer yet.\n\nPlease use the exact identifiers from the instance input when you fill those placeholders β don't invent new labels or rename them. \n\n\"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
53,
43,
35,
48,
48
],
[
53,
0,
25,
33,
28,
40
],
[
43,
25,
0,
20,
26,
25
],
[
35,
33,
20,
0,
29,
25
],
[
48,
28,
26,
29,
0,
37
],
[
48,
40,
25,
25,
37,
0
]
],
"p": 2,
"objective": 96.0
},
"solution": {
"facilities": [
0,
2
],
"assignments": [
0,
2,
2,
2,
2,
2
]
},
"obj": 96.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 2,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 53,
"3": 43,
"4": 35,
"5": 48,
"6": 48
}
},
{
"id": 2,
"distances": {
"1": 53,
"2": 0,
"3": 25,
"4": 33,
"5": 28,
"6": 40
}
},
{
"id": 3,
"distances": {
"1": 43,
"2": 25,
"3": 0,
"4": 20,
"5": 26,
"6": 25
}
},
{
"id": 4,
"distances": {
"1": 35,
"2": 33,
"3": 20,
"4": 0,
"5": 29,
"6": 25
}
},
{
"id": 5,
"distances": {
"1": 48,
"2": 28,
"3": 26,
"4": 29,
"5": 0,
"6": 37
}
},
{
"id": 6,
"distances": {
"1": 48,
"2": 40,
"3": 25,
"4": 25,
"5": 37,
"6": 0
}
}
],
"objective": 96.0
},
"solution_variant": {
"selected": [
1,
3
],
"assignments": [
1,
3,
3,
3,
3,
3
]
},
"context_index": 21,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I was handling the school bus plan for a neighborhood: pick a fixed number of pickup spots from a bunch of possible corners, then tell every home which stop they should use. The trick is to make those choices so kids travel as little as possible overall β add up the distance from each house to its assigned stop, and the plan with the smallest total distance wins. Nobody can be skipped or sent to two different stops: each address gets exactly one assigned pickup. The exact list of addresses, candidate stops, and distances are shown below.\n\n# total_candidate_locations=7\n# pickup_points_to_open=1\n# location_ids=1, 2, 3, 4, 5, 6, 7\nsource_location_id,destination_location_id,walking_distance\n1,2,38\n1,3,45\n1,4,38\n1,5,48\n1,6,43\n1,7,41\n2,1,38\n2,3,23\n2,4,32\n2,5,35\n2,6,28\n2,7,19\n3,1,45\n3,2,23\n3,4,39\n3,5,39\n3,6,29\n3,7,20\n4,1,38\n4,2,32\n4,3,39\n4,5,37\n4,6,40\n4,7,35\n5,1,48\n5,2,35\n5,3,39\n5,4,37\n5,6,29\n5,7,33\n6,1,43\n6,2,28\n6,3,29\n6,4,40\n6,5,29\n6,7,25\n7,1,41\n7,2,19\n7,3,20\n7,4,35\n7,5,33\n7,6,25\n\nIf you want to send the plan back in a machine-friendly way, a little JSON sketch like this is handy:\n\n{\n \"solution\": {\n \"selected\": [<stop_to_open>, <stop_to_open>, ...],\n \"assignments\": [<assigned_stop>, <assigned_stop>, ...]\n }\n}\n\n\"selected\" is the list of corners we actually open as pickup stops. \"assignments\" is one entry per home (in the same order as the instance), showing which opened stop that home should use. Super informal: think of \"selected\" as the chosen stops and \"assignments\" as the form you'd fill out to say which stop each house goes to.\n\nThis JSON is just a sketch of the shape I expect, not the actual answer.\n\nPlease use the exact identifiers from the instance input β no renaming and no new labels. \nValid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
38,
45,
38,
48,
43,
41
],
[
38,
0,
23,
32,
35,
28,
19
],
[
45,
23,
0,
39,
39,
29,
20
],
[
38,
32,
39,
0,
37,
40,
35
],
[
48,
35,
39,
37,
0,
29,
33
],
[
43,
28,
29,
40,
29,
0,
25
],
[
41,
19,
20,
35,
33,
25,
0
]
],
"p": 1,
"objective": 173.0
},
"solution": {
"facilities": [
6
],
"assignments": [
6,
6,
6,
6,
6,
6,
6
]
},
"obj": 173.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 38,
"3": 45,
"4": 38,
"5": 48,
"6": 43,
"7": 41
}
},
{
"id": 2,
"distances": {
"1": 38,
"2": 0,
"3": 23,
"4": 32,
"5": 35,
"6": 28,
"7": 19
}
},
{
"id": 3,
"distances": {
"1": 45,
"2": 23,
"3": 0,
"4": 39,
"5": 39,
"6": 29,
"7": 20
}
},
{
"id": 4,
"distances": {
"1": 38,
"2": 32,
"3": 39,
"4": 0,
"5": 37,
"6": 40,
"7": 35
}
},
{
"id": 5,
"distances": {
"1": 48,
"2": 35,
"3": 39,
"4": 37,
"5": 0,
"6": 29,
"7": 33
}
},
{
"id": 6,
"distances": {
"1": 43,
"2": 28,
"3": 29,
"4": 40,
"5": 29,
"6": 0,
"7": 25
}
},
{
"id": 7,
"distances": {
"1": 41,
"2": 19,
"3": 20,
"4": 35,
"5": 33,
"6": 25,
"7": 0
}
}
],
"objective": 173.0
},
"solution_variant": {
"selected": [
7
],
"assignments": [
7,
7,
7,
7,
7,
7,
7
]
},
"context_index": 22,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Thereβs a small puzzle in the library budget: pick a set number of branches to run and then attach every neighborhood to one of those branches. Every neighborhood has to belong to exactly one branch, and the winning setup is the one that keeps the total travel distance for everyone as low as possible. Practically, you measure that by summing the distance from each neighborhood to its assigned branch β smaller totals mean a better fit. The concrete locations and distances are laid out below.\n\n{\n \"num_neighborhoods\": 7,\n \"num_branches_to_open\": 1,\n \"neighborhood_ids\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ],\n \"data\": [\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 25\n },\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 29\n },\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 41\n },\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 1,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 39\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 25\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 36\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 24\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 54\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 52\n },\n {\n \"origin_neighborhood_id\": 2,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 38\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 29\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 36\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 27\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 58\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 59\n },\n {\n \"origin_neighborhood_id\": 3,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 52\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 41\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 24\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 27\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 53\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 70\n },\n {\n \"origin_neighborhood_id\": 4,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 54\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 58\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 53\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 77\n },\n {\n \"origin_neighborhood_id\": 5,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 61\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 52\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 59\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 70\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 77\n },\n {\n \"origin_neighborhood_id\": 6,\n \"destination_neighborhood_id\": 7,\n \"travel_distance\": 65\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 1,\n \"travel_distance\": 39\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 2,\n \"travel_distance\": 38\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 3,\n \"travel_distance\": 52\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 4,\n \"travel_distance\": 49\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 5,\n \"travel_distance\": 61\n },\n {\n \"origin_neighborhood_id\": 7,\n \"destination_neighborhood_id\": 6,\n \"travel_distance\": 65\n }\n ]\n}\n\nAlso, please send the answer using this simple JSON layout so I can read it easily:\n\n{\n \"solution\": {\n \"selected\": [<branch_to_open>, <branch_to_open>, ...],\n \"assignments\": [<assigned_branch>, <assigned_branch>, ...]\n }\n}\n\n\"selected\" is just the list of branches you decide to keep open (the branch IDs). \"assignments\" is a parallel list that says, for each neighborhood in the instance (in the same order), which open branch that neighborhood is attached to. Think of it like filling out a short form: which branches are run, and then for every neighborhood which branch it goes to.\n\nThis JSON is only a sketch of the expected shape β don't treat the placeholders as the real solution. Make sure you use the exact identifiers from the instance input with no renaming or invented labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
25,
29,
41,
49,
49,
39
],
[
25,
0,
36,
24,
54,
52,
38
],
[
29,
36,
0,
27,
58,
59,
52
],
[
41,
24,
27,
0,
53,
70,
49
],
[
49,
54,
58,
53,
0,
77,
61
],
[
49,
52,
59,
70,
77,
0,
65
],
[
39,
38,
52,
49,
61,
65,
0
]
],
"p": 1,
"objective": 229.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1,
1,
1
]
},
"obj": 229.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 25,
"3": 29,
"4": 41,
"5": 49,
"6": 49,
"7": 39
}
},
{
"id": 2,
"distances": {
"1": 25,
"2": 0,
"3": 36,
"4": 24,
"5": 54,
"6": 52,
"7": 38
}
},
{
"id": 3,
"distances": {
"1": 29,
"2": 36,
"3": 0,
"4": 27,
"5": 58,
"6": 59,
"7": 52
}
},
{
"id": 4,
"distances": {
"1": 41,
"2": 24,
"3": 27,
"4": 0,
"5": 53,
"6": 70,
"7": 49
}
},
{
"id": 5,
"distances": {
"1": 49,
"2": 54,
"3": 58,
"4": 53,
"5": 0,
"6": 77,
"7": 61
}
},
{
"id": 6,
"distances": {
"1": 49,
"2": 52,
"3": 59,
"4": 70,
"5": 77,
"6": 0,
"7": 65
}
},
{
"id": 7,
"distances": {
"1": 39,
"2": 38,
"3": 52,
"4": 49,
"5": 61,
"6": 65,
"7": 0
}
}
],
"objective": 229.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2,
2,
2
]
},
"context_index": 23,
"input_format": "json",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "There's a plan to place a limited number of dropoff kiosks and organize the neighborhood so every street segment feeds into one of those kiosks. The decision is simply which locations to open, and success is judged by how small the total hauling distance becomes β calculated by adding together the distance from each street segment to the kiosk it uses. Every street segment must be routed to exactly one open kiosk, with none skipped or doubled up. The detailed list of candidate sites and distances is shown below.\n\nIt lists 5 candidate locations A, B, C, D, E, and specifies the fixed number 1 of kiosks to open.\nOrigin A β destination B, haul distance 123.\nOrigin A β destination C, haul distance 177.\nOrigin A β destination D, haul distance 206.\nOrigin A β destination E, haul distance 117.\nOrigin B β destination A, haul distance 123.\nOrigin B β destination C, haul distance 115.\nOrigin B β destination D, haul distance 135.\nOrigin B β destination E, haul distance 187.\nOrigin C β destination A, haul distance 177.\nOrigin C β destination B, haul distance 115.\nOrigin C β destination D, haul distance 78.\nOrigin C β destination E, haul distance 172.\nOrigin D β destination A, haul distance 206.\nOrigin D β destination B, haul distance 135.\nOrigin D β destination C, haul distance 78.\nOrigin D β destination E, haul distance 155.\nOrigin E β destination A, haul distance 117.\nOrigin E β destination B, haul distance 187.\nOrigin E β destination C, haul distance 172.\nOrigin E β destination D, haul distance 155.\nTreat each record below as the hauling cost for assigning that origin to that destination; use these 5 locations and the 1 kiosk limit to evaluate total hauling distance.\n\nOh, and when you send the answer back, just put it in this simple JSON shape so I can read it automatically β nothing fancy, just a small object with which sites you opened and where every street segment goes:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\nThis is just a sketch of the shape I need: \"selected\" is the list of kiosk sites you decide to open, and \"assignments\" lists, for every street segment (in the same order as they appear in the instance), which opened site it uses. Keep it light and exact β that JSON is the form, not the final content.\n\nPlease make sure all identifiers you put in those lists are used exactly as they appear in the instance input β no renaming, no made-up labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
123,
177,
206,
117
],
[
123,
0,
115,
135,
187
],
[
177,
115,
0,
78,
172
],
[
206,
135,
78,
0,
155
],
[
117,
187,
172,
155,
0
]
],
"p": 1,
"objective": 542.0
},
"solution": {
"facilities": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"obj": 542.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 123,
"C": 177,
"D": 206,
"E": 117
}
},
{
"id": "B",
"distances": {
"A": 123,
"B": 0,
"C": 115,
"D": 135,
"E": 187
}
},
{
"id": "C",
"distances": {
"A": 177,
"B": 115,
"C": 0,
"D": 78,
"E": 172
}
},
{
"id": "D",
"distances": {
"A": 206,
"B": 135,
"C": 78,
"D": 0,
"E": 155
}
},
{
"id": "E",
"distances": {
"A": 117,
"B": 187,
"C": 172,
"D": 155,
"E": 0
}
}
],
"objective": 542.0
},
"solution_variant": {
"selected": [
"C"
],
"assignments": [
"C",
"C",
"C",
"C",
"C"
]
},
"context_index": 24,
"input_format": "nl",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone in charge of campus housing needs to pick a limited number of service locations and then assign each dorm to exactly one of those locations, with the goal that the total distance students travel for services β obtained by totaling each dormβs trip to its center β is as low as possible. Itβs important that no dorm is left unassigned or assigned to more than one center. The specific instance details are shown below.\n\n{\n \"total_dormitories\": 6,\n \"service_centers_to_open\": 1,\n \"dormitory_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"origin_dorm_id\": 0,\n \"destination_dorm_id\": 1,\n \"travel_distance\": 35\n },\n {\n \"origin_dorm_id\": 0,\n \"destination_dorm_id\": 2,\n \"travel_distance\": 54\n },\n {\n \"origin_dorm_id\": 0,\n \"destination_dorm_id\": 3,\n \"travel_distance\": 50\n },\n {\n \"origin_dorm_id\": 0,\n \"destination_dorm_id\": 4,\n \"travel_distance\": 46\n },\n {\n \"origin_dorm_id\": 0,\n \"destination_dorm_id\": 5,\n \"travel_distance\": 34\n },\n {\n \"origin_dorm_id\": 1,\n \"destination_dorm_id\": 0,\n \"travel_distance\": 35\n },\n {\n \"origin_dorm_id\": 1,\n \"destination_dorm_id\": 2,\n \"travel_distance\": 49\n },\n {\n \"origin_dorm_id\": 1,\n \"destination_dorm_id\": 3,\n \"travel_distance\": 53\n },\n {\n \"origin_dorm_id\": 1,\n \"destination_dorm_id\": 4,\n \"travel_distance\": 46\n },\n {\n \"origin_dorm_id\": 1,\n \"destination_dorm_id\": 5,\n \"travel_distance\": 42\n },\n {\n \"origin_dorm_id\": 2,\n \"destination_dorm_id\": 0,\n \"travel_distance\": 54\n },\n {\n \"origin_dorm_id\": 2,\n \"destination_dorm_id\": 1,\n \"travel_distance\": 49\n },\n {\n \"origin_dorm_id\": 2,\n \"destination_dorm_id\": 3,\n \"travel_distance\": 38\n },\n {\n \"origin_dorm_id\": 2,\n \"destination_dorm_id\": 4,\n \"travel_distance\": 51\n },\n {\n \"origin_dorm_id\": 2,\n \"destination_dorm_id\": 5,\n \"travel_distance\": 30\n },\n {\n \"origin_dorm_id\": 3,\n \"destination_dorm_id\": 0,\n \"travel_distance\": 50\n },\n {\n \"origin_dorm_id\": 3,\n \"destination_dorm_id\": 1,\n \"travel_distance\": 53\n },\n {\n \"origin_dorm_id\": 3,\n \"destination_dorm_id\": 2,\n \"travel_distance\": 38\n },\n {\n \"origin_dorm_id\": 3,\n \"destination_dorm_id\": 4,\n \"travel_distance\": 56\n },\n {\n \"origin_dorm_id\": 3,\n \"destination_dorm_id\": 5,\n \"travel_distance\": 24\n },\n {\n \"origin_dorm_id\": 4,\n \"destination_dorm_id\": 0,\n \"travel_distance\": 46\n },\n {\n \"origin_dorm_id\": 4,\n \"destination_dorm_id\": 1,\n \"travel_distance\": 46\n },\n {\n \"origin_dorm_id\": 4,\n \"destination_dorm_id\": 2,\n \"travel_distance\": 51\n },\n {\n \"origin_dorm_id\": 4,\n \"destination_dorm_id\": 3,\n \"travel_distance\": 56\n },\n {\n \"origin_dorm_id\": 4,\n \"destination_dorm_id\": 5,\n \"travel_distance\": 44\n },\n {\n \"origin_dorm_id\": 5,\n \"destination_dorm_id\": 0,\n \"travel_distance\": 34\n },\n {\n \"origin_dorm_id\": 5,\n \"destination_dorm_id\": 1,\n \"travel_distance\": 42\n },\n {\n \"origin_dorm_id\": 5,\n \"destination_dorm_id\": 2,\n \"travel_distance\": 30\n },\n {\n \"origin_dorm_id\": 5,\n \"destination_dorm_id\": 3,\n \"travel_distance\": 24\n },\n {\n \"origin_dorm_id\": 5,\n \"destination_dorm_id\": 4,\n \"travel_distance\": 44\n }\n ]\n}\n\nOh, and when you send the answer back, keep it in this simple JSON shape so I can read it automatically:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nJust to explain, real quick: \"selected\" is where you list the locations you decide to open, and \"assignments\" lists, for each dorm (in the same order as the input), which open location that dorm is assigned to. Think of it like filling out a short form β which centers are open, and which center each dorm goes to. This block is just a sketch of the shape I need, not the actual solution.\n\nPlease use the exact identifiers from the instance input β donβt rename them or make up new labels. Valid identifiers look like:\n- plain numbers such as β1β or β23β\n- single capital letters like βAβ or βBβ\n- a capital letter followed by digits like βA1β or βX7β",
"instance": {
"distance_matrix": [
[
0,
35,
54,
50,
46,
34
],
[
35,
0,
49,
53,
46,
42
],
[
54,
49,
0,
38,
51,
30
],
[
50,
53,
38,
0,
56,
24
],
[
46,
46,
51,
56,
0,
44
],
[
34,
42,
30,
24,
44,
0
]
],
"p": 1,
"objective": 174.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"obj": 174.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 35,
"2": 54,
"3": 50,
"4": 46,
"5": 34
}
},
{
"id": 1,
"distances": {
"0": 35,
"1": 0,
"2": 49,
"3": 53,
"4": 46,
"5": 42
}
},
{
"id": 2,
"distances": {
"0": 54,
"1": 49,
"2": 0,
"3": 38,
"4": 51,
"5": 30
}
},
{
"id": 3,
"distances": {
"0": 50,
"1": 53,
"2": 38,
"3": 0,
"4": 56,
"5": 24
}
},
{
"id": 4,
"distances": {
"0": 46,
"1": 46,
"2": 51,
"3": 56,
"4": 0,
"5": 44
}
},
{
"id": 5,
"distances": {
"0": 34,
"1": 42,
"2": 30,
"3": 24,
"4": 44,
"5": 0
}
}
],
"objective": 174.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"context_index": 25,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I run the small team that plans pickup points for a courier company, and the job is to pick a fixed number of hubs from a list of candidate spots and then link every delivery sector to one of those hubs. The idea is to keep the total driving as low as possible: for each sector, take the distance to the hub it's assigned to, add all those distances up, and the better plan is the one with the smallest total. Every sector has to be assigned to exactly one hub β no sector can be left out or be tied to two hubs. The exact list of candidate locations, sectors, and the distances between them are shown below.\n\n# total_candidate_locations=6\n# hubs_to_open=1\n# location_identifiers=1, 2, 3, 4, 5, 6\norigin_location_id,target_location_id,travel_distance_between_locations\n1,2,45\n1,3,145\n1,4,172\n1,5,140\n1,6,253\n2,1,45\n2,3,147\n2,4,147\n2,5,127\n2,6,208\n3,1,145\n3,2,147\n3,4,139\n3,5,142\n3,6,269\n4,1,172\n4,2,147\n4,3,139\n4,5,98\n4,6,207\n5,1,140\n5,2,127\n5,3,142\n5,4,98\n5,6,180\n6,1,253\n6,2,208\n6,3,269\n6,4,207\n6,5,180\n\nAlso, when you send back a plan, please use this simple JSON layout so I can parse it easily β nothing fancy, just the shape below.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<site_assigned>, <site_assigned>, ...]\n }\n}\n\n\"selected\" is just the list of hubs you choose to open. \"assignments\" is a list that, in the same order as the sectors in the input, says which opened hub each sector is linked to. Think of it like filling out a form: pick which spots are open, then for each sector write the open spot it's assigned to.\n\nThis JSON is only a sketch of the expected shape β not the actual answer. Also, all identifiers must be used exactly as they appear in the instance input β do not rename them or invent new labels.\n\n- Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
45,
145,
172,
140,
253
],
[
45,
0,
147,
147,
127,
208
],
[
145,
147,
0,
139,
142,
269
],
[
172,
147,
139,
0,
98,
207
],
[
140,
127,
142,
98,
0,
180
],
[
253,
208,
269,
207,
180,
0
]
],
"p": 1,
"objective": 674.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1,
1
]
},
"obj": 674.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 45,
"3": 145,
"4": 172,
"5": 140,
"6": 253
}
},
{
"id": 2,
"distances": {
"1": 45,
"2": 0,
"3": 147,
"4": 147,
"5": 127,
"6": 208
}
},
{
"id": 3,
"distances": {
"1": 145,
"2": 147,
"3": 0,
"4": 139,
"5": 142,
"6": 269
}
},
{
"id": 4,
"distances": {
"1": 172,
"2": 147,
"3": 139,
"4": 0,
"5": 98,
"6": 207
}
},
{
"id": 5,
"distances": {
"1": 140,
"2": 127,
"3": 142,
"4": 98,
"5": 0,
"6": 180
}
},
{
"id": 6,
"distances": {
"1": 253,
"2": 208,
"3": 269,
"4": 207,
"5": 180,
"6": 0
}
}
],
"objective": 674.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2,
2
]
},
"context_index": 26,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I run the little farmerβs market and need to pick a fixed number of support tents to set up around the stalls. Each vendor has to be linked to oneβand only oneβof those tents, and the better setup is the one where, if you add up how far every vendor has to walk to their assigned tent, that total is as small as possible. No vendor can be left without a tent or assigned to two tents. The concrete list of stall spots and the distances between them will be shown below.\n\n# num_stalls=8\n# num_tents_to_open=1\n# stall_ids=A, B, C, D, E, F, G, H\nsource_stall_id,target_stall_id,walking_distance\nA,B,53\nA,C,88\nA,D,64\nA,E,41\nA,F,71\nA,G,51\nA,H,55\nB,A,53\nB,C,71\nB,D,39\nB,E,40\nB,F,26\nB,G,38\nB,H,52\nC,A,88\nC,B,71\nC,D,54\nC,E,55\nC,F,57\nC,G,37\nC,H,49\nD,A,64\nD,B,39\nD,C,54\nD,E,23\nD,F,57\nD,G,46\nD,H,37\nE,A,41\nE,B,40\nE,C,55\nE,D,23\nE,F,39\nE,G,26\nE,H,14\nF,A,71\nF,B,26\nF,C,57\nF,D,57\nF,E,39\nF,G,50\nF,H,42\nG,A,51\nG,B,38\nG,C,37\nG,D,46\nG,E,26\nG,F,50\nG,H,32\nH,A,55\nH,B,52\nH,C,49\nH,D,37\nH,E,14\nH,F,42\nH,G,32\n\nOh, and when you send the answer back, please stick to this JSON layout so it's easy to read and parse:\n\n{\n \"solution\": {\n \"selected\": [<tent_to_open>, <tent_to_open>, ...],\n \"assignments\": [<assigned_tent>, <assigned_tent>, ...]\n }\n}\n\n\"selected\" is where you list which tent spots you'll actually set up. \"assignments\" is a one-to-one list (in the same order as the stall spots in the instance) saying which tent each vendor is linked to. Super informal sketch β this is the shape I need, not the final picks.\n\nQuick reminder: use the exact identifiers from the instance input β do not rename them or invent new ones. Valid identifiers look like:\n- plain numbers such as \"1\" or \"23\"\n- single capital letters like \"A\" or \"B\"\n- a capital letter followed by digits like \"A1\" or \"X7\"",
"instance": {
"distance_matrix": [
[
0,
53,
88,
64,
41,
71,
51,
55
],
[
53,
0,
71,
39,
40,
26,
38,
52
],
[
88,
71,
0,
54,
55,
57,
37,
49
],
[
64,
39,
54,
0,
23,
57,
46,
37
],
[
41,
40,
55,
23,
0,
39,
26,
14
],
[
71,
26,
57,
57,
39,
0,
50,
42
],
[
51,
38,
37,
46,
26,
50,
0,
32
],
[
55,
52,
49,
37,
14,
42,
32,
0
]
],
"p": 1,
"objective": 238.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4,
4
]
},
"obj": 238.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 53,
"C": 88,
"D": 64,
"E": 41,
"F": 71,
"G": 51,
"H": 55
}
},
{
"id": "B",
"distances": {
"A": 53,
"B": 0,
"C": 71,
"D": 39,
"E": 40,
"F": 26,
"G": 38,
"H": 52
}
},
{
"id": "C",
"distances": {
"A": 88,
"B": 71,
"C": 0,
"D": 54,
"E": 55,
"F": 57,
"G": 37,
"H": 49
}
},
{
"id": "D",
"distances": {
"A": 64,
"B": 39,
"C": 54,
"D": 0,
"E": 23,
"F": 57,
"G": 46,
"H": 37
}
},
{
"id": "E",
"distances": {
"A": 41,
"B": 40,
"C": 55,
"D": 23,
"E": 0,
"F": 39,
"G": 26,
"H": 14
}
},
{
"id": "F",
"distances": {
"A": 71,
"B": 26,
"C": 57,
"D": 57,
"E": 39,
"F": 0,
"G": 50,
"H": 42
}
},
{
"id": "G",
"distances": {
"A": 51,
"B": 38,
"C": 37,
"D": 46,
"E": 26,
"F": 50,
"G": 0,
"H": 32
}
},
{
"id": "H",
"distances": {
"A": 55,
"B": 52,
"C": 49,
"D": 37,
"E": 14,
"F": 42,
"G": 32,
"H": 0
}
}
],
"objective": 238.0
},
"solution_variant": {
"selected": [
"E"
],
"assignments": [
"E",
"E",
"E",
"E",
"E",
"E",
"E",
"E"
]
},
"context_index": 27,
"input_format": "csv",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many people are waiting for supplies, so the plan is to pick a set number of distribution centers and link each neighborhood to one center for pickups. Nothing can be left unassigned and no neighborhood should be assigned to more than one center, and the aim is to minimize how far people in total must go. You judge each plan by summing up the distance from every neighborhood to its chosen center β the smallest sum means the least overall travel. The precise neighborhood list, candidate centers, and distances are shown below.\n\nThere are 5 candidate locations listed as 1, 2, 3, 4, 5, and exactly 1 centers must be opened.\nFrom neighborhood 1 to candidate center 2 the travel distance is 66.\nFrom neighborhood 1 to candidate center 3 the travel distance is 52.\nFrom neighborhood 1 to candidate center 4 the travel distance is 39.\nFrom neighborhood 1 to candidate center 5 the travel distance is 39.\nFrom neighborhood 2 to candidate center 1 the travel distance is 66.\nFrom neighborhood 2 to candidate center 3 the travel distance is 68.\nFrom neighborhood 2 to candidate center 4 the travel distance is 41.\nFrom neighborhood 2 to candidate center 5 the travel distance is 37.\nFrom neighborhood 3 to candidate center 1 the travel distance is 52.\nFrom neighborhood 3 to candidate center 2 the travel distance is 68.\nFrom neighborhood 3 to candidate center 4 the travel distance is 54.\nFrom neighborhood 3 to candidate center 5 the travel distance is 74.\nFrom neighborhood 4 to candidate center 1 the travel distance is 39.\nFrom neighborhood 4 to candidate center 2 the travel distance is 41.\nFrom neighborhood 4 to candidate center 3 the travel distance is 54.\nFrom neighborhood 4 to candidate center 5 the travel distance is 29.\nFrom neighborhood 5 to candidate center 1 the travel distance is 39.\nFrom neighborhood 5 to candidate center 2 the travel distance is 37.\nFrom neighborhood 5 to candidate center 3 the travel distance is 74.\nFrom neighborhood 5 to candidate center 4 the travel distance is 29.\nUse these distances to judge assignments and choose the 1 centers that minimize total travel across the 5 locations.\n\nAlso, when you send back the plan, just stick to a simple JSON shape so it's easy to parse and check. Something like this is perfect:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_site>, <chosen_site>, ...]\n }\n}\n\n\"selected\" is the list of locations you'll open as distribution points. \"assignments\" is a list that, in the same order as the neighborhoods in the instance, says which opened location each neighborhood is assigned to. Think of the JSON as a quick form: which sites are active, and for every neighborhood which active site it should go to. It's just a sketch of the shape I need, not your final answer.\n\nPlease make sure to use the exact identifiers from the instance input β do not rename them or invent new ones. \n- Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
66,
52,
39,
39
],
[
66,
0,
68,
41,
37
],
[
52,
68,
0,
54,
74
],
[
39,
41,
54,
0,
29
],
[
39,
37,
74,
29,
0
]
],
"p": 1,
"objective": 163.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3
]
},
"obj": 163.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 66,
"3": 52,
"4": 39,
"5": 39
}
},
{
"id": 2,
"distances": {
"1": 66,
"2": 0,
"3": 68,
"4": 41,
"5": 37
}
},
{
"id": 3,
"distances": {
"1": 52,
"2": 68,
"3": 0,
"4": 54,
"5": 74
}
},
{
"id": 4,
"distances": {
"1": 39,
"2": 41,
"3": 54,
"4": 0,
"5": 29
}
},
{
"id": 5,
"distances": {
"1": 39,
"2": 37,
"3": 74,
"4": 29,
"5": 0
}
}
],
"objective": 163.0
},
"solution_variant": {
"selected": [
4
],
"assignments": [
4,
4,
4,
4,
4
]
},
"context_index": 28,
"input_format": "nl",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Picture this: a few satellite offices need to be opened, and the task is picking which candidate sites to activate and then pairing every team location with one of those open sites. Every team must be assigned to a single opened office β no team unassigned and no double assignments. Judging plans is easy in practice: add up each locationβs distance to its assigned office and prefer the arrangement with the smaller total commute. The detailed locations and the distances between them are shown below.\n\n{\n \"total_candidate_locations\": 5,\n \"satellite_offices_to_open\": 1,\n \"location_identifiers\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"origin_location_id\": 1,\n \"candidate_office_id\": 2,\n \"commute_distance\": 40\n },\n {\n \"origin_location_id\": 1,\n \"candidate_office_id\": 3,\n \"commute_distance\": 39\n },\n {\n \"origin_location_id\": 1,\n \"candidate_office_id\": 4,\n \"commute_distance\": 37\n },\n {\n \"origin_location_id\": 1,\n \"candidate_office_id\": 5,\n \"commute_distance\": 29\n },\n {\n \"origin_location_id\": 2,\n \"candidate_office_id\": 1,\n \"commute_distance\": 40\n },\n {\n \"origin_location_id\": 2,\n \"candidate_office_id\": 3,\n \"commute_distance\": 32\n },\n {\n \"origin_location_id\": 2,\n \"candidate_office_id\": 4,\n \"commute_distance\": 48\n },\n {\n \"origin_location_id\": 2,\n \"candidate_office_id\": 5,\n \"commute_distance\": 37\n },\n {\n \"origin_location_id\": 3,\n \"candidate_office_id\": 1,\n \"commute_distance\": 39\n },\n {\n \"origin_location_id\": 3,\n \"candidate_office_id\": 2,\n \"commute_distance\": 32\n },\n {\n \"origin_location_id\": 3,\n \"candidate_office_id\": 4,\n \"commute_distance\": 46\n },\n {\n \"origin_location_id\": 3,\n \"candidate_office_id\": 5,\n \"commute_distance\": 40\n },\n {\n \"origin_location_id\": 4,\n \"candidate_office_id\": 1,\n \"commute_distance\": 37\n },\n {\n \"origin_location_id\": 4,\n \"candidate_office_id\": 2,\n \"commute_distance\": 48\n },\n {\n \"origin_location_id\": 4,\n \"candidate_office_id\": 3,\n \"commute_distance\": 46\n },\n {\n \"origin_location_id\": 4,\n \"candidate_office_id\": 5,\n \"commute_distance\": 48\n },\n {\n \"origin_location_id\": 5,\n \"candidate_office_id\": 1,\n \"commute_distance\": 29\n },\n {\n \"origin_location_id\": 5,\n \"candidate_office_id\": 2,\n \"commute_distance\": 37\n },\n {\n \"origin_location_id\": 5,\n \"candidate_office_id\": 3,\n \"commute_distance\": 40\n },\n {\n \"origin_location_id\": 5,\n \"candidate_office_id\": 4,\n \"commute_distance\": 48\n }\n ]\n}\n\nAnd if it helps, just send the final plan in this little JSON shape so it's easy to read and check:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThink of it like a simple form: \"selected\" is the list of candidate sites you decide to open, and \"assignments\" lists, for each original location (in the same order as the instance input), which opened site that location is paired with. This JSON is just a sketch of the shape I expect, not the actual answer.\n\nPlease use the exact identifiers from the instance input β don't rename them or invent new labels. \nFor example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
40,
39,
37,
29
],
[
40,
0,
32,
48,
37
],
[
39,
32,
0,
46,
40
],
[
37,
48,
46,
0,
48
],
[
29,
37,
40,
48,
0
]
],
"p": 1,
"objective": 145.0
},
"solution": {
"facilities": [
0
],
"assignments": [
0,
0,
0,
0,
0
]
},
"obj": 145.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 40,
"3": 39,
"4": 37,
"5": 29
}
},
{
"id": 2,
"distances": {
"1": 40,
"2": 0,
"3": 32,
"4": 48,
"5": 37
}
},
{
"id": 3,
"distances": {
"1": 39,
"2": 32,
"3": 0,
"4": 46,
"5": 40
}
},
{
"id": 4,
"distances": {
"1": 37,
"2": 48,
"3": 46,
"4": 0,
"5": 48
}
},
{
"id": 5,
"distances": {
"1": 29,
"2": 37,
"3": 40,
"4": 48,
"5": 0
}
}
],
"objective": 145.0
},
"solution_variant": {
"selected": [
1
],
"assignments": [
1,
1,
1,
1,
1
]
},
"context_index": 29,
"input_format": "json",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Thereβs a mobile library route to work out: decide which limited number of stops the van will use, and make sure every community cluster gets assigned to exactly one of those stops so nobodyβs missed or doubled up. The measure of success is total visitor travel β add up each clusterβs distance to its chosen stop, and the plan with the lowest total is best. The specific candidate locations and distances are listed below.\n\nThere are 6 locations in this instance; open exactly 2 stops chosen from 0, 1, 2, 3, 4, 5.\nFrom 0 to 1: 44.\nFrom 0 to 2: 35.\nFrom 0 to 3: 35.\nFrom 0 to 4: 32.\nFrom 0 to 5: 39.\nFrom 1 to 0: 44.\nFrom 1 to 2: 42.\nFrom 1 to 3: 34.\nFrom 1 to 4: 38.\nFrom 1 to 5: 43.\nFrom 2 to 0: 35.\nFrom 2 to 1: 42.\nFrom 2 to 3: 29.\nFrom 2 to 4: 33.\nFrom 2 to 5: 36.\nFrom 3 to 0: 35.\nFrom 3 to 1: 34.\nFrom 3 to 2: 29.\nFrom 3 to 4: 29.\nFrom 3 to 5: 32.\nFrom 4 to 0: 32.\nFrom 4 to 1: 38.\nFrom 4 to 2: 33.\nFrom 4 to 3: 29.\nFrom 4 to 5: 27.\nFrom 5 to 0: 39.\nFrom 5 to 1: 43.\nFrom 5 to 2: 36.\nFrom 5 to 3: 32.\nFrom 5 to 4: 27.\nAssign every community cluster to one chosen stop so the total visitor travel across these 6 locations is minimized.\n\nWhen you send the final plan, just drop it in this simple JSON shape so everything stays tidy and easy to read:\n\n{\n \"solution\": {\n \"selected\": [<stop_to_open>, <stop_to_open>, ...],\n \"assignments\": [<assigned_stop>, <assigned_stop>, ...]\n }\n}\n\n\"selected\" is where you list the stops the mobile library will actually use, and \"assignments\" says, for each community cluster in the order they were given, which of those opened stops they should go to. Think of the JSON as a quick form to fill out β it's just the shape I need, not the final filled-in plan.\n\nPlease make sure you use the exact identifiers from the instance input β don't rename them or invent new ones. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
44,
35,
35,
32,
39
],
[
44,
0,
42,
34,
38,
43
],
[
35,
42,
0,
29,
33,
36
],
[
35,
34,
29,
0,
29,
32
],
[
32,
38,
33,
29,
0,
27
],
[
39,
43,
36,
32,
27,
0
]
],
"p": 2,
"objective": 121.0
},
"solution": {
"facilities": [
1,
4
],
"assignments": [
4,
1,
4,
4,
4,
4
]
},
"obj": 121.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 2,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 44,
"2": 35,
"3": 35,
"4": 32,
"5": 39
}
},
{
"id": 1,
"distances": {
"0": 44,
"1": 0,
"2": 42,
"3": 34,
"4": 38,
"5": 43
}
},
{
"id": 2,
"distances": {
"0": 35,
"1": 42,
"2": 0,
"3": 29,
"4": 33,
"5": 36
}
},
{
"id": 3,
"distances": {
"0": 35,
"1": 34,
"2": 29,
"3": 0,
"4": 29,
"5": 32
}
},
{
"id": 4,
"distances": {
"0": 32,
"1": 38,
"2": 33,
"3": 29,
"4": 0,
"5": 27
}
},
{
"id": 5,
"distances": {
"0": 39,
"1": 43,
"2": 36,
"3": 32,
"4": 27,
"5": 0
}
}
],
"objective": 121.0
},
"solution_variant": {
"selected": [
1,
4
],
"assignments": [
4,
1,
4,
4,
4,
4
]
},
"context_index": 30,
"input_format": "nl",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Recently the district decided to consolidate after-school offerings to a fixed number of campuses, so the superintendent has to pick which schools keep their centers and which ones will go to those centers. Each school must be assigned to a single open center, and every school must be covered. The aim is to cut down the total miles traveled across the whole district β simply add up the distance from each school to its assigned center, and the smaller that total is, the better. The exact school list and pairwise travel distances appear below.\n\nThere are 5 schools in total; the superintendent must open exactly 1 centers, and the schools are 1, 2, 3, 4, 5.\nFrom 1 to 2: 56 miles.\nFrom 1 to 3: 17 miles.\nFrom 1 to 4: 45 miles.\nFrom 1 to 5: 52 miles.\nFrom 2 to 1: 56 miles.\nFrom 2 to 3: 45 miles.\nFrom 2 to 4: 54 miles.\nFrom 2 to 5: 56 miles.\nFrom 3 to 1: 17 miles.\nFrom 3 to 2: 45 miles.\nFrom 3 to 4: 34 miles.\nFrom 3 to 5: 38 miles.\nFrom 4 to 1: 45 miles.\nFrom 4 to 2: 54 miles.\nFrom 4 to 3: 34 miles.\nFrom 4 to 5: 42 miles.\nFrom 5 to 1: 52 miles.\nFrom 5 to 2: 56 miles.\nFrom 5 to 3: 38 miles.\nFrom 5 to 4: 42 miles.\nEach line gives the travel distance from one origin school to a potential center to inform the superintendent's assignment decisions.\n\nI'll put the output in a simple JSON shape so it's easy to follow. It will look like this:\n\n{\n \"solution\": {\n \"selected\": [<school_to_keep>, <school_to_keep>, ...],\n \"assignments\": [<chosen_kept_school>, <chosen_kept_school>, ...]\n }\n}\n\nA quick, casual note on what those bits mean in our school story: \"selected\" is the list of schools that stay open as after-school centers, and \"assignments\" says, for each school (in the same order as the input), which open school it's assigned to. Think of \"selected\" like the checkboxes you tick, and \"assignments\" like the answers that point each school to its center.\n\nThis JSON is just a sketch of the expected shape, not the actual solution.\n\n- Please use the identifiers exactly as they appear in the instance input β do not rename or invent new labels. Valid identifiers look like plain numbers such as \"1\" or \"23\", single capital letters like \"A\" or \"B\", or a capital letter followed by digits like \"A1\" or \"X7\".",
"instance": {
"distance_matrix": [
[
0,
56,
17,
45,
52
],
[
56,
0,
45,
54,
56
],
[
17,
45,
0,
34,
38
],
[
45,
54,
34,
0,
42
],
[
52,
56,
38,
42,
0
]
],
"p": 1,
"objective": 134.0
},
"solution": {
"facilities": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"obj": 134.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 56,
"3": 17,
"4": 45,
"5": 52
}
},
{
"id": 2,
"distances": {
"1": 56,
"2": 0,
"3": 45,
"4": 54,
"5": 56
}
},
{
"id": 3,
"distances": {
"1": 17,
"2": 45,
"3": 0,
"4": 34,
"5": 38
}
},
{
"id": 4,
"distances": {
"1": 45,
"2": 54,
"3": 34,
"4": 0,
"5": 42
}
},
{
"id": 5,
"distances": {
"1": 52,
"2": 56,
"3": 38,
"4": 42,
"5": 0
}
}
],
"objective": 134.0
},
"solution_variant": {
"selected": [
3
],
"assignments": [
3,
3,
3,
3,
3
]
},
"context_index": 31,
"input_format": "nl",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "I used to sketch coverage maps: thereβs a handful of candidate towers and a bunch of sites that need service, and someone has to pick a fixed number of those towers to switch on. The idea is simple β every site is tied to just one of the towers that get turned on, and nothing gets left out or hooked to two towers at once. The \"best\" choice is the one that keeps the total travel distance as small as possible β add up each siteβs distance to its assigned active tower, and that sum should be as low as it can be. The specific list of sites, candidate towers and the distances between them are shown below.\n\n# total_candidate_sites=5\n# towers_to_activate=1\n# site_identifiers=1, 2, 3, 4, 5\nfrom_site_id,to_site_id,distance_between_sites\n1,2,23\n1,3,39\n1,4,27\n1,5,37\n2,1,23\n2,3,39\n2,4,18\n2,5,33\n3,1,39\n3,2,39\n3,4,35\n3,5,48\n4,1,27\n4,2,18\n4,3,35\n4,5,34\n5,1,37\n5,2,33\n5,3,48\n5,4,34\n\nAlso, when you send the solution back, just stick to this simple JSON shape β nothing fancy, just the fields shown below.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_open_site>, <assigned_open_site>, ...]\n }\n}\n\nIt's just a friendly form: \"selected\" is the list of sites you choose to turn on, and \"assignments\" lists, for every site in the instance (in the same order they were given), which opened site it's hooked up to. Think of it like filling out a short form rather than a complex file.\n\nThis JSON is only a sketch of the expected shape β not the actual answer. Important: use the exact identifiers from the instance input (no renaming, no new labels). For example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
23,
39,
27,
37
],
[
23,
0,
39,
18,
33
],
[
39,
39,
0,
35,
48
],
[
27,
18,
35,
0,
34
],
[
37,
33,
48,
34,
0
]
],
"p": 1,
"objective": 113.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1
]
},
"obj": 113.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 23,
"3": 39,
"4": 27,
"5": 37
}
},
{
"id": 2,
"distances": {
"1": 23,
"2": 0,
"3": 39,
"4": 18,
"5": 33
}
},
{
"id": 3,
"distances": {
"1": 39,
"2": 39,
"3": 0,
"4": 35,
"5": 48
}
},
{
"id": 4,
"distances": {
"1": 27,
"2": 18,
"3": 35,
"4": 0,
"5": 34
}
},
{
"id": 5,
"distances": {
"1": 37,
"2": 33,
"3": 48,
"4": 34,
"5": 0
}
}
],
"objective": 113.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"context_index": 32,
"input_format": "csv",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone managing maintenance for a bike-share needs to choose a predetermined number of hub locations and connect every station to exactly one hub β no station can be skipped or split between hubs. Since the travel distance between every pair of stations is available, each possible plan can be scored by adding up the distance from each station to its chosen hub, and the plan with the lowest total travel is preferred. The concrete details will be shown below.\n\n# total_stations=6\n# num_hubs_to_open=2\n# station_ids=0, 1, 2, 3, 4, 5\nfrom_station_id,to_station_id,travel_distance\n0,1,47\n0,2,39\n0,3,40\n0,4,15\n0,5,44\n1,0,47\n1,2,56\n1,3,41\n1,4,51\n1,5,63\n2,0,39\n2,1,56\n2,3,38\n2,4,26\n2,5,62\n3,0,40\n3,1,41\n3,2,38\n3,4,37\n3,5,40\n4,0,15\n4,1,51\n4,2,26\n4,3,37\n4,5,58\n5,0,44\n5,1,63\n5,2,62\n5,3,40\n5,4,58\n\nAlso, when you send the plan back, please follow this loose JSON shape so it's easy to read and check. Something like:\n\n{\n \"solution\": {\n \"selected\": [<hub_to_open>, <hub_to_open>, ...],\n \"assignments\": [<assigned_hub>, <assigned_hub>, ...]\n }\n}\n\nQuick note on what those fields mean in plain language: \"selected\" is the list of stations you decide to open as hubs, and \"assignments\" lists, for every station in the network, which opened hub it gets connected to (one entry per station). This is just a sketch of the shape I need β not the final answer.\n\nAlso, please use the exact station identifiers from the instance input β do not rename them or invent new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
47,
39,
40,
15,
44
],
[
47,
0,
56,
41,
51,
63
],
[
39,
56,
0,
38,
26,
62
],
[
40,
41,
38,
0,
37,
40
],
[
15,
51,
26,
37,
0,
58
],
[
44,
63,
62,
40,
58,
0
]
],
"p": 2,
"objective": 122.0
},
"solution": {
"facilities": [
3,
4
],
"assignments": [
4,
3,
4,
3,
4,
3
]
},
"obj": 122.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 2,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 47,
"2": 39,
"3": 40,
"4": 15,
"5": 44
}
},
{
"id": 1,
"distances": {
"0": 47,
"1": 0,
"2": 56,
"3": 41,
"4": 51,
"5": 63
}
},
{
"id": 2,
"distances": {
"0": 39,
"1": 56,
"2": 0,
"3": 38,
"4": 26,
"5": 62
}
},
{
"id": 3,
"distances": {
"0": 40,
"1": 41,
"2": 38,
"3": 0,
"4": 37,
"5": 40
}
},
{
"id": 4,
"distances": {
"0": 15,
"1": 51,
"2": 26,
"3": 37,
"4": 0,
"5": 58
}
},
{
"id": 5,
"distances": {
"0": 44,
"1": 63,
"2": 62,
"3": 40,
"4": 58,
"5": 0
}
}
],
"objective": 122.0
},
"solution_variant": {
"selected": [
3,
4
],
"assignments": [
4,
3,
4,
3,
4,
3
]
},
"context_index": 33,
"input_format": "csv",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Out in the suburbs the energy team mapped every parking lot and the drive between any two of them, then had to choose exactly a handful of lots to host charging stations and link every lot to one chosen station. The better the choice, the less everyone drives overall β you measure that by summing each parking lotβs distance to its assigned hub and looking for the smallest total. Every lot must be assigned once and only once, and the pairwise distances are provided; the concrete details follow below.\n\nThey mapped 7 candidate parking lots, must open exactly 1 hubs, and listed the lots as 0, 1, 2, 3, 4, 5, 6.\nDrive distance from 0 to 1 is 53.\nDrive distance from 0 to 2 is 36.\nDrive distance from 0 to 3 is 38.\nDrive distance from 0 to 4 is 40.\nDrive distance from 0 to 5 is 55.\nDrive distance from 0 to 6 is 64.\nDrive distance from 1 to 0 is 53.\nDrive distance from 1 to 2 is 31.\nDrive distance from 1 to 3 is 31.\nDrive distance from 1 to 4 is 32.\nDrive distance from 1 to 5 is 50.\nDrive distance from 1 to 6 is 55.\nDrive distance from 2 to 0 is 36.\nDrive distance from 2 to 1 is 31.\nDrive distance from 2 to 3 is 30.\nDrive distance from 2 to 4 is 33.\nDrive distance from 2 to 5 is 19.\nDrive distance from 2 to 6 is 43.\nDrive distance from 3 to 0 is 38.\nDrive distance from 3 to 1 is 31.\nDrive distance from 3 to 2 is 30.\nDrive distance from 3 to 4 is 17.\nDrive distance from 3 to 5 is 31.\nDrive distance from 3 to 6 is 40.\nDrive distance from 4 to 0 is 40.\nDrive distance from 4 to 1 is 32.\nDrive distance from 4 to 2 is 33.\nDrive distance from 4 to 3 is 17.\nDrive distance from 4 to 5 is 37.\nDrive distance from 4 to 6 is 29.\nDrive distance from 5 to 0 is 55.\nDrive distance from 5 to 1 is 50.\nDrive distance from 5 to 2 is 19.\nDrive distance from 5 to 3 is 31.\nDrive distance from 5 to 4 is 37.\nDrive distance from 5 to 6 is 57.\nDrive distance from 6 to 0 is 64.\nDrive distance from 6 to 1 is 55.\nDrive distance from 6 to 2 is 43.\nDrive distance from 6 to 3 is 40.\nDrive distance from 6 to 4 is 29.\nDrive distance from 6 to 5 is 57.\nThese pairwise drives will guide the team as they pick the best 1 hubs among the 7 lots.\n\nIf you send back a reply, keep it in this little JSON shape so it's easy to read and plug in:\n\n{\n \"solution\": {\n \"selected\": [<lot_to_open>, <lot_to_open>, ...],\n \"assignments\": [<assigned_lot>, <assigned_lot>, ...]\n }\n}\n\nThis just sketches the form: \"selected\" lists the parking lots you'll open as charging hubs, and \"assignments\" lists, for each lot in the same order as the input, which opened lot it gets tied to. It's just the shape I expect, not the real answer.\n\nPlease use the identifiers from the instance exactly as given β don't rename them or invent new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
53,
36,
38,
40,
55,
64
],
[
53,
0,
31,
31,
32,
50,
55
],
[
36,
31,
0,
30,
33,
19,
43
],
[
38,
31,
30,
0,
17,
31,
40
],
[
40,
32,
33,
17,
0,
37,
29
],
[
55,
50,
19,
31,
37,
0,
57
],
[
64,
55,
43,
40,
29,
57,
0
]
],
"p": 1,
"objective": 187.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3,
3,
3
]
},
"obj": 187.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 53,
"2": 36,
"3": 38,
"4": 40,
"5": 55,
"6": 64
}
},
{
"id": 1,
"distances": {
"0": 53,
"1": 0,
"2": 31,
"3": 31,
"4": 32,
"5": 50,
"6": 55
}
},
{
"id": 2,
"distances": {
"0": 36,
"1": 31,
"2": 0,
"3": 30,
"4": 33,
"5": 19,
"6": 43
}
},
{
"id": 3,
"distances": {
"0": 38,
"1": 31,
"2": 30,
"3": 0,
"4": 17,
"5": 31,
"6": 40
}
},
{
"id": 4,
"distances": {
"0": 40,
"1": 32,
"2": 33,
"3": 17,
"4": 0,
"5": 37,
"6": 29
}
},
{
"id": 5,
"distances": {
"0": 55,
"1": 50,
"2": 19,
"3": 31,
"4": 37,
"5": 0,
"6": 57
}
},
{
"id": 6,
"distances": {
"0": 64,
"1": 55,
"2": 43,
"3": 40,
"4": 29,
"5": 57,
"6": 0
}
}
],
"objective": 187.0
},
"solution_variant": {
"selected": [
3
],
"assignments": [
3,
3,
3,
3,
3,
3,
3
]
},
"context_index": 34,
"input_format": "nl",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Recently the sanitation director sketched out a plan: operate a fixed number of depots, then attach every pickup zone to a single open depot so service is complete and never duplicated. The scorecard was total distance driven β simply sum the distance from each zone to its assigned depot β and the goal was to make that total as low as possible. The exact distances and candidate sites follow below.\n\nThere are 5 locations in the instance, exactly 2 depots must be opened, and the ordered location identifiers are 1, 2, 3, 4, 5.\nFrom pickup zone 1 to candidate depot 2, travel distance 62.\nFrom pickup zone 1 to candidate depot 3, travel distance 29.\nFrom pickup zone 1 to candidate depot 4, travel distance 68.\nFrom pickup zone 1 to candidate depot 5, travel distance 100.\nFrom pickup zone 2 to candidate depot 1, travel distance 62.\nFrom pickup zone 2 to candidate depot 3, travel distance 47.\nFrom pickup zone 2 to candidate depot 4, travel distance 34.\nFrom pickup zone 2 to candidate depot 5, travel distance 89.\nFrom pickup zone 3 to candidate depot 1, travel distance 29.\nFrom pickup zone 3 to candidate depot 2, travel distance 47.\nFrom pickup zone 3 to candidate depot 4, travel distance 48.\nFrom pickup zone 3 to candidate depot 5, travel distance 77.\nFrom pickup zone 4 to candidate depot 1, travel distance 68.\nFrom pickup zone 4 to candidate depot 2, travel distance 34.\nFrom pickup zone 4 to candidate depot 3, travel distance 48.\nFrom pickup zone 4 to candidate depot 5, travel distance 80.\nFrom pickup zone 5 to candidate depot 1, travel distance 100.\nFrom pickup zone 5 to candidate depot 2, travel distance 89.\nFrom pickup zone 5 to candidate depot 3, travel distance 77.\nFrom pickup zone 5 to candidate depot 4, travel distance 80.\nThese distances and site identifiers are provided so the chosen 2 depots can be selected to minimize total travel distance.\n\nIf you want to give the solution back, just use this simple JSON shape so I can read it easily β nothing fancy, just a quick form to say which depots you open and which depot each pickup zone belongs to:\n\n{\n \"solution\": {\n \"selected\": [<depot_to_open>, <depot_to_open>, ...],\n \"assignments\": [<assigned_depot>, <assigned_depot>, ...]\n }\n}\n\n\"selected\" is where you list the depot IDs you decide to open. \"assignments\" is a list (in the same order as the pickup zones in the instance) saying which opened depot each zone is attached to. Think of it like filling out a form: picked depots in one box, and then one line per zone pointing to its depot.\n\nThis JSON is just a sketch of the shape I expect, not the actual answer β fill in the real IDs from the instance when you submit.\n\nPlease use the identifiers exactly as they appear in the instance input β do not rename them or invent new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
62,
29,
68,
100
],
[
62,
0,
47,
34,
89
],
[
29,
47,
0,
48,
77
],
[
68,
34,
48,
0,
80
],
[
100,
89,
77,
80,
0
]
],
"p": 2,
"objective": 124.0
},
"solution": {
"facilities": [
2,
4
],
"assignments": [
2,
2,
2,
2,
4
]
},
"obj": 124.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 2,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 62,
"3": 29,
"4": 68,
"5": 100
}
},
{
"id": 2,
"distances": {
"1": 62,
"2": 0,
"3": 47,
"4": 34,
"5": 89
}
},
{
"id": 3,
"distances": {
"1": 29,
"2": 47,
"3": 0,
"4": 48,
"5": 77
}
},
{
"id": 4,
"distances": {
"1": 68,
"2": 34,
"3": 48,
"4": 0,
"5": 80
}
},
{
"id": 5,
"distances": {
"1": 100,
"2": 89,
"3": 77,
"4": 80,
"5": 0
}
}
],
"objective": 124.0
},
"solution_variant": {
"selected": [
3,
5
],
"assignments": [
3,
3,
3,
3,
5
]
},
"context_index": 35,
"input_format": "nl",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many neighborhoods depend on a nearby ATM, so the operations group must pick a fixed number of candidate sites to actually host machines. After those sites are picked, every neighborhood must be assigned to one and only one of them β nothing left out and no double assignments. The best setup is the one that keeps overall customer travel as low as possible: add up the distances from each neighborhood to its assigned ATM, and look for the smallest total. The exact list of sites and pairwise distances appears below.\n\n# total_neighborhoods=6\n# atms_to_open=1\n# neighborhood_ids=0, 1, 2, 3, 4, 5\norigin_neighborhood,destination_neighborhood,travel_distance\n0,1,62\n0,2,66\n0,3,85\n0,4,54\n0,5,54\n1,0,62\n1,2,66\n1,3,75\n1,4,38\n1,5,56\n2,0,66\n2,1,66\n2,3,93\n2,4,60\n2,5,53\n3,0,85\n3,1,75\n3,2,93\n3,4,76\n3,5,57\n4,0,54\n4,1,38\n4,2,60\n4,3,76\n4,5,43\n5,0,54\n5,1,56\n5,2,53\n5,3,57\n5,4,43\n\nAlso, when you hand in the final picks and which neighborhood goes to which ATM, please stick to this simple JSON layout so it's easy to parse:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThink of \"selected\" as the list of sites you're opening, and \"assignments\" as, for each neighborhood in the instance (in the same order the neighborhoods were listed), which opened site it uses. Super informal: selected = the ATMs you turn on, assignments = which ATM each neighborhood walks to.\n\nThis JSON is just a sketch of the expected shape β not the actual answer.\n\nPlease use the exact identifiers from the instance input when filling this in β don't rename or invent labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
62,
66,
85,
54,
54
],
[
62,
0,
66,
75,
38,
56
],
[
66,
66,
0,
93,
60,
53
],
[
85,
75,
93,
0,
76,
57
],
[
54,
38,
60,
76,
0,
43
],
[
54,
56,
53,
57,
43,
0
]
],
"p": 1,
"objective": 263.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"obj": 263.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 62,
"2": 66,
"3": 85,
"4": 54,
"5": 54
}
},
{
"id": 1,
"distances": {
"0": 62,
"1": 0,
"2": 66,
"3": 75,
"4": 38,
"5": 56
}
},
{
"id": 2,
"distances": {
"0": 66,
"1": 66,
"2": 0,
"3": 93,
"4": 60,
"5": 53
}
},
{
"id": 3,
"distances": {
"0": 85,
"1": 75,
"2": 93,
"3": 0,
"4": 76,
"5": 57
}
},
{
"id": 4,
"distances": {
"0": 54,
"1": 38,
"2": 60,
"3": 76,
"4": 0,
"5": 43
}
},
{
"id": 5,
"distances": {
"0": 54,
"1": 56,
"2": 53,
"3": 57,
"4": 43,
"5": 0
}
}
],
"objective": 263.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"context_index": 36,
"input_format": "csv",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "At the rental shop the crew needs to choose a specific number of trailheads to keep gear at, and then assign each trailhead to one of those stocked spots so nothing is left unassigned or assigned twice. To judge different choices, total the travel distance from each trailhead to the stocked pickup itβs linked with β the plan with the lowest total distance makes the most sense for customers. The detailed list of trailheads and the distances between every pair appear below.\n\n{\n \"num_trailheads\": 6,\n \"num_stocked_pickup_sites\": 2,\n \"trailhead_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"from_trailhead\": 0,\n \"to_trailhead\": 1,\n \"travel_distance\": 33\n },\n {\n \"from_trailhead\": 0,\n \"to_trailhead\": 2,\n \"travel_distance\": 47\n },\n {\n \"from_trailhead\": 0,\n \"to_trailhead\": 3,\n \"travel_distance\": 58\n },\n {\n \"from_trailhead\": 0,\n \"to_trailhead\": 4,\n \"travel_distance\": 51\n },\n {\n \"from_trailhead\": 0,\n \"to_trailhead\": 5,\n \"travel_distance\": 56\n },\n {\n \"from_trailhead\": 1,\n \"to_trailhead\": 0,\n \"travel_distance\": 33\n },\n {\n \"from_trailhead\": 1,\n \"to_trailhead\": 2,\n \"travel_distance\": 31\n },\n {\n \"from_trailhead\": 1,\n \"to_trailhead\": 3,\n \"travel_distance\": 41\n },\n {\n \"from_trailhead\": 1,\n \"to_trailhead\": 4,\n \"travel_distance\": 50\n },\n {\n \"from_trailhead\": 1,\n \"to_trailhead\": 5,\n \"travel_distance\": 26\n },\n {\n \"from_trailhead\": 2,\n \"to_trailhead\": 0,\n \"travel_distance\": 47\n },\n {\n \"from_trailhead\": 2,\n \"to_trailhead\": 1,\n \"travel_distance\": 31\n },\n {\n \"from_trailhead\": 2,\n \"to_trailhead\": 3,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 2,\n \"to_trailhead\": 4,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 2,\n \"to_trailhead\": 5,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 3,\n \"to_trailhead\": 0,\n \"travel_distance\": 58\n },\n {\n \"from_trailhead\": 3,\n \"to_trailhead\": 1,\n \"travel_distance\": 41\n },\n {\n \"from_trailhead\": 3,\n \"to_trailhead\": 2,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 3,\n \"to_trailhead\": 4,\n \"travel_distance\": 45\n },\n {\n \"from_trailhead\": 3,\n \"to_trailhead\": 5,\n \"travel_distance\": 41\n },\n {\n \"from_trailhead\": 4,\n \"to_trailhead\": 0,\n \"travel_distance\": 51\n },\n {\n \"from_trailhead\": 4,\n \"to_trailhead\": 1,\n \"travel_distance\": 50\n },\n {\n \"from_trailhead\": 4,\n \"to_trailhead\": 2,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 4,\n \"to_trailhead\": 3,\n \"travel_distance\": 45\n },\n {\n \"from_trailhead\": 4,\n \"to_trailhead\": 5,\n \"travel_distance\": 32\n },\n {\n \"from_trailhead\": 5,\n \"to_trailhead\": 0,\n \"travel_distance\": 56\n },\n {\n \"from_trailhead\": 5,\n \"to_trailhead\": 1,\n \"travel_distance\": 26\n },\n {\n \"from_trailhead\": 5,\n \"to_trailhead\": 2,\n \"travel_distance\": 43\n },\n {\n \"from_trailhead\": 5,\n \"to_trailhead\": 3,\n \"travel_distance\": 41\n },\n {\n \"from_trailhead\": 5,\n \"to_trailhead\": 4,\n \"travel_distance\": 32\n }\n ]\n}\n\nIf you want the answer in a neat, machine-friendly way, just follow this little JSON shape when you reply:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_pickup>, <assigned_pickup>, ...]\n }\n}\n\n\"selected\" is where you list the trailheads we'll keep stocked (the pickup spots). \"assignments\" says, for each trailhead in the instance, which stocked pickup it's linked to. Super casual: think of \"selected\" as the handful of spots we actually stock, and \"assignments\" mapping every trailhead to one of those stocked spots.\n\nThis is just a sketch of the shape I expect, not the final plan.\n\nPlease use the exact identifiers from the instance input β do not rename them or invent new labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
33,
47,
58,
51,
56
],
[
33,
0,
31,
41,
50,
26
],
[
47,
31,
0,
43,
43,
43
],
[
58,
41,
43,
0,
45,
41
],
[
51,
50,
43,
45,
0,
32
],
[
56,
26,
43,
41,
32,
0
]
],
"p": 2,
"objective": 131.0
},
"solution": {
"facilities": [
1,
4
],
"assignments": [
1,
1,
1,
1,
4,
1
]
},
"obj": 131.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 2,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 33,
"2": 47,
"3": 58,
"4": 51,
"5": 56
}
},
{
"id": 1,
"distances": {
"0": 33,
"1": 0,
"2": 31,
"3": 41,
"4": 50,
"5": 26
}
},
{
"id": 2,
"distances": {
"0": 47,
"1": 31,
"2": 0,
"3": 43,
"4": 43,
"5": 43
}
},
{
"id": 3,
"distances": {
"0": 58,
"1": 41,
"2": 43,
"3": 0,
"4": 45,
"5": 41
}
},
{
"id": 4,
"distances": {
"0": 51,
"1": 50,
"2": 43,
"3": 45,
"4": 0,
"5": 32
}
},
{
"id": 5,
"distances": {
"0": 56,
"1": 26,
"2": 43,
"3": 41,
"4": 32,
"5": 0
}
}
],
"objective": 131.0
},
"solution_variant": {
"selected": [
1,
4
],
"assignments": [
1,
1,
1,
1,
4,
1
]
},
"context_index": 37,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "In the neighborhood coordination meeting, the challenge was to pick a fixed number of truck parking locations and then attach every block to one of those live locations, using the known distances between blocks. The aim is to keep customer travel as low as possible β tally the distance from each block to its chosen parking location, add them all up, and the plan with the lowest total is preferred. Every single block must be assigned to exactly one open location; no block can be skipped or assigned to more than one. The specific blocks, candidate spots, and distances are shown below.\n\n# total_blocks=8\n# num_parking_locations_to_open=1\n# block_ids=0, 1, 2, 3, 4, 5, 6, 7\nsource_block_id,target_block_id,travel_distance_between_blocks\n0,1,53\n0,2,54\n0,3,47\n0,4,27\n0,5,47\n0,6,62\n0,7,12\n1,0,53\n1,2,58\n1,3,59\n1,4,45\n1,5,10\n1,6,30\n1,7,50\n2,0,54\n2,1,58\n2,3,33\n2,4,56\n2,5,55\n2,6,61\n2,7,49\n3,0,47\n3,1,59\n3,2,33\n3,4,51\n3,5,49\n3,6,55\n3,7,35\n4,0,27\n4,1,45\n4,2,56\n4,3,51\n4,5,40\n4,6,60\n4,7,38\n5,0,47\n5,1,10\n5,2,55\n5,3,49\n5,4,40\n5,6,20\n5,7,50\n6,0,62\n6,1,30\n6,2,61\n6,3,55\n6,4,60\n6,5,20\n6,7,62\n7,0,12\n7,1,50\n7,2,49\n7,3,35\n7,4,38\n7,5,50\n7,6,62\n\nAlso, when you send back the plan, just use a small JSON snippet like this so it's easy to read and machine-friendly:\n\n{\n \"solution\": {\n \"selected\": [<parking_spot_to_open>, <parking_spot_to_open>, ...],\n \"assignments\": [<assigned_parking_spot>, <assigned_parking_spot>, ...]\n }\n}\n\nThink of it like a simple form: \"selected\" is the list of parking spots you decide to open, and \"assignments\" lists, for each block in the same order as the input, which open spot that block is attached to. This is just a sketch of the shape I want β not the final plan itself.\n\nPlease make sure to use the exact identifiers from the instance input for every spot and block β donβt rename them or invent new labels. \n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
53,
54,
47,
27,
47,
62,
12
],
[
53,
0,
58,
59,
45,
10,
30,
50
],
[
54,
58,
0,
33,
56,
55,
61,
49
],
[
47,
59,
33,
0,
51,
49,
55,
35
],
[
27,
45,
56,
51,
0,
40,
60,
38
],
[
47,
10,
55,
49,
40,
0,
20,
50
],
[
62,
30,
61,
55,
60,
20,
0,
62
],
[
12,
50,
49,
35,
38,
50,
62,
0
]
],
"p": 1,
"objective": 271.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5,
5,
5
]
},
"obj": 271.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 53,
"2": 54,
"3": 47,
"4": 27,
"5": 47,
"6": 62,
"7": 12
}
},
{
"id": 1,
"distances": {
"0": 53,
"1": 0,
"2": 58,
"3": 59,
"4": 45,
"5": 10,
"6": 30,
"7": 50
}
},
{
"id": 2,
"distances": {
"0": 54,
"1": 58,
"2": 0,
"3": 33,
"4": 56,
"5": 55,
"6": 61,
"7": 49
}
},
{
"id": 3,
"distances": {
"0": 47,
"1": 59,
"2": 33,
"3": 0,
"4": 51,
"5": 49,
"6": 55,
"7": 35
}
},
{
"id": 4,
"distances": {
"0": 27,
"1": 45,
"2": 56,
"3": 51,
"4": 0,
"5": 40,
"6": 60,
"7": 38
}
},
{
"id": 5,
"distances": {
"0": 47,
"1": 10,
"2": 55,
"3": 49,
"4": 40,
"5": 0,
"6": 20,
"7": 50
}
},
{
"id": 6,
"distances": {
"0": 62,
"1": 30,
"2": 61,
"3": 55,
"4": 60,
"5": 20,
"6": 0,
"7": 62
}
},
{
"id": 7,
"distances": {
"0": 12,
"1": 50,
"2": 49,
"3": 35,
"4": 38,
"5": 50,
"6": 62,
"7": 0
}
}
],
"objective": 271.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5,
5,
5
]
},
"context_index": 38,
"input_format": "csv",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "In our town the blood-drive planners need to select a set number of staging hubs and then attach each outreach location to one hub only, so there are no duplicates or misses. We have the travel distance for every pair of locations, so the sensible choice is the one that minimizes overall travel β calculate that by adding up each locationβs distance to its assigned hub, and choose the arrangement with the lowest total. Specific candidate sites and pairwise distances are listed below.\n\nThere are 5 candidate locations; we must open exactly 2 staging hubs, and the location IDs are 0, 1, 2, 3, 4.\nFrom 0 to 1: we have travel distance 94.\nFrom 0 to 2: we have travel distance 50.\nFrom 0 to 3: we have travel distance 61.\nFrom 0 to 4: we have travel distance 16.\nFrom 1 to 0: we have travel distance 94.\nFrom 1 to 2: we have travel distance 93.\nFrom 1 to 3: we have travel distance 126.\nFrom 1 to 4: we have travel distance 86.\nFrom 2 to 0: we have travel distance 50.\nFrom 2 to 1: we have travel distance 93.\nFrom 2 to 3: we have travel distance 69.\nFrom 2 to 4: we have travel distance 55.\nFrom 3 to 0: we have travel distance 61.\nFrom 3 to 1: we have travel distance 126.\nFrom 3 to 2: we have travel distance 69.\nFrom 3 to 4: we have travel distance 55.\nFrom 4 to 0: we have travel distance 16.\nFrom 4 to 1: we have travel distance 86.\nFrom 4 to 2: we have travel distance 55.\nFrom 4 to 3: we have travel distance 55.\nWe will choose the assignment that minimizes total travel from outreach locations to their assigned hubs.\n\nIf you'd like, you can just return the choices in a little JSON snippet like thisβshow which sites we open and which open site each outreach location is attached to.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\n\"selected\" is where you list the staging hubs we decide to open. \"assignments\" is a list, in the same order as the outreach locations appear in the input, saying which opened hub each location is attached to. Think of it like a simple form: a list of open sites and then, for each outreach point, the open site it's signed up with.\n\nThis JSON is just a sketch of the expected shape, not the actual answer.\n\nPlease make sure to use the exact identifiers from the instance input β do not rename them or introduce new labels.\n\nValid identifiers look like plain numbers such as \"1\" or \"23\", single capital letters like \"A\" or \"B\", or a capital letter followed by digits like \"A1\" or \"X7\".",
"instance": {
"distance_matrix": [
[
0,
94,
50,
61,
16
],
[
94,
0,
93,
126,
86
],
[
50,
93,
0,
69,
55
],
[
61,
126,
69,
0,
55
],
[
16,
86,
55,
55,
0
]
],
"p": 2,
"objective": 126.0
},
"solution": {
"facilities": [
1,
4
],
"assignments": [
4,
1,
4,
4,
4
]
},
"obj": 126.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 2,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 94,
"2": 50,
"3": 61,
"4": 16
}
},
{
"id": 1,
"distances": {
"0": 94,
"1": 0,
"2": 93,
"3": 126,
"4": 86
}
},
{
"id": 2,
"distances": {
"0": 50,
"1": 93,
"2": 0,
"3": 69,
"4": 55
}
},
{
"id": 3,
"distances": {
"0": 61,
"1": 126,
"2": 69,
"3": 0,
"4": 55
}
},
{
"id": 4,
"distances": {
"0": 16,
"1": 86,
"2": 55,
"3": 55,
"4": 0
}
}
],
"objective": 126.0
},
"solution_variant": {
"selected": [
1,
4
],
"assignments": [
4,
1,
4,
4,
4
]
},
"context_index": 39,
"input_format": "markdown_table",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Someone on the garden committee needs to decide which fixed number of tool-shed locations to open and then connect each garden plot to exactly one of those open sheds. The goal is to minimize the combined walking distance β you calculate that by adding the distance from every plot to its assigned shed, and the lower the total the better. Itβs important that every plot is assigned to one shed only, and the full details of plots, candidate locations, and pairwise distances will be shown below.\n\nThere are 5 candidate locations, exactly 1 sheds must be opened, and the location identifiers are A, B, C, D, E.\nFrom A to B, the walking distance is 23.\nFrom A to C, the walking distance is 39.\nFrom A to D, the walking distance is 34.\nFrom A to E, the walking distance is 25.\nFrom B to A, the walking distance is 23.\nFrom B to C, the walking distance is 47.\nFrom B to D, the walking distance is 38.\nFrom B to E, the walking distance is 36.\nFrom C to A, the walking distance is 39.\nFrom C to B, the walking distance is 47.\nFrom C to D, the walking distance is 29.\nFrom C to E, the walking distance is 48.\nFrom D to A, the walking distance is 34.\nFrom D to B, the walking distance is 38.\nFrom D to C, the walking distance is 29.\nFrom D to E, the walking distance is 29.\nFrom E to A, the walking distance is 25.\nFrom E to B, the walking distance is 36.\nFrom E to C, the walking distance is 48.\nFrom E to D, the walking distance is 29.\nAssign each plot to exactly one of the 1 opened sheds so the summed walking distance is minimized.\n\nIf you want to send the result back, just use this simple JSON layout so I can read it easily:\n\n{\n \"solution\": {\n \"selected\": [<shed_to_open>, <shed_to_open>, ...],\n \"assignments\": [<chosen_shed>, <chosen_shed>, ...]\n }\n}\n\nHere \"selected\" is where you list the shed locations you decide to open, and \"assignments\" lists, in the same order as the plots appear in the instance, which opened shed each plot is assigned to. Think of it like a short form: which sheds are open, and who goes to which shed.\n\nThis is just a sketch of the shape I expect, not the actual answer β fill the placeholders with the real IDs from the instance.\n\nAll identifiers must be used exactly as they appear in the instance input β no renaming and no new labels.\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
23,
39,
34,
25
],
[
23,
0,
47,
38,
36
],
[
39,
47,
0,
29,
48
],
[
34,
38,
29,
0,
29
],
[
25,
36,
48,
29,
0
]
],
"p": 1,
"objective": 121.0
},
"solution": {
"facilities": [
0
],
"assignments": [
0,
0,
0,
0,
0
]
},
"obj": 121.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 23,
"C": 39,
"D": 34,
"E": 25
}
},
{
"id": "B",
"distances": {
"A": 23,
"B": 0,
"C": 47,
"D": 38,
"E": 36
}
},
{
"id": "C",
"distances": {
"A": 39,
"B": 47,
"C": 0,
"D": 29,
"E": 48
}
},
{
"id": "D",
"distances": {
"A": 34,
"B": 38,
"C": 29,
"D": 0,
"E": 29
}
},
{
"id": "E",
"distances": {
"A": 25,
"B": 36,
"C": 48,
"D": 29,
"E": 0
}
}
],
"objective": 121.0
},
"solution_variant": {
"selected": [
"A"
],
"assignments": [
"A",
"A",
"A",
"A",
"A"
]
},
"context_index": 40,
"input_format": "nl",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Many people are helping coordinate mobile food stops, and the trick is selecting a preset number of stops from a list of possibilities. Once those stops are set, every block must be matched to exactly one stop, and the quality of the choice is measured by adding up each blockβs distance to its assigned stop β the smaller that grand total, the more efficient the plan. The exact list of locations and distances is given below.\n\nThere are 5 candidate locations; the coordinator must open exactly 1 stops chosen from 1, 2, 3, 4, 5.\nFrom 1 to 2, the travel distance is 25.\nFrom 1 to 3, the travel distance is 36.\nFrom 1 to 4, the travel distance is 37.\nFrom 1 to 5, the travel distance is 22.\nFrom 2 to 1, the travel distance is 25.\nFrom 2 to 3, the travel distance is 36.\nFrom 2 to 4, the travel distance is 30.\nFrom 2 to 5, the travel distance is 28.\nFrom 3 to 1, the travel distance is 36.\nFrom 3 to 2, the travel distance is 36.\nFrom 3 to 4, the travel distance is 37.\nFrom 3 to 5, the travel distance is 22.\nFrom 4 to 1, the travel distance is 37.\nFrom 4 to 2, the travel distance is 30.\nFrom 4 to 3, the travel distance is 37.\nFrom 4 to 5, the travel distance is 22.\nFrom 5 to 1, the travel distance is 22.\nFrom 5 to 2, the travel distance is 28.\nFrom 5 to 3, the travel distance is 22.\nFrom 5 to 4, the travel distance is 22.\nThese distances are used to sum each blockβs distance to its assigned stop and compare total costs for different choices of 1 stops among the 5 candidates.\n\nAlso, please structure your reply using this little JSON sketch so it's easy to parse:\n\n{\n \"solution\": {\n \"selected\": [<stop_to_open>, <stop_to_open>, ...],\n \"assignments\": [<chosen_open_stop>, <chosen_open_stop>, ...]\n }\n}\n\n\"selected\" is where you list which stops you decide to open (one placeholder per chosen stop). \"assignments\" is a matching list that, for each block in the original order, gives the open stop that block is assigned to. Think of it like filling out a simple form: which stops are open, and which open stop each block goes to.\n\nThis is just the shape I needβnot the real answer. Make sure to use the exact identifiers from the instance input when you fill this in β do not rename them or invent new labels.\n\n- for example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
25,
36,
37,
22
],
[
25,
0,
36,
30,
28
],
[
36,
36,
0,
37,
22
],
[
37,
30,
37,
0,
22
],
[
22,
28,
22,
22,
0
]
],
"p": 1,
"objective": 94.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4
]
},
"obj": 94.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 25,
"3": 36,
"4": 37,
"5": 22
}
},
{
"id": 2,
"distances": {
"1": 25,
"2": 0,
"3": 36,
"4": 30,
"5": 28
}
},
{
"id": 3,
"distances": {
"1": 36,
"2": 36,
"3": 0,
"4": 37,
"5": 22
}
},
{
"id": 4,
"distances": {
"1": 37,
"2": 30,
"3": 37,
"4": 0,
"5": 22
}
},
{
"id": 5,
"distances": {
"1": 22,
"2": 28,
"3": 22,
"4": 22,
"5": 0
}
}
],
"objective": 94.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5
]
},
"context_index": 41,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "A local clinic is planning to open a handful of satellite vaccine spots and needs to make two decisions: which fixed number of candidate locations to use, and which single chosen site each residential area will go to (no area left out, and none sent to more than one place). The practical test is to add up each areaβs travel distance to its assigned site; the setup with the lowest total travel wins. See the exact locations and distances below.\n\nThere are 5 distinct locations, the clinic must open exactly 1 sites, and the location IDs are 1, 2, 3, 4, 5.\nFrom location 1 to candidate site 2, the travel distance is 33.\nFrom location 1 to candidate site 3, the travel distance is 34.\nFrom location 1 to candidate site 4, the travel distance is 23.\nFrom location 1 to candidate site 5, the travel distance is 22.\nFrom location 2 to candidate site 1, the travel distance is 33.\nFrom location 2 to candidate site 3, the travel distance is 37.\nFrom location 2 to candidate site 4, the travel distance is 19.\nFrom location 2 to candidate site 5, the travel distance is 34.\nFrom location 3 to candidate site 1, the travel distance is 34.\nFrom location 3 to candidate site 2, the travel distance is 37.\nFrom location 3 to candidate site 4, the travel distance is 33.\nFrom location 3 to candidate site 5, the travel distance is 28.\nFrom location 4 to candidate site 1, the travel distance is 23.\nFrom location 4 to candidate site 2, the travel distance is 19.\nFrom location 4 to candidate site 3, the travel distance is 33.\nFrom location 4 to candidate site 5, the travel distance is 23.\nFrom location 5 to candidate site 1, the travel distance is 22.\nFrom location 5 to candidate site 2, the travel distance is 34.\nFrom location 5 to candidate site 3, the travel distance is 28.\nFrom location 5 to candidate site 4, the travel distance is 23.\nEvaluate assignments for opening 1 sites by summing each area's listed travel distances; the lowest total wins.\n\nTo keep things simple, here's the shape your answer should follow β just a quick JSON sketch of what I expect you to fill in.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_site>, <chosen_site>, ...]\n }\n}\n\n\"selected\" is where you list which candidate locations you'll open as vaccine spots. \"assignments\" is a one-to-one list (in the same order as the input areas) saying which opened site each area goes to. This JSON is just a template for the shape I want β not the real solution.\n\nAll identifiers in your actual answer must match the instance input exactly β do not rename them or invent new labels. \nValid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
33,
34,
23,
22
],
[
33,
0,
37,
19,
34
],
[
34,
37,
0,
33,
28
],
[
23,
19,
33,
0,
23
],
[
22,
34,
28,
23,
0
]
],
"p": 1,
"objective": 98.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3
]
},
"obj": 98.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 33,
"3": 34,
"4": 23,
"5": 22
}
},
{
"id": 2,
"distances": {
"1": 33,
"2": 0,
"3": 37,
"4": 19,
"5": 34
}
},
{
"id": 3,
"distances": {
"1": 34,
"2": 37,
"3": 0,
"4": 33,
"5": 28
}
},
{
"id": 4,
"distances": {
"1": 23,
"2": 19,
"3": 33,
"4": 0,
"5": 23
}
},
{
"id": 5,
"distances": {
"1": 22,
"2": 34,
"3": 28,
"4": 23,
"5": 0
}
}
],
"objective": 98.0
},
"solution_variant": {
"selected": [
4
],
"assignments": [
4,
4,
4,
4,
4
]
},
"context_index": 42,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "A friend on the facilities crew explained they have to pick a limited number of locations for bike repair stands and assign every campus building to one of the opened stands so studentsβ walks are reasonable. The job is to select those exact-number spots out of the candidates and make sure each building is matched to only one kiosk, then judge the choices by summing the walking distance for every building-to-kiosk pair β smaller sums mean fewer people walking far. The concrete details will be shown below.\n\nThere are 7 candidate kiosk spots, they must pick exactly 1 to open, and the location IDs are 0, 1, 2, 3, 4, 5, 6.\nFrom location 0 to candidate kiosk 1, the walking distance is 52.\nFrom location 0 to candidate kiosk 2, the walking distance is 64.\nFrom location 0 to candidate kiosk 3, the walking distance is 79.\nFrom location 0 to candidate kiosk 4, the walking distance is 54.\nFrom location 0 to candidate kiosk 5, the walking distance is 78.\nFrom location 0 to candidate kiosk 6, the walking distance is 58.\nFrom location 1 to candidate kiosk 0, the walking distance is 52.\nFrom location 1 to candidate kiosk 2, the walking distance is 62.\nFrom location 1 to candidate kiosk 3, the walking distance is 77.\nFrom location 1 to candidate kiosk 4, the walking distance is 23.\nFrom location 1 to candidate kiosk 5, the walking distance is 63.\nFrom location 1 to candidate kiosk 6, the walking distance is 70.\nFrom location 2 to candidate kiosk 0, the walking distance is 64.\nFrom location 2 to candidate kiosk 1, the walking distance is 62.\nFrom location 2 to candidate kiosk 3, the walking distance is 15.\nFrom location 2 to candidate kiosk 4, the walking distance is 75.\nFrom location 2 to candidate kiosk 5, the walking distance is 53.\nFrom location 2 to candidate kiosk 6, the walking distance is 57.\nFrom location 3 to candidate kiosk 0, the walking distance is 79.\nFrom location 3 to candidate kiosk 1, the walking distance is 77.\nFrom location 3 to candidate kiosk 2, the walking distance is 15.\nFrom location 3 to candidate kiosk 4, the walking distance is 78.\nFrom location 3 to candidate kiosk 5, the walking distance is 38.\nFrom location 3 to candidate kiosk 6, the walking distance is 72.\nFrom location 4 to candidate kiosk 0, the walking distance is 54.\nFrom location 4 to candidate kiosk 1, the walking distance is 23.\nFrom location 4 to candidate kiosk 2, the walking distance is 75.\nFrom location 4 to candidate kiosk 3, the walking distance is 78.\nFrom location 4 to candidate kiosk 5, the walking distance is 40.\nFrom location 4 to candidate kiosk 6, the walking distance is 54.\nFrom location 5 to candidate kiosk 0, the walking distance is 78.\nFrom location 5 to candidate kiosk 1, the walking distance is 63.\nFrom location 5 to candidate kiosk 2, the walking distance is 53.\nFrom location 5 to candidate kiosk 3, the walking distance is 38.\nFrom location 5 to candidate kiosk 4, the walking distance is 40.\nFrom location 5 to candidate kiosk 6, the walking distance is 92.\nFrom location 6 to candidate kiosk 0, the walking distance is 58.\nFrom location 6 to candidate kiosk 1, the walking distance is 70.\nFrom location 6 to candidate kiosk 2, the walking distance is 57.\nFrom location 6 to candidate kiosk 3, the walking distance is 72.\nFrom location 6 to candidate kiosk 4, the walking distance is 54.\nFrom location 6 to candidate kiosk 5, the walking distance is 92.\nThey'll sum these distances for every building-to-kiosk assignment to judge how reasonable the choices are.\n\nAlso, when you send the picked spots back, it'd be great if you stick to this simple JSON layout so it's easy to load and check:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThis is just a sketch of the shape I need:\n- \"selected\" is the list of kiosk locations you decide to open.\n- \"assignments\" lists, for every campus building (in the same order as the instance), which opened kiosk that building is assigned to.\n\nQuick note: that JSON is only the expected shape, not the actual answer β fill in the real identifiers from the instance when you respond. And please use the exact identifiers from the input with no renaming or new labels β they need to match exactly as given. \n\n- for example: \"Valid identifiers look like plain numbers such as \"1\" or \"23\", single capital letters like \"A\" or \"B\", or a capital letter followed by digits like \"A1\" or \"X7\".\"",
"instance": {
"distance_matrix": [
[
0,
52,
64,
79,
54,
78,
58
],
[
52,
0,
62,
77,
23,
63,
70
],
[
64,
62,
0,
15,
75,
53,
57
],
[
79,
77,
15,
0,
78,
38,
72
],
[
54,
23,
75,
78,
0,
40,
54
],
[
78,
63,
53,
38,
40,
0,
92
],
[
58,
70,
57,
72,
54,
92,
0
]
],
"p": 1,
"objective": 324.0
},
"solution": {
"facilities": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"obj": 324.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 52,
"2": 64,
"3": 79,
"4": 54,
"5": 78,
"6": 58
}
},
{
"id": 1,
"distances": {
"0": 52,
"1": 0,
"2": 62,
"3": 77,
"4": 23,
"5": 63,
"6": 70
}
},
{
"id": 2,
"distances": {
"0": 64,
"1": 62,
"2": 0,
"3": 15,
"4": 75,
"5": 53,
"6": 57
}
},
{
"id": 3,
"distances": {
"0": 79,
"1": 77,
"2": 15,
"3": 0,
"4": 78,
"5": 38,
"6": 72
}
},
{
"id": 4,
"distances": {
"0": 54,
"1": 23,
"2": 75,
"3": 78,
"4": 0,
"5": 40,
"6": 54
}
},
{
"id": 5,
"distances": {
"0": 78,
"1": 63,
"2": 53,
"3": 38,
"4": 40,
"5": 0,
"6": 92
}
},
{
"id": 6,
"distances": {
"0": 58,
"1": 70,
"2": 57,
"3": 72,
"4": 54,
"5": 92,
"6": 0
}
}
],
"objective": 324.0
},
"solution_variant": {
"selected": [
4
],
"assignments": [
4,
4,
4,
4,
4,
4,
4
]
},
"context_index": 43,
"input_format": "markdown_table",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Back at the office the task is to pick a set number of food bank satellite sites from a given list and make one-to-one links between each community zone and an open site. The better arrangement is the one that minimizes how far everyone has to go overall: measure the distance for each zone to its assigned site, add those distances together, and the smallest sum is best. Each zone must be assigned to exactly one open site, and only the listed properties can be used. The exact locations and travel distances are provided below.\n\n# total_locations=8\n# satellites_to_open=1\n# location_ids=0, 1, 2, 3, 4, 5, 6, 7\nfrom_location_id,to_location_id,travel_distance\n0,1,41\n0,2,35\n0,3,31\n0,4,38\n0,5,24\n0,6,28\n0,7,31\n1,0,41\n1,2,67\n1,3,40\n1,4,53\n1,5,51\n1,6,37\n1,7,65\n2,0,35\n2,1,67\n2,3,50\n2,4,51\n2,5,34\n2,6,38\n2,7,55\n3,0,31\n3,1,40\n3,2,50\n3,4,57\n3,5,37\n3,6,23\n3,7,54\n4,0,38\n4,1,53\n4,2,51\n4,3,57\n4,5,47\n4,6,38\n4,7,46\n5,0,24\n5,1,51\n5,2,34\n5,3,37\n5,4,47\n5,6,14\n5,7,45\n6,0,28\n6,1,37\n6,2,38\n6,3,23\n6,4,38\n6,5,14\n6,7,49\n7,0,31\n7,1,65\n7,2,55\n7,3,54\n7,4,46\n7,5,45\n7,6,49\n\nAlso, to keep things machine-friendly, please return the final choice in this simple JSON shape (just a quick heads-up β it's just the shape, not the answer itself):\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThink of \"selected\" as the list of satellite sites we decide to open, and \"assignments\" as, for each community zone (in the same order as the input), which open site that zone is linked to. Super casual: picked sites go in the selected list; every zone points to one of those picked sites in the assignments list.\n\nThis JSON is just a sketch of the expected shape, not the actual filled-in answer. Please make sure to use the exact identifiers from the instance input β do not rename them or invent new labels. \n\nValid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
41,
35,
31,
38,
24,
28,
31
],
[
41,
0,
67,
40,
53,
51,
37,
65
],
[
35,
67,
0,
50,
51,
34,
38,
55
],
[
31,
40,
50,
0,
57,
37,
23,
54
],
[
38,
53,
51,
57,
0,
47,
38,
46
],
[
24,
51,
34,
37,
47,
0,
14,
45
],
[
28,
37,
38,
23,
38,
14,
0,
49
],
[
31,
65,
55,
54,
46,
45,
49,
0
]
],
"p": 1,
"objective": 227.0
},
"solution": {
"facilities": [
6
],
"assignments": [
6,
6,
6,
6,
6,
6,
6,
6
]
},
"obj": 227.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 8,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 41,
"2": 35,
"3": 31,
"4": 38,
"5": 24,
"6": 28,
"7": 31
}
},
{
"id": 1,
"distances": {
"0": 41,
"1": 0,
"2": 67,
"3": 40,
"4": 53,
"5": 51,
"6": 37,
"7": 65
}
},
{
"id": 2,
"distances": {
"0": 35,
"1": 67,
"2": 0,
"3": 50,
"4": 51,
"5": 34,
"6": 38,
"7": 55
}
},
{
"id": 3,
"distances": {
"0": 31,
"1": 40,
"2": 50,
"3": 0,
"4": 57,
"5": 37,
"6": 23,
"7": 54
}
},
{
"id": 4,
"distances": {
"0": 38,
"1": 53,
"2": 51,
"3": 57,
"4": 0,
"5": 47,
"6": 38,
"7": 46
}
},
{
"id": 5,
"distances": {
"0": 24,
"1": 51,
"2": 34,
"3": 37,
"4": 47,
"5": 0,
"6": 14,
"7": 45
}
},
{
"id": 6,
"distances": {
"0": 28,
"1": 37,
"2": 38,
"3": 23,
"4": 38,
"5": 14,
"6": 0,
"7": 49
}
},
{
"id": 7,
"distances": {
"0": 31,
"1": 65,
"2": 55,
"3": 54,
"4": 46,
"5": 45,
"6": 49,
"7": 0
}
}
],
"objective": 227.0
},
"solution_variant": {
"selected": [
6
],
"assignments": [
6,
6,
6,
6,
6,
6,
6,
6
]
},
"context_index": 44,
"input_format": "csv",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Iβm the transit planner trying to pick a handful of park-and-ride sites from a bigger list, then link every suburb to one of the opened sites so people can drive there before hopping on transit. The trick is to pick exactly the allowed number of lots and make sure every suburb is sent to oneβand only oneβof those open lots. A better plan is simply the one where, when all the suburbsβ trips are added up, the total miles (or minutes) people drive to their assigned lot is as small as possible. The actual candidate lots, suburbs and the distances between them are shown below.\n\n# total_locations=6\n# num_lots_to_open=1\n# location_ids=A, B, C, D, E, F\nfrom_location_id,to_location_id,drive_distance\nA,B,36\nA,C,4\nA,D,34\nA,E,29\nA,F,30\nB,A,36\nB,C,37\nB,D,34\nB,E,51\nB,F,41\nC,A,4\nC,B,37\nC,D,33\nC,E,33\nC,F,32\nD,A,34\nD,B,34\nD,C,33\nD,E,43\nD,F,38\nE,A,29\nE,B,51\nE,C,33\nE,D,43\nE,F,46\nF,A,30\nF,B,41\nF,C,32\nF,D,38\nF,E,46\n\nAlso, when you send back the plan, just stick to this simple JSON shape so I can read it automatically:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nThis is just a sketch of the shape I need. \"selected\" is where you list the lots you choose to open (one placeholder per chosen lot), and \"assignments\" lists, for every suburb in the same order as the instance input, which opened lot that suburb is sent to. Keep it casualβthink of \"selected\" as the checked boxes and \"assignments\" as the dropdown choices next to each suburb.\n\nPlease donβt rename any of the actual identifiers from the instance input when you fill this in β use them exactly as given, and donβt introduce new labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
36,
4,
34,
29,
30
],
[
36,
0,
37,
34,
51,
41
],
[
4,
37,
0,
33,
33,
32
],
[
34,
34,
33,
0,
43,
38
],
[
29,
51,
33,
43,
0,
46
],
[
30,
41,
32,
38,
46,
0
]
],
"p": 1,
"objective": 133.0
},
"solution": {
"facilities": [
0
],
"assignments": [
0,
0,
0,
0,
0,
0
]
},
"obj": 133.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": "A",
"distances": {
"A": 0,
"B": 36,
"C": 4,
"D": 34,
"E": 29,
"F": 30
}
},
{
"id": "B",
"distances": {
"A": 36,
"B": 0,
"C": 37,
"D": 34,
"E": 51,
"F": 41
}
},
{
"id": "C",
"distances": {
"A": 4,
"B": 37,
"C": 0,
"D": 33,
"E": 33,
"F": 32
}
},
{
"id": "D",
"distances": {
"A": 34,
"B": 34,
"C": 33,
"D": 0,
"E": 43,
"F": 38
}
},
{
"id": "E",
"distances": {
"A": 29,
"B": 51,
"C": 33,
"D": 43,
"E": 0,
"F": 46
}
},
{
"id": "F",
"distances": {
"A": 30,
"B": 41,
"C": 32,
"D": 38,
"E": 46,
"F": 0
}
}
],
"objective": 133.0
},
"solution_variant": {
"selected": [
"A"
],
"assignments": [
"A",
"A",
"A",
"A",
"A",
"A"
]
},
"context_index": 45,
"input_format": "csv",
"input_index_base": "names"
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Recently the parks team was asked to pick a set number of clearings for dog play areas and to route every neighborhood park to a single chosen site. The aim is to minimize how far everyone walks overall β computed by summing each parkβs distance to the play area itβs sent to. Practically, that means opening exactly the allotted number of clearings and assigning each park to one, and only one, open play area so nothingβs left out or doubled. The concrete map and distance numbers follow below.\n\n{\n \"total_locations\": 6,\n \"play_areas_to_open\": 1,\n \"location_ids\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"data\": [\n {\n \"source_park_id\": 0,\n \"target_clearing_id\": 1,\n \"travel_distance\": 93\n },\n {\n \"source_park_id\": 0,\n \"target_clearing_id\": 2,\n \"travel_distance\": 111\n },\n {\n \"source_park_id\": 0,\n \"target_clearing_id\": 3,\n \"travel_distance\": 53\n },\n {\n \"source_park_id\": 0,\n \"target_clearing_id\": 4,\n \"travel_distance\": 63\n },\n {\n \"source_park_id\": 0,\n \"target_clearing_id\": 5,\n \"travel_distance\": 47\n },\n {\n \"source_park_id\": 1,\n \"target_clearing_id\": 0,\n \"travel_distance\": 93\n },\n {\n \"source_park_id\": 1,\n \"target_clearing_id\": 2,\n \"travel_distance\": 138\n },\n {\n \"source_park_id\": 1,\n \"target_clearing_id\": 3,\n \"travel_distance\": 56\n },\n {\n \"source_park_id\": 1,\n \"target_clearing_id\": 4,\n \"travel_distance\": 30\n },\n {\n \"source_park_id\": 1,\n \"target_clearing_id\": 5,\n \"travel_distance\": 50\n },\n {\n \"source_park_id\": 2,\n \"target_clearing_id\": 0,\n \"travel_distance\": 111\n },\n {\n \"source_park_id\": 2,\n \"target_clearing_id\": 1,\n \"travel_distance\": 138\n },\n {\n \"source_park_id\": 2,\n \"target_clearing_id\": 3,\n \"travel_distance\": 158\n },\n {\n \"source_park_id\": 2,\n \"target_clearing_id\": 4,\n \"travel_distance\": 165\n },\n {\n \"source_park_id\": 2,\n \"target_clearing_id\": 5,\n \"travel_distance\": 152\n },\n {\n \"source_park_id\": 3,\n \"target_clearing_id\": 0,\n \"travel_distance\": 53\n },\n {\n \"source_park_id\": 3,\n \"target_clearing_id\": 1,\n \"travel_distance\": 56\n },\n {\n \"source_park_id\": 3,\n \"target_clearing_id\": 2,\n \"travel_distance\": 158\n },\n {\n \"source_park_id\": 3,\n \"target_clearing_id\": 4,\n \"travel_distance\": 26\n },\n {\n \"source_park_id\": 3,\n \"target_clearing_id\": 5,\n \"travel_distance\": 10\n },\n {\n \"source_park_id\": 4,\n \"target_clearing_id\": 0,\n \"travel_distance\": 63\n },\n {\n \"source_park_id\": 4,\n \"target_clearing_id\": 1,\n \"travel_distance\": 30\n },\n {\n \"source_park_id\": 4,\n \"target_clearing_id\": 2,\n \"travel_distance\": 165\n },\n {\n \"source_park_id\": 4,\n \"target_clearing_id\": 3,\n \"travel_distance\": 26\n },\n {\n \"source_park_id\": 4,\n \"target_clearing_id\": 5,\n \"travel_distance\": 20\n },\n {\n \"source_park_id\": 5,\n \"target_clearing_id\": 0,\n \"travel_distance\": 47\n },\n {\n \"source_park_id\": 5,\n \"target_clearing_id\": 1,\n \"travel_distance\": 50\n },\n {\n \"source_park_id\": 5,\n \"target_clearing_id\": 2,\n \"travel_distance\": 152\n },\n {\n \"source_park_id\": 5,\n \"target_clearing_id\": 3,\n \"travel_distance\": 10\n },\n {\n \"source_park_id\": 5,\n \"target_clearing_id\": 4,\n \"travel_distance\": 20\n }\n ]\n}\n\nAlso, when you send the actual answer, please follow this simple JSON layout so I can read it easily β just a casual sketch of the shape we expect:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\n\"selected\" is where you list which clearings (the play-area sites) you decide to open. \"assignments\" is a parallel list that says, for each park in the same order they appear in the instance, which open site that park is routed to. Super informal: \"selected\" = open spots, \"assignments\" = which open spot each park uses.\n\nThis is just the shape I want, not the actual solution values.\n\nPlease use the exact identifiers from the instance input β do not rename them or invent new labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
93,
111,
53,
63,
47
],
[
93,
0,
138,
56,
30,
50
],
[
111,
138,
0,
158,
165,
152
],
[
53,
56,
158,
0,
26,
10
],
[
63,
30,
165,
26,
0,
20
],
[
47,
50,
152,
10,
20,
0
]
],
"p": 1,
"objective": 279.0
},
"solution": {
"facilities": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"obj": 279.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 6,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 93,
"2": 111,
"3": 53,
"4": 63,
"5": 47
}
},
{
"id": 1,
"distances": {
"0": 93,
"1": 0,
"2": 138,
"3": 56,
"4": 30,
"5": 50
}
},
{
"id": 2,
"distances": {
"0": 111,
"1": 138,
"2": 0,
"3": 158,
"4": 165,
"5": 152
}
},
{
"id": 3,
"distances": {
"0": 53,
"1": 56,
"2": 158,
"3": 0,
"4": 26,
"5": 10
}
},
{
"id": 4,
"distances": {
"0": 63,
"1": 30,
"2": 165,
"3": 26,
"4": 0,
"5": 20
}
},
{
"id": 5,
"distances": {
"0": 47,
"1": 50,
"2": 152,
"3": 10,
"4": 20,
"5": 0
}
}
],
"objective": 279.0
},
"solution_variant": {
"selected": [
5
],
"assignments": [
5,
5,
5,
5,
5,
5
]
},
"context_index": 46,
"input_format": "json",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Out in town there are several possible spots for water refill points, but only a limited number can be activated. The task is to choose which spots to open and assign every block to one of the opened spots so that no block is left without a single assigned station. The best choice is the one that makes the combined travel as small as possible: calculate the planβs score by adding up the distance from each block to its assigned station, and the lower that sum, the better. The exact site options and pairwise distances are listed below.\n\nThere are 5 candidate locations, exactly 1 stations may be activated, and the location identifiers are 0, 1, 2, 3, 4.\nTravel distance from 0 to 1 is 32.\nTravel distance from 0 to 2 is 26.\nTravel distance from 0 to 3 is 9.\nTravel distance from 0 to 4 is 29.\nTravel distance from 1 to 0 is 32.\nTravel distance from 1 to 2 is 8.\nTravel distance from 1 to 3 is 25.\nTravel distance from 1 to 4 is 32.\nTravel distance from 2 to 0 is 26.\nTravel distance from 2 to 1 is 8.\nTravel distance from 2 to 3 is 18.\nTravel distance from 2 to 4 is 27.\nTravel distance from 3 to 0 is 9.\nTravel distance from 3 to 1 is 25.\nTravel distance from 3 to 2 is 18.\nTravel distance from 3 to 4 is 27.\nTravel distance from 4 to 0 is 29.\nTravel distance from 4 to 1 is 32.\nTravel distance from 4 to 2 is 27.\nTravel distance from 4 to 3 is 27.\nUse these distances to sum the travel from every block to its assigned station and obtain the planβs score for opening 1 stations.\n\nIf you want to share a proposed plan, just drop it in this simple JSON shape so I can read it easily β something like:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_open_site>, <chosen_open_site>, ...]\n }\n}\n\nHere \"selected\" is the list of refill spots you decide to open, and \"assignments\" is a matching list that says, for each block, which opened spot it should use. Think of it like filling out a little form: pick the sites to activate, then point every block to one of them. This JSON is just a sketch of the expected shape, not the actual answer β I'll need the real identifiers from the instance to compute the best plan.\n\nPlease make sure all identifiers in your reply match exactly what's in the instance input β do not rename or invent labels. Valid identifiers look like plain numbers such as \"1\" or \"23\", single capital letters like \"A\" or \"B\", or a capital letter followed by digits like \"A1\" or \"X7\".",
"instance": {
"distance_matrix": [
[
0,
32,
26,
9,
29
],
[
32,
0,
8,
25,
32
],
[
26,
8,
0,
18,
27
],
[
9,
25,
18,
0,
27
],
[
29,
32,
27,
27,
0
]
],
"p": 1,
"objective": 79.0
},
"solution": {
"facilities": [
3
],
"assignments": [
3,
3,
3,
3,
3
]
},
"obj": 79.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 32,
"2": 26,
"3": 9,
"4": 29
}
},
{
"id": 1,
"distances": {
"0": 32,
"1": 0,
"2": 8,
"3": 25,
"4": 32
}
},
{
"id": 2,
"distances": {
"0": 26,
"1": 8,
"2": 0,
"3": 18,
"4": 27
}
},
{
"id": 3,
"distances": {
"0": 9,
"1": 25,
"2": 18,
"3": 0,
"4": 27
}
},
{
"id": 4,
"distances": {
"0": 29,
"1": 32,
"2": 27,
"3": 27,
"4": 0
}
}
],
"objective": 79.0
},
"solution_variant": {
"selected": [
3
],
"assignments": [
3,
3,
3,
3,
3
]
},
"context_index": 47,
"input_format": "markdown_table",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "On a slow afternoon the ops manager was sketching a map: pick a fixed number of stroller rental kiosks from the suggested sites and link each entrance area to a single open kiosk (nothing gets left out or doubled up). The practical yardstick is clear β for each entrance figure the walk to its linked kiosk, sum all those walks, and the arrangement with the smallest total walking distance makes shoppers happiest. The detailed site options and distances are given below.\n\nThe ops manager recorded 5 total locations, must open 1 kiosks, and listed the locations as 0, 1, 2, 3, 4.\nEntrance 0 to kiosk 1: walking distance 120.\nEntrance 0 to kiosk 2: walking distance 92.\nEntrance 0 to kiosk 3: walking distance 75.\nEntrance 0 to kiosk 4: walking distance 91.\nEntrance 1 to kiosk 0: walking distance 120.\nEntrance 1 to kiosk 2: walking distance 85.\nEntrance 1 to kiosk 3: walking distance 106.\nEntrance 1 to kiosk 4: walking distance 84.\nEntrance 2 to kiosk 0: walking distance 92.\nEntrance 2 to kiosk 1: walking distance 85.\nEntrance 2 to kiosk 3: walking distance 89.\nEntrance 2 to kiosk 4: walking distance 93.\nEntrance 3 to kiosk 0: walking distance 75.\nEntrance 3 to kiosk 1: walking distance 106.\nEntrance 3 to kiosk 2: walking distance 89.\nEntrance 3 to kiosk 4: walking distance 97.\nEntrance 4 to kiosk 0: walking distance 91.\nEntrance 4 to kiosk 1: walking distance 84.\nEntrance 4 to kiosk 2: walking distance 93.\nEntrance 4 to kiosk 3: walking distance 97.\nThe ops manager will sum these walking distances to evaluate and choose the 1-kiosk arrangement among the 5 locations that minimizes total walking.\n\nIf you want the answer in a neat, machine-friendly shape, just follow this relaxed JSON layout β nothing fancy, just a simple form that matches the story:\n\n{\n \"solution\": {\n \"selected\": [\"<site_to_open>\", \"<site_to_open>\", ...],\n \"assignments\": [\"<linked_kiosk>\", \"<linked_kiosk>\", ...]\n }\n}\n\n\"selected\" is where you'd list the kiosk sites you decide to open (placeholders for the actual site identifiers). \"assignments\" lists, for each entrance, which opened kiosk that entrance is linked to β again placeholders showing the shape. Think of it like filling out a little form: which kiosks are open, and which kiosk each entrance walks to.\n\nThis JSON is just a sketch of the expected shape, not the real answer.\n\nPlease use the exact identifiers from the instance input β do not rename them or invent new labels. Valid identifiers look like plain numbers such as \"1\" or \"23\", single capital letters like \"A\" or \"B\", or a capital letter followed by digits like \"A1\" or \"X7\".",
"instance": {
"distance_matrix": [
[
0,
120,
92,
75,
91
],
[
120,
0,
85,
106,
84
],
[
92,
85,
0,
89,
93
],
[
75,
106,
89,
0,
97
],
[
91,
84,
93,
97,
0
]
],
"p": 1,
"objective": 359.0
},
"solution": {
"facilities": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"obj": 359.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 120,
"2": 92,
"3": 75,
"4": 91
}
},
{
"id": 1,
"distances": {
"0": 120,
"1": 0,
"2": 85,
"3": 106,
"4": 84
}
},
{
"id": 2,
"distances": {
"0": 92,
"1": 85,
"2": 0,
"3": 89,
"4": 93
}
},
{
"id": 3,
"distances": {
"0": 75,
"1": 106,
"2": 89,
"3": 0,
"4": 97
}
},
{
"id": 4,
"distances": {
"0": 91,
"1": 84,
"2": 93,
"3": 97,
"4": 0
}
}
],
"objective": 359.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2
]
},
"context_index": 48,
"input_format": "markdown_table",
"input_index_base": 0
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Back in the planning meeting the job was to pick a fixed number of pop-up locations from several candidate spots and assign every attending neighborhood to one chosen stall. What counts as a better plan is how little it makes everyone travel overall: for each neighborhood take its distance to the stall itβs assigned to, sum those distances across all neighborhoods, and pick the arrangement with the lowest total. Every neighborhood must be assigned to exactly one open stall, and the number of stalls is set in advance. The detailed list of locations and pairwise distances is provided below.\n\nBelow are the 7 locations; exactly 1 stalls must be opened from these identifiers: 1, 2, 3, 4, 5, 6, 7.\nDistance from 1 to 2 is 36.\nDistance from 1 to 3 is 46.\nDistance from 1 to 4 is 47.\nDistance from 1 to 5 is 41.\nDistance from 1 to 6 is 38.\nDistance from 1 to 7 is 38.\nDistance from 2 to 1 is 36.\nDistance from 2 to 3 is 28.\nDistance from 2 to 4 is 28.\nDistance from 2 to 5 is 30.\nDistance from 2 to 6 is 25.\nDistance from 2 to 7 is 9.\nDistance from 3 to 1 is 46.\nDistance from 3 to 2 is 28.\nDistance from 3 to 4 is 28.\nDistance from 3 to 5 is 24.\nDistance from 3 to 6 is 28.\nDistance from 3 to 7 is 27.\nDistance from 4 to 1 is 47.\nDistance from 4 to 2 is 28.\nDistance from 4 to 3 is 28.\nDistance from 4 to 5 is 29.\nDistance from 4 to 6 is 32.\nDistance from 4 to 7 is 28.\nDistance from 5 to 1 is 41.\nDistance from 5 to 2 is 30.\nDistance from 5 to 3 is 24.\nDistance from 5 to 4 is 29.\nDistance from 5 to 6 is 30.\nDistance from 5 to 7 is 33.\nDistance from 6 to 1 is 38.\nDistance from 6 to 2 is 25.\nDistance from 6 to 3 is 28.\nDistance from 6 to 4 is 32.\nDistance from 6 to 5 is 30.\nDistance from 6 to 7 is 22.\nDistance from 7 to 1 is 38.\nDistance from 7 to 2 is 9.\nDistance from 7 to 3 is 27.\nDistance from 7 to 4 is 28.\nDistance from 7 to 5 is 33.\nDistance from 7 to 6 is 22.\nUse these pairwise distances to compute the total travel for any arrangement with 1 open stalls among the 7 locations.\n\nIf you want the final reply in a simple machine-friendly shape, just follow this little JSON sketch for how I expect the answer to be laid out.\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<chosen_site_to_open>, <chosen_site_to_open>, ...]\n }\n}\n\nThis is just a template showing the shape I expect: \"selected\" lists which pop-up stalls you decide to open, and \"assignments\" lists, for every neighborhood in the same order as the instance input, which opened stall that neighborhood is assigned to. Think of it like a short form: pick the open sites, then say which site each neighborhood goes to.\n\nThis JSON is only a sketch of the expected shape, not the actual answer. Also, be sure to use the exact identifiers from the instance input β don't rename them or invent new labels. Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.",
"instance": {
"distance_matrix": [
[
0,
36,
46,
47,
41,
38,
38
],
[
36,
0,
28,
28,
30,
25,
9
],
[
46,
28,
0,
28,
24,
28,
27
],
[
47,
28,
28,
0,
29,
32,
28
],
[
41,
30,
24,
29,
0,
30,
33
],
[
38,
25,
28,
32,
30,
0,
22
],
[
38,
9,
27,
28,
33,
22,
0
]
],
"p": 1,
"objective": 156.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1,
1,
1
]
},
"obj": 156.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 7,
"num_open": 1,
"sites": [
{
"id": 1,
"distances": {
"1": 0,
"2": 36,
"3": 46,
"4": 47,
"5": 41,
"6": 38,
"7": 38
}
},
{
"id": 2,
"distances": {
"1": 36,
"2": 0,
"3": 28,
"4": 28,
"5": 30,
"6": 25,
"7": 9
}
},
{
"id": 3,
"distances": {
"1": 46,
"2": 28,
"3": 0,
"4": 28,
"5": 24,
"6": 28,
"7": 27
}
},
{
"id": 4,
"distances": {
"1": 47,
"2": 28,
"3": 28,
"4": 0,
"5": 29,
"6": 32,
"7": 28
}
},
{
"id": 5,
"distances": {
"1": 41,
"2": 30,
"3": 24,
"4": 29,
"5": 0,
"6": 30,
"7": 33
}
},
{
"id": 6,
"distances": {
"1": 38,
"2": 25,
"3": 28,
"4": 32,
"5": 30,
"6": 0,
"7": 22
}
},
{
"id": 7,
"distances": {
"1": 38,
"2": 9,
"3": 27,
"4": 28,
"5": 33,
"6": 22,
"7": 0
}
}
],
"objective": 156.0
},
"solution_variant": {
"selected": [
2
],
"assignments": [
2,
2,
2,
2,
2,
2,
2
]
},
"context_index": 49,
"input_format": "markdown_table",
"input_index_base": 1
},
{
"task_name": "PMED",
"problem_type": "PMED",
"instruction": "Around town the goal is to open a set number of recycling dropβoff sites chosen from several possible places, and then link every residential block to one of the opened sites β every block must have one assignment and only one. The best arrangement is simply the one that keeps the total walking or driving distance lowest: sum the distance for every block to its assigned site, and pick the setup with the smallest total. The full list of candidate locations and the distance data is shown below.\n\nThere are 5 locations listed; exactly 1 drop-off centers must be opened, and the location identifiers are 0, 1, 2, 3, 4.\nDistance from 0 to 1 is 52.\nDistance from 0 to 2 is 66.\nDistance from 0 to 3 is 62.\nDistance from 0 to 4 is 71.\nDistance from 1 to 0 is 52.\nDistance from 1 to 2 is 37.\nDistance from 1 to 3 is 43.\nDistance from 1 to 4 is 49.\nDistance from 2 to 0 is 66.\nDistance from 2 to 1 is 37.\nDistance from 2 to 3 is 60.\nDistance from 2 to 4 is 65.\nDistance from 3 to 0 is 62.\nDistance from 3 to 1 is 43.\nDistance from 3 to 2 is 60.\nDistance from 3 to 4 is 53.\nDistance from 4 to 0 is 71.\nDistance from 4 to 1 is 49.\nDistance from 4 to 2 is 65.\nDistance from 4 to 3 is 53.\nThese pairwise travel distances are provided to compute assignments and select the arrangement with the lowest total travel.\n\nI'll return the result in a small JSON object so it's easy to read and plug into whatever you use next. Here's the shape I'll follow:\n\n{\n \"solution\": {\n \"selected\": [<site_to_open>, <site_to_open>, ...],\n \"assignments\": [<assigned_site>, <assigned_site>, ...]\n }\n}\n\n\"selected\" is the list of drop-off sites we decide to open. \"assignments\" is a list that, in order, tells which opened site each residential block is assigned to (one entry per block). This is just a sketch of the expected format, not the actual final answer.\n\nPlease use the exact identifiers from the instance input β do not rename them or invent new labels. For example: \"Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.\"",
"instance": {
"distance_matrix": [
[
0,
52,
66,
62,
71
],
[
52,
0,
37,
43,
49
],
[
66,
37,
0,
60,
65
],
[
62,
43,
60,
0,
53
],
[
71,
49,
65,
53,
0
]
],
"p": 1,
"objective": 181.0
},
"solution": {
"facilities": [
1
],
"assignments": [
1,
1,
1,
1,
1
]
},
"obj": 181.0,
"instance_variant": {
"problem_type": "PMED",
"num_nodes": 5,
"num_open": 1,
"sites": [
{
"id": 0,
"distances": {
"0": 0,
"1": 52,
"2": 66,
"3": 62,
"4": 71
}
},
{
"id": 1,
"distances": {
"0": 52,
"1": 0,
"2": 37,
"3": 43,
"4": 49
}
},
{
"id": 2,
"distances": {
"0": 66,
"1": 37,
"2": 0,
"3": 60,
"4": 65
}
},
{
"id": 3,
"distances": {
"0": 62,
"1": 43,
"2": 60,
"3": 0,
"4": 53
}
},
{
"id": 4,
"distances": {
"0": 71,
"1": 49,
"2": 65,
"3": 53,
"4": 0
}
}
],
"objective": 181.0
},
"solution_variant": {
"selected": [
1
],
"assignments": [
1,
1,
1,
1,
1
]
},
"context_index": 50,
"input_format": "markdown_table",
"input_index_base": 0
}
] |