File size: 353,718 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 | task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base
RCPSP,RCPSP,"We’re managing a construction schedule where every task takes a fixed amount of time, uses some limited crews and machines while it’s underway, and a few tasks must wait for others to finish first. The choice is simple in concept: give each task a start time (exactly once), make sure overlapping tasks don’t exceed the available crews or gear, and arrange things so the whole project’s completion — the time the final task ends — happens as soon as possible. The specific jobs, resource limits, and precedence notes follow below.
We have 11 activities, 3 resource types, and resource capacities .
| resource_id | capacity |
|---|---|
| A | 8 |
| B | 11 |
| C | 12 |
| activity_id | activity_duration | resource_demands | successor_activities |
|---|---|---|---|
| T1 | 10 | 7, 1, 7 | T5, T6 |
| T2 | 11 | 5, 4, 8 | T7, T8 |
| T3 | 3 | 2, 3, 4 | T5, T6 |
| T4 | 3 | 3, 6, 5 | T5, T6 |
| T5 | 2 | 3, 3, 3 | T9 |
| T6 | 3 | 5, 3, 6 | none |
| T7 | 2 | 3, 3, 1 | T9 |
| T8 | 2 | 3, 1, 6 | T9 |
| T9 | 2 | 1, 3, 4 | none |
| T10 | 7 | 2, 4, 5 | T11, T2, T8 |
| T11 | 5 | 2, 3, 8 | T7, T2, T9 |
We'll assign exactly one start time per activity so concurrent demands never exceed and the project finishes as early as possible.
When you send the schedule back, just use this simple JSON shape so everything’s clear and machine-friendly — nothing fancy, just that layout.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that like a little form: ""solution"" is the list of scheduled jobs, and each job record says which task it is and when it starts and ends. Keep it light — the JSON above is just the shape I expect, not the filled-in schedule.
Please make sure to use the exact identifiers from the instance input — do not rename tasks 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [8, 11, 12], 'tasks': [{'duration': 10, 'demands': [7, 1, 7], 'successors': [4, 5]}, {'duration': 11, 'demands': [5, 4, 8], 'successors': [6, 7]}, {'duration': 3, 'demands': [2, 3, 4], 'successors': [4, 5]}, {'duration': 3, 'demands': [3, 6, 5], 'successors': [4, 5]}, {'duration': 2, 'demands': [3, 3, 3], 'successors': [8]}, {'duration': 3, 'demands': [5, 3, 6], 'successors': []}, {'duration': 2, 'demands': [3, 3, 1], 'successors': [8]}, {'duration': 2, 'demands': [3, 1, 6], 'successors': [8]}, {'duration': 2, 'demands': [1, 3, 4], 'successors': []}, {'duration': 7, 'demands': [2, 4, 5], 'successors': [10, 1, 7]}, {'duration': 5, 'demands': [2, 3, 8], 'successors': [6, 1, 8]}]}","[{'task': 0, 'start': 12, 'end': 22, 'duration': 10, 'demands': [7, 1, 7]}, {'task': 1, 'start': 22, 'end': 33, 'duration': 11, 'demands': [5, 4, 8]}, {'task': 2, 'start': 3, 'end': 6, 'duration': 3, 'demands': [2, 3, 4]}, {'task': 3, 'start': 0, 'end': 3, 'duration': 3, 'demands': [3, 6, 5]}, {'task': 4, 'start': 22, 'end': 24, 'duration': 2, 'demands': [3, 3, 3]}, {'task': 5, 'start': 35, 'end': 38, 'duration': 3, 'demands': [5, 3, 6]}, {'task': 6, 'start': 33, 'end': 35, 'duration': 2, 'demands': [3, 3, 1]}, {'task': 7, 'start': 33, 'end': 35, 'duration': 2, 'demands': [3, 1, 6]}, {'task': 8, 'start': 35, 'end': 37, 'duration': 2, 'demands': [1, 3, 4]}, {'task': 9, 'start': 0, 'end': 7, 'duration': 7, 'demands': [2, 4, 5]}, {'task': 10, 'start': 7, 'end': 12, 'duration': 5, 'demands': [2, 3, 8]}]",38.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 8}, {'resource_id': 'B', 'capacity': 11}, {'resource_id': 'C', 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 10, 'demands': [7, 1, 7], 'successors': ['T5', 'T6']}, {'task_id': 'T2', 'duration': 11, 'demands': [5, 4, 8], 'successors': ['T7', 'T8']}, {'task_id': 'T3', 'duration': 3, 'demands': [2, 3, 4], 'successors': ['T5', 'T6']}, {'task_id': 'T4', 'duration': 3, 'demands': [3, 6, 5], 'successors': ['T5', 'T6']}, {'task_id': 'T5', 'duration': 2, 'demands': [3, 3, 3], 'successors': ['T9']}, {'task_id': 'T6', 'duration': 3, 'demands': [5, 3, 6], 'successors': []}, {'task_id': 'T7', 'duration': 2, 'demands': [3, 3, 1], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 2, 'demands': [3, 1, 6], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 2, 'demands': [1, 3, 4], 'successors': []}, {'task_id': 'T10', 'duration': 7, 'demands': [2, 4, 5], 'successors': ['T11', 'T2', 'T8']}, {'task_id': 'T11', 'duration': 5, 'demands': [2, 3, 8], 'successors': ['T7', 'T2', 'T9']}]}","[{'task': 'T1', 'start': 12, 'end': 22, 'duration': 10, 'demands': [7, 1, 7]}, {'task': 'T2', 'start': 22, 'end': 33, 'duration': 11, 'demands': [5, 4, 8]}, {'task': 'T3', 'start': 3, 'end': 6, 'duration': 3, 'demands': [2, 3, 4]}, {'task': 'T4', 'start': 0, 'end': 3, 'duration': 3, 'demands': [3, 6, 5]}, {'task': 'T5', 'start': 22, 'end': 24, 'duration': 2, 'demands': [3, 3, 3]}, {'task': 'T6', 'start': 35, 'end': 38, 'duration': 3, 'demands': [5, 3, 6]}, {'task': 'T7', 'start': 33, 'end': 35, 'duration': 2, 'demands': [3, 3, 1]}, {'task': 'T8', 'start': 33, 'end': 35, 'duration': 2, 'demands': [3, 1, 6]}, {'task': 'T9', 'start': 35, 'end': 37, 'duration': 2, 'demands': [1, 3, 4]}, {'task': 'T10', 'start': 0, 'end': 7, 'duration': 7, 'demands': [2, 4, 5]}, {'task': 'T11', 'start': 7, 'end': 12, 'duration': 5, 'demands': [2, 3, 8]}]",1,markdown_table,names
RCPSP,RCPSP,"There’s a rush night and the kitchen needs a timeline: each recipe step has its own runtime, ties up certain tools or staff while it runs, and can only kick off after specific earlier steps are done. The aim is to arrange start times so the entire meal service ends as early as possible — you read that off as the clock time when the last step finishes. Make sure no step is forgotten or duplicated, honor the “finish-before-start” needs, and don’t ever have more simultaneous demand for ovens or cooks than on hand. The detailed list of steps, times and resources follows below.
{
""total_steps"": 13,
""nr_resource_types"": 2,
""resources"": [
""A"",
""B""
],
""resource_capacities"": [
{
""resource_id"": ""A"",
""capacity"": 3
},
{
""resource_id"": ""B"",
""capacity"": 4
}
],
""tasks"": [
{
""step_id"": ""T1"",
""step_duration"": 1,
""resource_demands"": [
0,
0
],
""successor_steps"": [
""T2"",
""T10""
]
},
{
""step_id"": ""T2"",
""step_duration"": 2,
""resource_demands"": [
0,
2
],
""successor_steps"": [
""T3"",
""T5"",
""T6"",
""T9""
]
},
{
""step_id"": ""T3"",
""step_duration"": 6,
""resource_demands"": [
1,
3
],
""successor_steps"": [
""T4"",
""T6""
]
},
{
""step_id"": ""T4"",
""step_duration"": 3,
""resource_demands"": [
3,
0
],
""successor_steps"": [
""T6"",
""T7""
]
},
{
""step_id"": ""T5"",
""step_duration"": 15,
""resource_demands"": [
2,
0
],
""successor_steps"": [
""T7"",
""T6"",
""T8""
]
},
{
""step_id"": ""T6"",
""step_duration"": 2,
""resource_demands"": [
2,
0
],
""successor_steps"": [
""T8""
]
},
{
""step_id"": ""T7"",
""step_duration"": 3,
""resource_demands"": [
1,
4
],
""successor_steps"": [
""T8""
]
},
{
""step_id"": ""T8"",
""step_duration"": 1,
""resource_demands"": [
0,
0
],
""successor_steps"": []
},
{
""step_id"": ""T9"",
""step_duration"": 2,
""resource_demands"": [
0,
0
],
""successor_steps"": []
},
{
""step_id"": ""T10"",
""step_duration"": 3,
""resource_demands"": [
3,
0
],
""successor_steps"": [
""T13""
]
},
{
""step_id"": ""T11"",
""step_duration"": 2,
""resource_demands"": [
0,
0
],
""successor_steps"": [
""T10"",
""T2""
]
},
{
""step_id"": ""T12"",
""step_duration"": 12,
""resource_demands"": [
2,
0
],
""successor_steps"": [
""T3""
]
},
{
""step_id"": ""T13"",
""step_duration"": 7,
""resource_demands"": [
1,
4
],
""successor_steps"": [
""T12""
]
}
]
}
Also, when you hand me the schedule, please use this JSON layout so I can parse it cleanly — something simple like this:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that block as a little form: each item in the ""solution"" list is one recipe step. ""task"" is the step identifier, and ""start"" and ""end"" are when that step begins and finishes (in the same time units used in the instance). It's just a sketch of the shape I expect, not your actual answer.
Please make sure you use the exact identifiers from the instance input — don't 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”.""","{'nr_tasks': 13, 'nr_resources': 2, 'capacities': [3, 4], 'tasks': [{'duration': 1, 'demands': [0, 0], 'successors': [1, 9]}, {'duration': 2, 'demands': [0, 2], 'successors': [2, 4, 5, 8]}, {'duration': 6, 'demands': [1, 3], 'successors': [3, 5]}, {'duration': 3, 'demands': [3, 0], 'successors': [5, 6]}, {'duration': 15, 'demands': [2, 0], 'successors': [6, 5, 7]}, {'duration': 2, 'demands': [2, 0], 'successors': [7]}, {'duration': 3, 'demands': [1, 4], 'successors': [7]}, {'duration': 1, 'demands': [0, 0], 'successors': []}, {'duration': 2, 'demands': [0, 0], 'successors': []}, {'duration': 3, 'demands': [3, 0], 'successors': [12]}, {'duration': 2, 'demands': [0, 0], 'successors': [9, 1]}, {'duration': 12, 'demands': [2, 0], 'successors': [2]}, {'duration': 7, 'demands': [1, 4], 'successors': [11]}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0]}, {'task': 1, 'start': 2, 'end': 4, 'duration': 2, 'demands': [0, 2]}, {'task': 2, 'start': 32, 'end': 38, 'duration': 6, 'demands': [1, 3]}, {'task': 3, 'start': 38, 'end': 41, 'duration': 3, 'demands': [3, 0]}, {'task': 4, 'start': 5, 'end': 20, 'duration': 15, 'demands': [2, 0]}, {'task': 5, 'start': 41, 'end': 43, 'duration': 2, 'demands': [2, 0]}, {'task': 6, 'start': 41, 'end': 44, 'duration': 3, 'demands': [1, 4]}, {'task': 7, 'start': 44, 'end': 45, 'duration': 1, 'demands': [0, 0]}, {'task': 8, 'start': 35, 'end': 37, 'duration': 2, 'demands': [0, 0]}, {'task': 9, 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 0]}, {'task': 10, 'start': 0, 'end': 2, 'duration': 2, 'demands': [0, 0]}, {'task': 11, 'start': 20, 'end': 32, 'duration': 12, 'demands': [2, 0]}, {'task': 12, 'start': 5, 'end': 12, 'duration': 7, 'demands': [1, 4]}]",45.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 2, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': ['A', 'B'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 3}, {'resource_id': 'B', 'capacity': 4}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0], 'successors': ['T2', 'T10']}, {'task_id': 'T2', 'duration': 2, 'demands': [0, 2], 'successors': ['T3', 'T5', 'T6', 'T9']}, {'task_id': 'T3', 'duration': 6, 'demands': [1, 3], 'successors': ['T4', 'T6']}, {'task_id': 'T4', 'duration': 3, 'demands': [3, 0], 'successors': ['T6', 'T7']}, {'task_id': 'T5', 'duration': 15, 'demands': [2, 0], 'successors': ['T7', 'T6', 'T8']}, {'task_id': 'T6', 'duration': 2, 'demands': [2, 0], 'successors': ['T8']}, {'task_id': 'T7', 'duration': 3, 'demands': [1, 4], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 1, 'demands': [0, 0], 'successors': []}, {'task_id': 'T9', 'duration': 2, 'demands': [0, 0], 'successors': []}, {'task_id': 'T10', 'duration': 3, 'demands': [3, 0], 'successors': ['T13']}, {'task_id': 'T11', 'duration': 2, 'demands': [0, 0], 'successors': ['T10', 'T2']}, {'task_id': 'T12', 'duration': 12, 'demands': [2, 0], 'successors': ['T3']}, {'task_id': 'T13', 'duration': 7, 'demands': [1, 4], 'successors': ['T12']}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0]}, {'task': 'T2', 'start': 2, 'end': 4, 'duration': 2, 'demands': [0, 2]}, {'task': 'T3', 'start': 32, 'end': 38, 'duration': 6, 'demands': [1, 3]}, {'task': 'T4', 'start': 38, 'end': 41, 'duration': 3, 'demands': [3, 0]}, {'task': 'T5', 'start': 5, 'end': 20, 'duration': 15, 'demands': [2, 0]}, {'task': 'T6', 'start': 41, 'end': 43, 'duration': 2, 'demands': [2, 0]}, {'task': 'T7', 'start': 41, 'end': 44, 'duration': 3, 'demands': [1, 4]}, {'task': 'T8', 'start': 44, 'end': 45, 'duration': 1, 'demands': [0, 0]}, {'task': 'T9', 'start': 35, 'end': 37, 'duration': 2, 'demands': [0, 0]}, {'task': 'T10', 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 0]}, {'task': 'T11', 'start': 0, 'end': 2, 'duration': 2, 'demands': [0, 0]}, {'task': 'T12', 'start': 20, 'end': 32, 'duration': 12, 'demands': [2, 0]}, {'task': 'T13', 'start': 5, 'end': 12, 'duration': 7, 'demands': [1, 4]}]",2,json,names
RCPSP,RCPSP,"Backstage there’s a simple rule: every scene has a fixed runtime, occupies particular camera crews and props while it runs, and some scenes depend on others finishing first. The director’s decision is to place a start time on each scene so each gets filmed exactly once, no resource is used by more scenes at the same time than exist, and all the “wait for” relationships are respected. A schedule’s quality is measured by when the last scene finishes — compute each scene’s end (start time plus duration), take the latest of those, and the goal is to make that latest finish as early as possible. The specific scene durations, resource counts and ordering details are shown below.
{
""nr_scenes"": 12,
""nr_resource_types"": 3,
""resources"": [
1,
2,
3
],
""resource_capacities"": [
{
""resource_id"": 1,
""capacity"": 15
},
{
""resource_id"": 2,
""capacity"": 15
},
{
""resource_id"": 3,
""capacity"": 13
}
],
""tasks"": [
{
""scene_id"": ""T1"",
""scene_duration"": 7,
""resource_requirements"": [
8,
3,
2
],
""successor_scenes"": [
""T3"",
""T4"",
""T5""
]
},
{
""scene_id"": ""T2"",
""scene_duration"": 2,
""resource_requirements"": [
4,
1,
5
],
""successor_scenes"": [
""T6"",
""T8"",
""T5""
]
},
{
""scene_id"": ""T3"",
""scene_duration"": 7,
""resource_requirements"": [
5,
5,
8
],
""successor_scenes"": [
""T6"",
""T8""
]
},
{
""scene_id"": ""T4"",
""scene_duration"": 2,
""resource_requirements"": [
3,
5,
1
],
""successor_scenes"": [
""T6""
]
},
{
""scene_id"": ""T5"",
""scene_duration"": 1,
""resource_requirements"": [
2,
3,
6
],
""successor_scenes"": [
""T7"",
""T8"",
""T9""
]
},
{
""scene_id"": ""T6"",
""scene_duration"": 15,
""resource_requirements"": [
2,
4,
3
],
""successor_scenes"": [
""T5""
]
},
{
""scene_id"": ""T7"",
""scene_duration"": 9,
""resource_requirements"": [
5,
3,
7
],
""successor_scenes"": [
""T9""
]
},
{
""scene_id"": ""T8"",
""scene_duration"": 2,
""resource_requirements"": [
3,
4,
2
],
""successor_scenes"": []
},
{
""scene_id"": ""T9"",
""scene_duration"": 6,
""resource_requirements"": [
2,
1,
4
],
""successor_scenes"": [
""T11"",
""T8""
]
},
{
""scene_id"": ""T10"",
""scene_duration"": 1,
""resource_requirements"": [
3,
8,
8
],
""successor_scenes"": [
""T12"",
""T6""
]
},
{
""scene_id"": ""T11"",
""scene_duration"": 5,
""resource_requirements"": [
5,
2,
2
],
""successor_scenes"": [
""T12""
]
},
{
""scene_id"": ""T12"",
""scene_duration"": 11,
""resource_requirements"": [
1,
2,
7
],
""successor_scenes"": []
}
]
}
If you want to hand me a schedule, just use this relaxed JSON layout so everything is predictable:
{
""solution"": [
{
""task"": <scene_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little form: ""solution"" is the list of filmed scenes, each object records which scene (""task""), when it starts, and when it ends. Start and end are the numeric times (same units as the scene durations). This is only a sketch of the shape I expect — not the actual schedule.
Please use the exact scene identifiers from the instance input — no renaming, no 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [15, 15, 13], 'tasks': [{'duration': 7, 'demands': [8, 3, 2], 'successors': [2, 3, 4]}, {'duration': 2, 'demands': [4, 1, 5], 'successors': [5, 7, 4]}, {'duration': 7, 'demands': [5, 5, 8], 'successors': [5, 7]}, {'duration': 2, 'demands': [3, 5, 1], 'successors': [5]}, {'duration': 1, 'demands': [2, 3, 6], 'successors': [6, 7, 8]}, {'duration': 15, 'demands': [2, 4, 3], 'successors': [4]}, {'duration': 9, 'demands': [5, 3, 7], 'successors': [8]}, {'duration': 2, 'demands': [3, 4, 2], 'successors': []}, {'duration': 6, 'demands': [2, 1, 4], 'successors': [10, 7]}, {'duration': 1, 'demands': [3, 8, 8], 'successors': [11, 5]}, {'duration': 5, 'demands': [5, 2, 2], 'successors': [11]}, {'duration': 11, 'demands': [1, 2, 7], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 7, 'duration': 7, 'demands': [8, 3, 2]}, {'task': 1, 'start': 0, 'end': 2, 'duration': 2, 'demands': [4, 1, 5]}, {'task': 2, 'start': 7, 'end': 14, 'duration': 7, 'demands': [5, 5, 8]}, {'task': 3, 'start': 7, 'end': 9, 'duration': 2, 'demands': [3, 5, 1]}, {'task': 4, 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 6]}, {'task': 5, 'start': 14, 'end': 29, 'duration': 15, 'demands': [2, 4, 3]}, {'task': 6, 'start': 30, 'end': 39, 'duration': 9, 'demands': [5, 3, 7]}, {'task': 7, 'start': 45, 'end': 47, 'duration': 2, 'demands': [3, 4, 2]}, {'task': 8, 'start': 39, 'end': 45, 'duration': 6, 'demands': [2, 1, 4]}, {'task': 9, 'start': 2, 'end': 3, 'duration': 1, 'demands': [3, 8, 8]}, {'task': 10, 'start': 45, 'end': 50, 'duration': 5, 'demands': [5, 2, 2]}, {'task': 11, 'start': 50, 'end': 61, 'duration': 11, 'demands': [1, 2, 7]}]",61.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 15}, {'resource_id': 2, 'capacity': 15}, {'resource_id': 3, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 7, 'demands': [8, 3, 2], 'successors': ['T3', 'T4', 'T5']}, {'task_id': 'T2', 'duration': 2, 'demands': [4, 1, 5], 'successors': ['T6', 'T8', 'T5']}, {'task_id': 'T3', 'duration': 7, 'demands': [5, 5, 8], 'successors': ['T6', 'T8']}, {'task_id': 'T4', 'duration': 2, 'demands': [3, 5, 1], 'successors': ['T6']}, {'task_id': 'T5', 'duration': 1, 'demands': [2, 3, 6], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T6', 'duration': 15, 'demands': [2, 4, 3], 'successors': ['T5']}, {'task_id': 'T7', 'duration': 9, 'demands': [5, 3, 7], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 2, 'demands': [3, 4, 2], 'successors': []}, {'task_id': 'T9', 'duration': 6, 'demands': [2, 1, 4], 'successors': ['T11', 'T8']}, {'task_id': 'T10', 'duration': 1, 'demands': [3, 8, 8], 'successors': ['T12', 'T6']}, {'task_id': 'T11', 'duration': 5, 'demands': [5, 2, 2], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 11, 'demands': [1, 2, 7], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 7, 'duration': 7, 'demands': [8, 3, 2]}, {'task': 'T2', 'start': 0, 'end': 2, 'duration': 2, 'demands': [4, 1, 5]}, {'task': 'T3', 'start': 7, 'end': 14, 'duration': 7, 'demands': [5, 5, 8]}, {'task': 'T4', 'start': 7, 'end': 9, 'duration': 2, 'demands': [3, 5, 1]}, {'task': 'T5', 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 6]}, {'task': 'T6', 'start': 14, 'end': 29, 'duration': 15, 'demands': [2, 4, 3]}, {'task': 'T7', 'start': 30, 'end': 39, 'duration': 9, 'demands': [5, 3, 7]}, {'task': 'T8', 'start': 45, 'end': 47, 'duration': 2, 'demands': [3, 4, 2]}, {'task': 'T9', 'start': 39, 'end': 45, 'duration': 6, 'demands': [2, 1, 4]}, {'task': 'T10', 'start': 2, 'end': 3, 'duration': 1, 'demands': [3, 8, 8]}, {'task': 'T11', 'start': 45, 'end': 50, 'duration': 5, 'demands': [5, 2, 2]}, {'task': 'T12', 'start': 50, 'end': 61, 'duration': 11, 'demands': [1, 2, 7]}]",3,json,1
RCPSP,RCPSP,"Picture this: a release calendar with jobs that have fixed lengths, a handful of developers and a limited number of test machines, and some jobs that can’t start until others are done. The problem to solve is picking a start time for each job so that when jobs overlap they don’t use more developer hours or server slots than we’ve got, and each job is scheduled once and in the right order. The release date is simply when the last job completes, so the aim is to make that day as early as possible. The exact tasks, how long they take, their dependencies, and available resources are listed below.
# total_tasks=11
# resource_types_count=3
# resources=1, 2, 3
resource_id,capacity
1,14
2,9
3,13
task_code,task_duration,resource_demands,successor_tasks
T1,2,""2, 9, 4"",""T3, T4, T2""
T2,5,""5, 1, 3"",""T5, T7""
T3,3,""3, 5, 4"",""T5, T7, T9""
T4,6,""3, 6, 8"",""T5, T6""
T5,1,""4, 3, 3"",""T8, T7""
T6,3,""3, 3, 5"",""T10""
T7,3,""2, 2, 3"",""T8, T11""
T8,3,""1, 6, 5"",""T10""
T9,1,""7, 3, 7"",""T11""
T10,3,""4, 2, 2"",""T11""
T11,3,""1, 8, 8"",""none""
Also, when you send the schedule back, just stick to a simple JSON layout so it's easy to parse. Something like this is what I expect to see:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
That's just the shape I want—""solution"" is an array of task entries. Each entry shows which task it is and the start and end times you picked for it. Keep it casual: task is the task identifier from the instance, start and end are the times (in the same time units used in the instance), and end should be after start. This block is only a sketch of the expected shape, not the actual answer.
Please make sure you use the exact identifiers from the instance input — do not rename tasks 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"".","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [14, 9, 13], 'tasks': [{'duration': 2, 'demands': [2, 9, 4], 'successors': [2, 3, 1]}, {'duration': 5, 'demands': [5, 1, 3], 'successors': [4, 6]}, {'duration': 3, 'demands': [3, 5, 4], 'successors': [4, 6, 8]}, {'duration': 6, 'demands': [3, 6, 8], 'successors': [4, 5]}, {'duration': 1, 'demands': [4, 3, 3], 'successors': [7, 6]}, {'duration': 3, 'demands': [3, 3, 5], 'successors': [9]}, {'duration': 3, 'demands': [2, 2, 3], 'successors': [7, 10]}, {'duration': 3, 'demands': [1, 6, 5], 'successors': [9]}, {'duration': 1, 'demands': [7, 3, 7], 'successors': [10]}, {'duration': 3, 'demands': [4, 2, 2], 'successors': [10]}, {'duration': 3, 'demands': [1, 8, 8], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 9, 4]}, {'task': 1, 'start': 2, 'end': 7, 'duration': 5, 'demands': [5, 1, 3]}, {'task': 2, 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 5, 4]}, {'task': 3, 'start': 2, 'end': 8, 'duration': 6, 'demands': [3, 6, 8]}, {'task': 4, 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 3, 3]}, {'task': 5, 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 3, 5]}, {'task': 6, 'start': 12, 'end': 15, 'duration': 3, 'demands': [2, 2, 3]}, {'task': 7, 'start': 15, 'end': 18, 'duration': 3, 'demands': [1, 6, 5]}, {'task': 8, 'start': 11, 'end': 12, 'duration': 1, 'demands': [7, 3, 7]}, {'task': 9, 'start': 18, 'end': 21, 'duration': 3, 'demands': [4, 2, 2]}, {'task': 10, 'start': 21, 'end': 24, 'duration': 3, 'demands': [1, 8, 8]}]",24.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 14}, {'resource_id': 2, 'capacity': 9}, {'resource_id': 3, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [2, 9, 4], 'successors': ['T3', 'T4', 'T2']}, {'task_id': 'T2', 'duration': 5, 'demands': [5, 1, 3], 'successors': ['T5', 'T7']}, {'task_id': 'T3', 'duration': 3, 'demands': [3, 5, 4], 'successors': ['T5', 'T7', 'T9']}, {'task_id': 'T4', 'duration': 6, 'demands': [3, 6, 8], 'successors': ['T5', 'T6']}, {'task_id': 'T5', 'duration': 1, 'demands': [4, 3, 3], 'successors': ['T8', 'T7']}, {'task_id': 'T6', 'duration': 3, 'demands': [3, 3, 5], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 3, 'demands': [2, 2, 3], 'successors': ['T8', 'T11']}, {'task_id': 'T8', 'duration': 3, 'demands': [1, 6, 5], 'successors': ['T10']}, {'task_id': 'T9', 'duration': 1, 'demands': [7, 3, 7], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 3, 'demands': [4, 2, 2], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 3, 'demands': [1, 8, 8], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 9, 4]}, {'task': 'T2', 'start': 2, 'end': 7, 'duration': 5, 'demands': [5, 1, 3]}, {'task': 'T3', 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 5, 4]}, {'task': 'T4', 'start': 2, 'end': 8, 'duration': 6, 'demands': [3, 6, 8]}, {'task': 'T5', 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 3, 3]}, {'task': 'T6', 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 3, 5]}, {'task': 'T7', 'start': 12, 'end': 15, 'duration': 3, 'demands': [2, 2, 3]}, {'task': 'T8', 'start': 15, 'end': 18, 'duration': 3, 'demands': [1, 6, 5]}, {'task': 'T9', 'start': 11, 'end': 12, 'duration': 1, 'demands': [7, 3, 7]}, {'task': 'T10', 'start': 18, 'end': 21, 'duration': 3, 'demands': [4, 2, 2]}, {'task': 'T11', 'start': 21, 'end': 24, 'duration': 3, 'demands': [1, 8, 8]}]",4,csv,1
RCPSP,RCPSP,"Someone is running the event and needs to schedule every setup and program piece, knowing each one lasts a set time, uses specific volunteers and tools while active, and may be blocked until earlier pieces finish. The job is to assign start times for all items, making sure every item happens exactly once and the team never needs more volunteers or equipment than available at any instant. The winning schedule is the one that brings the whole event to a finish sooner — check the finish time of the last item, and the lower that clock reading, the better. Full details about the items and resources are shown below.
# total_items=15
# total_resource_types=3
# resources=1, 2, 3
resource_id,capacity
1,13
2,13
3,11
item_id,duration_minutes,resource_requirements,successor_item_ids
T1,1,""5, 7, 5"",""T3, T5, T7""
T2,4,""9, 3, 4"",""T3, T4""
T3,13,""3, 2, 5"",""T7, T9""
T4,4,""6, 3, 6"",""T8, T10, T5""
T5,3,""2, 4, 3"",""T8, T9""
T6,8,""2, 3, 4"",""T9, T10""
T7,1,""3, 4, 2"",""T11, T12""
T8,2,""5, 2, 3"",""T11""
T9,1,""4, 5, 3"",""T11""
T10,1,""4, 1, 5"",""T11""
T11,2,""2, 5, 5"",""T13""
T12,2,""1, 7, 8"",""T14""
T13,2,""6, 3, 7"",""T15""
T14,1,""2, 2, 4"",""T15""
T15,2,""2, 6, 4"",""none""
When you send back the schedule, just use this simple JSON layout so it's easy to parse and check:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a short form: ""solution"" holds a list of all the items, and each item says which task it is and when it starts and finishes. Keep it informal — task is the item label from the event list, and start/end are the times on the event clock.
This JSON is just a sketch of the shape I need, not the actual schedule — you'll replace the placeholders with the real identifiers and numeric times.
Please make sure to 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [13, 13, 11], 'tasks': [{'duration': 1, 'demands': [5, 7, 5], 'successors': [2, 4, 6]}, {'duration': 4, 'demands': [9, 3, 4], 'successors': [2, 3]}, {'duration': 13, 'demands': [3, 2, 5], 'successors': [6, 8]}, {'duration': 4, 'demands': [6, 3, 6], 'successors': [7, 9, 4]}, {'duration': 3, 'demands': [2, 4, 3], 'successors': [7, 8]}, {'duration': 8, 'demands': [2, 3, 4], 'successors': [8, 9]}, {'duration': 1, 'demands': [3, 4, 2], 'successors': [10, 11]}, {'duration': 2, 'demands': [5, 2, 3], 'successors': [10]}, {'duration': 1, 'demands': [4, 5, 3], 'successors': [10]}, {'duration': 1, 'demands': [4, 1, 5], 'successors': [10]}, {'duration': 2, 'demands': [2, 5, 5], 'successors': [12]}, {'duration': 2, 'demands': [1, 7, 8], 'successors': [13]}, {'duration': 2, 'demands': [6, 3, 7], 'successors': [14]}, {'duration': 1, 'demands': [2, 2, 4], 'successors': [14]}, {'duration': 2, 'demands': [2, 6, 4], 'successors': []}]}","[{'task': 0, 'start': 4, 'end': 5, 'duration': 1, 'demands': [5, 7, 5]}, {'task': 1, 'start': 0, 'end': 4, 'duration': 4, 'demands': [9, 3, 4]}, {'task': 2, 'start': 5, 'end': 18, 'duration': 13, 'demands': [3, 2, 5]}, {'task': 3, 'start': 8, 'end': 12, 'duration': 4, 'demands': [6, 3, 6]}, {'task': 4, 'start': 12, 'end': 15, 'duration': 3, 'demands': [2, 4, 3]}, {'task': 5, 'start': 0, 'end': 8, 'duration': 8, 'demands': [2, 3, 4]}, {'task': 6, 'start': 18, 'end': 19, 'duration': 1, 'demands': [3, 4, 2]}, {'task': 7, 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 2, 3]}, {'task': 8, 'start': 18, 'end': 19, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 9, 'start': 17, 'end': 18, 'duration': 1, 'demands': [4, 1, 5]}, {'task': 10, 'start': 19, 'end': 21, 'duration': 2, 'demands': [2, 5, 5]}, {'task': 11, 'start': 21, 'end': 23, 'duration': 2, 'demands': [1, 7, 8]}, {'task': 12, 'start': 23, 'end': 25, 'duration': 2, 'demands': [6, 3, 7]}, {'task': 13, 'start': 23, 'end': 24, 'duration': 1, 'demands': [2, 2, 4]}, {'task': 14, 'start': 25, 'end': 27, 'duration': 2, 'demands': [2, 6, 4]}]",27.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 13}, {'resource_id': 3, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [5, 7, 5], 'successors': ['T3', 'T5', 'T7']}, {'task_id': 'T2', 'duration': 4, 'demands': [9, 3, 4], 'successors': ['T3', 'T4']}, {'task_id': 'T3', 'duration': 13, 'demands': [3, 2, 5], 'successors': ['T7', 'T9']}, {'task_id': 'T4', 'duration': 4, 'demands': [6, 3, 6], 'successors': ['T8', 'T10', 'T5']}, {'task_id': 'T5', 'duration': 3, 'demands': [2, 4, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 8, 'demands': [2, 3, 4], 'successors': ['T9', 'T10']}, {'task_id': 'T7', 'duration': 1, 'demands': [3, 4, 2], 'successors': ['T11', 'T12']}, {'task_id': 'T8', 'duration': 2, 'demands': [5, 2, 3], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 1, 'demands': [4, 5, 3], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [4, 1, 5], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [2, 5, 5], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [1, 7, 8], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 2, 'demands': [6, 3, 7], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 1, 'demands': [2, 2, 4], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 2, 'demands': [2, 6, 4], 'successors': []}]}","[{'task': 'T1', 'start': 4, 'end': 5, 'duration': 1, 'demands': [5, 7, 5]}, {'task': 'T2', 'start': 0, 'end': 4, 'duration': 4, 'demands': [9, 3, 4]}, {'task': 'T3', 'start': 5, 'end': 18, 'duration': 13, 'demands': [3, 2, 5]}, {'task': 'T4', 'start': 8, 'end': 12, 'duration': 4, 'demands': [6, 3, 6]}, {'task': 'T5', 'start': 12, 'end': 15, 'duration': 3, 'demands': [2, 4, 3]}, {'task': 'T6', 'start': 0, 'end': 8, 'duration': 8, 'demands': [2, 3, 4]}, {'task': 'T7', 'start': 18, 'end': 19, 'duration': 1, 'demands': [3, 4, 2]}, {'task': 'T8', 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 2, 3]}, {'task': 'T9', 'start': 18, 'end': 19, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 'T10', 'start': 17, 'end': 18, 'duration': 1, 'demands': [4, 1, 5]}, {'task': 'T11', 'start': 19, 'end': 21, 'duration': 2, 'demands': [2, 5, 5]}, {'task': 'T12', 'start': 21, 'end': 23, 'duration': 2, 'demands': [1, 7, 8]}, {'task': 'T13', 'start': 23, 'end': 25, 'duration': 2, 'demands': [6, 3, 7]}, {'task': 'T14', 'start': 23, 'end': 24, 'duration': 1, 'demands': [2, 2, 4]}, {'task': 'T15', 'start': 25, 'end': 27, 'duration': 2, 'demands': [2, 6, 4]}]",5,csv,1
RCPSP,RCPSP,"There’s a busy workshop where every task has a known duration, uses some combination of machines and operators while it runs, and often can’t begin until a previous task is complete. The choice to make is the start time for each task so simultaneous tasks don’t exceed the available equipment or staff and so the required order of steps is preserved. A plan is judged by how quickly the last task finishes — compute each task’s finish as its start plus its run time, take the latest one, and the lower that final number the better. All tasks must be scheduled once and only once, and the specific job list and resource numbers follow below.
There are 11 operations, 3 resource types, with capacities .
Operation T1 runs for 2 time units, consumes 7, 8, 4 while active, and its immediate successors are T4, T5, T2, T7.
Operation T2 runs for 3 time units, consumes 4, 3, 3 while active, and its immediate successors are T3, T6, T5.
Operation T3 runs for 8 time units, consumes 4, 3, 1 while active, and its immediate successors are none.
Operation T4 runs for 2 time units, consumes 3, 3, 4 while active, and its immediate successors are T7, T8, T3.
Operation T5 runs for 4 time units, consumes 2, 3, 2 while active, and its immediate successors are T7.
Operation T6 runs for 9 time units, consumes 7, 2, 7 while active, and its immediate successors are T7.
Operation T7 runs for 17 time units, consumes 1, 5, 5 while active, and its immediate successors are T9.
Operation T8 runs for 4 time units, consumes 1, 9, 3 while active, and its immediate successors are T10.
Operation T9 runs for 2 time units, consumes 4, 3, 4 while active, and its immediate successors are T11.
Operation T10 runs for 10 time units, consumes 5, 5, 4 while active, and its immediate successors are T11, T6.
Operation T11 runs for 4 time units, consumes 3, 8, 11 while active, and its immediate successors are none.
Schedule each operation exactly once, respecting resource capacities and precedence constraints, aiming to minimize the finish time of the last operation.
You can return the schedule in a simple JSON shape — nothing fancy — just a list of tasks with their start and end times, for example:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This shows the structure I expect: ""solution"" is an array of entries, and each entry is a task record with the task identifier plus the start and end times (end would be the start plus the task's duration). Treat it like a little form for each job.
Note that the JSON above is just a sketch of the expected shape — not the actual schedule. When you submit your answer, fill in the real task identifiers and times.
All identifiers must be used exactly as they appear in the instance input — no renaming and 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [14, 12, 11], 'tasks': [{'duration': 2, 'demands': [7, 8, 4], 'successors': [3, 4, 1, 6]}, {'duration': 3, 'demands': [4, 3, 3], 'successors': [2, 5, 4]}, {'duration': 8, 'demands': [4, 3, 1], 'successors': []}, {'duration': 2, 'demands': [3, 3, 4], 'successors': [6, 7, 2]}, {'duration': 4, 'demands': [2, 3, 2], 'successors': [6]}, {'duration': 9, 'demands': [7, 2, 7], 'successors': [6]}, {'duration': 17, 'demands': [1, 5, 5], 'successors': [8]}, {'duration': 4, 'demands': [1, 9, 3], 'successors': [9]}, {'duration': 2, 'demands': [4, 3, 4], 'successors': [10]}, {'duration': 10, 'demands': [5, 5, 4], 'successors': [10, 5]}, {'duration': 4, 'demands': [3, 8, 11], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [7, 8, 4]}, {'task': 1, 'start': 2, 'end': 5, 'duration': 3, 'demands': [4, 3, 3]}, {'task': 2, 'start': 8, 'end': 16, 'duration': 8, 'demands': [4, 3, 1]}, {'task': 3, 'start': 2, 'end': 4, 'duration': 2, 'demands': [3, 3, 4]}, {'task': 4, 'start': 5, 'end': 9, 'duration': 4, 'demands': [2, 3, 2]}, {'task': 5, 'start': 18, 'end': 27, 'duration': 9, 'demands': [7, 2, 7]}, {'task': 6, 'start': 27, 'end': 44, 'duration': 17, 'demands': [1, 5, 5]}, {'task': 7, 'start': 4, 'end': 8, 'duration': 4, 'demands': [1, 9, 3]}, {'task': 8, 'start': 44, 'end': 46, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 9, 'start': 8, 'end': 18, 'duration': 10, 'demands': [5, 5, 4]}, {'task': 10, 'start': 46, 'end': 50, 'duration': 4, 'demands': [3, 8, 11]}]",50.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 14}, {'resource_id': 2, 'capacity': 12}, {'resource_id': 3, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [7, 8, 4], 'successors': ['T4', 'T5', 'T2', 'T7']}, {'task_id': 'T2', 'duration': 3, 'demands': [4, 3, 3], 'successors': ['T3', 'T6', 'T5']}, {'task_id': 'T3', 'duration': 8, 'demands': [4, 3, 1], 'successors': []}, {'task_id': 'T4', 'duration': 2, 'demands': [3, 3, 4], 'successors': ['T7', 'T8', 'T3']}, {'task_id': 'T5', 'duration': 4, 'demands': [2, 3, 2], 'successors': ['T7']}, {'task_id': 'T6', 'duration': 9, 'demands': [7, 2, 7], 'successors': ['T7']}, {'task_id': 'T7', 'duration': 17, 'demands': [1, 5, 5], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 4, 'demands': [1, 9, 3], 'successors': ['T10']}, {'task_id': 'T9', 'duration': 2, 'demands': [4, 3, 4], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 10, 'demands': [5, 5, 4], 'successors': ['T11', 'T6']}, {'task_id': 'T11', 'duration': 4, 'demands': [3, 8, 11], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [7, 8, 4]}, {'task': 'T2', 'start': 2, 'end': 5, 'duration': 3, 'demands': [4, 3, 3]}, {'task': 'T3', 'start': 8, 'end': 16, 'duration': 8, 'demands': [4, 3, 1]}, {'task': 'T4', 'start': 2, 'end': 4, 'duration': 2, 'demands': [3, 3, 4]}, {'task': 'T5', 'start': 5, 'end': 9, 'duration': 4, 'demands': [2, 3, 2]}, {'task': 'T6', 'start': 18, 'end': 27, 'duration': 9, 'demands': [7, 2, 7]}, {'task': 'T7', 'start': 27, 'end': 44, 'duration': 17, 'demands': [1, 5, 5]}, {'task': 'T8', 'start': 4, 'end': 8, 'duration': 4, 'demands': [1, 9, 3]}, {'task': 'T9', 'start': 44, 'end': 46, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 'T10', 'start': 8, 'end': 18, 'duration': 10, 'demands': [5, 5, 4]}, {'task': 'T11', 'start': 46, 'end': 50, 'duration': 4, 'demands': [3, 8, 11]}]",6,nl,1
RCPSP,RCPSP,"Picture this: the head nurse has a list of fixed-time procedures, each of which consumes one or more operating rooms and staff members while it runs, and several procedures are chained so one can’t start until another has finished. The task is simply choosing start times so no rooms or staff are double-booked, every dependency is honored, and every procedure is scheduled once. A clearer plan is the one where the whole set of procedures is done sooner — find each procedure’s end by adding its duration to its start, then take the latest of those end times; a smaller latest end time means a better schedule. The precise patient procedures, their lengths, resource capacities, and ordering constraints are shown below.
There are 11 procedures to schedule using 3 resource types with capacities .
Procedure T1 runs for 3 time units, consumes 5, 1, 6 of the resources while running, and must finish before its successor procedures T6, T7, T5, T2 can start.
Procedure T2 runs for 12 time units, consumes 3, 7, 8 of the resources while running, and must finish before its successor procedures T4, T5, T8, T11 can start.
Procedure T3 runs for 3 time units, consumes 4, 7, 6 of the resources while running, and must finish before its successor procedures T5, T6, T4 can start.
Procedure T4 runs for 2 time units, consumes 3, 2, 3 of the resources while running, and must finish before its successor procedures T8, T6 can start.
Procedure T5 runs for 16 time units, consumes 4, 1, 3 of the resources while running, and must finish before its successor procedures T8 can start.
Procedure T6 runs for 1 time units, consumes 4, 5, 3 of the resources while running, and must finish before its successor procedures T7 can start.
Procedure T7 runs for 1 time units, consumes 8, 1, 6 of the resources while running, and must finish before its successor procedures T8 can start.
Procedure T8 runs for 2 time units, consumes 1, 2, 4 of the resources while running, and must finish before its successor procedures T9, T10 can start.
Procedure T9 runs for 3 time units, consumes 5, 4, 3 of the resources while running, and must finish before its successor procedures T11 can start.
Procedure T10 runs for 9 time units, consumes 7, 6, 4 of the resources while running, and must finish before its successor procedures T11 can start.
Procedure T11 runs for 5 time units, consumes 3, 2, 7 of the resources while running, and must finish before its successor procedures none can start.
The head nurse will choose start times that respect these 11 procedures, the 3 resource capacities , and all precedence links, aiming to minimize the latest completion time.
Also, to keep things machine-friendly and easy to check, please return the schedule using this simple JSON layout:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
It's just a little form: ""solution"" is a list, and each entry has the task identifier plus its start and end times. Think of each entry like a line on the schedule — which procedure, when it starts, and when it finishes. This is just the shape I expect, not the actual filled-in schedule.
Please make sure to use the exact task identifiers from the instance input — do not rename them or introduce 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [10, 11, 14], 'tasks': [{'duration': 3, 'demands': [5, 1, 6], 'successors': [5, 6, 4, 1]}, {'duration': 12, 'demands': [3, 7, 8], 'successors': [3, 4, 7, 10]}, {'duration': 3, 'demands': [4, 7, 6], 'successors': [4, 5, 3]}, {'duration': 2, 'demands': [3, 2, 3], 'successors': [7, 5]}, {'duration': 16, 'demands': [4, 1, 3], 'successors': [7]}, {'duration': 1, 'demands': [4, 5, 3], 'successors': [6]}, {'duration': 1, 'demands': [8, 1, 6], 'successors': [7]}, {'duration': 2, 'demands': [1, 2, 4], 'successors': [8, 9]}, {'duration': 3, 'demands': [5, 4, 3], 'successors': [10]}, {'duration': 9, 'demands': [7, 6, 4], 'successors': [10]}, {'duration': 5, 'demands': [3, 2, 7], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 3, 'duration': 3, 'demands': [5, 1, 6]}, {'task': 1, 'start': 3, 'end': 15, 'duration': 12, 'demands': [3, 7, 8]}, {'task': 2, 'start': 0, 'end': 3, 'duration': 3, 'demands': [4, 7, 6]}, {'task': 3, 'start': 15, 'end': 17, 'duration': 2, 'demands': [3, 2, 3]}, {'task': 4, 'start': 15, 'end': 31, 'duration': 16, 'demands': [4, 1, 3]}, {'task': 5, 'start': 17, 'end': 18, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 6, 'start': 31, 'end': 32, 'duration': 1, 'demands': [8, 1, 6]}, {'task': 7, 'start': 32, 'end': 34, 'duration': 2, 'demands': [1, 2, 4]}, {'task': 8, 'start': 43, 'end': 46, 'duration': 3, 'demands': [5, 4, 3]}, {'task': 9, 'start': 34, 'end': 43, 'duration': 9, 'demands': [7, 6, 4]}, {'task': 10, 'start': 46, 'end': 51, 'duration': 5, 'demands': [3, 2, 7]}]",51.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 10}, {'resource_id': 'B', 'capacity': 11}, {'resource_id': 'C', 'capacity': 14}], 'task_records': [{'task_id': 'T1', 'duration': 3, 'demands': [5, 1, 6], 'successors': ['T6', 'T7', 'T5', 'T2']}, {'task_id': 'T2', 'duration': 12, 'demands': [3, 7, 8], 'successors': ['T4', 'T5', 'T8', 'T11']}, {'task_id': 'T3', 'duration': 3, 'demands': [4, 7, 6], 'successors': ['T5', 'T6', 'T4']}, {'task_id': 'T4', 'duration': 2, 'demands': [3, 2, 3], 'successors': ['T8', 'T6']}, {'task_id': 'T5', 'duration': 16, 'demands': [4, 1, 3], 'successors': ['T8']}, {'task_id': 'T6', 'duration': 1, 'demands': [4, 5, 3], 'successors': ['T7']}, {'task_id': 'T7', 'duration': 1, 'demands': [8, 1, 6], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 2, 'demands': [1, 2, 4], 'successors': ['T9', 'T10']}, {'task_id': 'T9', 'duration': 3, 'demands': [5, 4, 3], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 9, 'demands': [7, 6, 4], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 5, 'demands': [3, 2, 7], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 3, 'duration': 3, 'demands': [5, 1, 6]}, {'task': 'T2', 'start': 3, 'end': 15, 'duration': 12, 'demands': [3, 7, 8]}, {'task': 'T3', 'start': 0, 'end': 3, 'duration': 3, 'demands': [4, 7, 6]}, {'task': 'T4', 'start': 15, 'end': 17, 'duration': 2, 'demands': [3, 2, 3]}, {'task': 'T5', 'start': 15, 'end': 31, 'duration': 16, 'demands': [4, 1, 3]}, {'task': 'T6', 'start': 17, 'end': 18, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 'T7', 'start': 31, 'end': 32, 'duration': 1, 'demands': [8, 1, 6]}, {'task': 'T8', 'start': 32, 'end': 34, 'duration': 2, 'demands': [1, 2, 4]}, {'task': 'T9', 'start': 43, 'end': 46, 'duration': 3, 'demands': [5, 4, 3]}, {'task': 'T10', 'start': 34, 'end': 43, 'duration': 9, 'demands': [7, 6, 4]}, {'task': 'T11', 'start': 46, 'end': 51, 'duration': 5, 'demands': [3, 2, 7]}]",7,nl,names
RCPSP,RCPSP,"Recently the foreman sat down with a whiteboard of repairs: fixed-duration jobs, each consuming some cranes and crews while active, and a few that can’t start until others are completed. The work is to place every job on the timeline exactly once, respect those “finish-before” links, and never let the running jobs demand more cranes or people than are on hand. The straightforward measure of a good plan is when the last job is completed — the earlier that moment, the better. The exact jobs, durations and available cranes/crews are listed below.
# total_jobs_count=12
# resource_types_count=3
# resources=A, B, C
resource_id,capacity
A,12
B,10
C,13
job_id,job_duration,resource_demands,successor_job_ids
T1,1,""0, 0, 0"",""T2, T5""
T2,5,""1, 7, 0"",""T3, T4""
T3,3,""11, 0, 4"",""none""
T4,5,""4, 6, 6"",""T8, T9""
T5,2,""2, 8, 0"",""T7, T8, T9""
T6,1,""2, 1, 2"",""T10""
T7,9,""11, 1, 3"",""T10""
T8,5,""5, 7, 3"",""T12""
T9,4,""0, 5, 5"",""T11""
T10,4,""1, 2, 0"",""T12, T8, T3""
T11,3,""3, 2, 1"",""T12""
T12,1,""0, 0, 0"",""none""
Oh, and when you're ready to hand the schedule back, just use this little JSON shape so it's easy to parse and check:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of each object in the ""solution"" list as one job on the timeline: the task identifier, when it starts, and when it finishes. It's just a simple form — list every task once with its start and end times. This block is only a sketch of the expected shape, not the actual filled-in schedule.
Please use the exact task identifiers from the instance input — don't rename them and don't 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [12, 10, 13], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 4]}, {'duration': 5, 'demands': [1, 7, 0], 'successors': [2, 3]}, {'duration': 3, 'demands': [11, 0, 4], 'successors': []}, {'duration': 5, 'demands': [4, 6, 6], 'successors': [7, 8]}, {'duration': 2, 'demands': [2, 8, 0], 'successors': [6, 7, 8]}, {'duration': 1, 'demands': [2, 1, 2], 'successors': [9]}, {'duration': 9, 'demands': [11, 1, 3], 'successors': [9]}, {'duration': 5, 'demands': [5, 7, 3], 'successors': [11]}, {'duration': 4, 'demands': [0, 5, 5], 'successors': [10]}, {'duration': 4, 'demands': [1, 2, 0], 'successors': [11, 7, 2]}, {'duration': 3, 'demands': [3, 2, 1], 'successors': [11]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 3, 'end': 8, 'duration': 5, 'demands': [1, 7, 0]}, {'task': 2, 'start': 17, 'end': 20, 'duration': 3, 'demands': [11, 0, 4]}, {'task': 3, 'start': 12, 'end': 17, 'duration': 5, 'demands': [4, 6, 6]}, {'task': 4, 'start': 1, 'end': 3, 'duration': 2, 'demands': [2, 8, 0]}, {'task': 5, 'start': 0, 'end': 1, 'duration': 1, 'demands': [2, 1, 2]}, {'task': 6, 'start': 3, 'end': 12, 'duration': 9, 'demands': [11, 1, 3]}, {'task': 7, 'start': 21, 'end': 26, 'duration': 5, 'demands': [5, 7, 3]}, {'task': 8, 'start': 17, 'end': 21, 'duration': 4, 'demands': [0, 5, 5]}, {'task': 9, 'start': 12, 'end': 16, 'duration': 4, 'demands': [1, 2, 0]}, {'task': 10, 'start': 21, 'end': 24, 'duration': 3, 'demands': [3, 2, 1]}, {'task': 11, 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",27.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 12}, {'resource_id': 'B', 'capacity': 10}, {'resource_id': 'C', 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T5']}, {'task_id': 'T2', 'duration': 5, 'demands': [1, 7, 0], 'successors': ['T3', 'T4']}, {'task_id': 'T3', 'duration': 3, 'demands': [11, 0, 4], 'successors': []}, {'task_id': 'T4', 'duration': 5, 'demands': [4, 6, 6], 'successors': ['T8', 'T9']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 8, 0], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [2, 1, 2], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 9, 'demands': [11, 1, 3], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 5, 'demands': [5, 7, 3], 'successors': ['T12']}, {'task_id': 'T9', 'duration': 4, 'demands': [0, 5, 5], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 4, 'demands': [1, 2, 0], 'successors': ['T12', 'T8', 'T3']}, {'task_id': 'T11', 'duration': 3, 'demands': [3, 2, 1], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 3, 'end': 8, 'duration': 5, 'demands': [1, 7, 0]}, {'task': 'T3', 'start': 17, 'end': 20, 'duration': 3, 'demands': [11, 0, 4]}, {'task': 'T4', 'start': 12, 'end': 17, 'duration': 5, 'demands': [4, 6, 6]}, {'task': 'T5', 'start': 1, 'end': 3, 'duration': 2, 'demands': [2, 8, 0]}, {'task': 'T6', 'start': 0, 'end': 1, 'duration': 1, 'demands': [2, 1, 2]}, {'task': 'T7', 'start': 3, 'end': 12, 'duration': 9, 'demands': [11, 1, 3]}, {'task': 'T8', 'start': 21, 'end': 26, 'duration': 5, 'demands': [5, 7, 3]}, {'task': 'T9', 'start': 17, 'end': 21, 'duration': 4, 'demands': [0, 5, 5]}, {'task': 'T10', 'start': 12, 'end': 16, 'duration': 4, 'demands': [1, 2, 0]}, {'task': 'T11', 'start': 21, 'end': 24, 'duration': 3, 'demands': [3, 2, 1]}, {'task': 'T12', 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",8,csv,names
RCPSP,RCPSP,"Recently the team took on a landscaping overhaul where every step has a set duration, ties up a certain number of tractors and crew while underway, and depends on earlier prep in many cases. The coordinator’s role is to set start times for every step so all dependencies are honored, the number of tractors and crew being used at once never exceeds what’s available, and each step happens once. To compare different plans, just check when the final step ends — the sooner the entire job is done, the better. The detailed list of steps, times, and available tractors/crew appears below.
There are 15 landscaping steps, 3 resource types, and the available resources are .
| resource_id | capacity |
|---|---|
| A | 10 |
| B | 12 |
| C | 9 |
| step_id | step_duration | resource_demands | successor_steps |
|---|---|---|---|
| T1 | 8 | 7, 1, 3 | T4 |
| T2 | 9 | 5, 3, 2 | T5, T6 |
| T3 | 8 | 2, 8, 3 | T4 |
| T4 | 2 | 6, 3, 1 | T7 |
| T5 | 3 | 4, 1, 6 | T8, T14 |
| T6 | 13 | 5, 1, 5 | T8, T9 |
| T7 | 4 | 2, 5, 7 | T10 |
| T8 | 2 | 4, 3, 1 | none |
| T9 | 3 | 9, 8, 5 | T10, T12 |
| T10 | 2 | 5, 9, 4 | T13 |
| T11 | 3 | 3, 3, 2 | T13, T6 |
| T12 | 3 | 3, 7, 7 | T13, T14 |
| T13 | 1 | 1, 3, 3 | T15 |
| T14 | 5 | 1, 0, 7 | T15, T1 |
| T15 | 4 | 0, 1, 6 | none |
The coordinator must assign start times so all 15 steps are scheduled, the 3 resource capacities are never exceeded, and the overall completion time is minimized.
When you hand the schedule back, a simple JSON layout is perfect — nothing fancy, just the fields I showed below so it's easy to parse.
{
""solution"": [
{
""task"": <step_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of this like a short form: ""task"" is the step identifier from the job list, ""start"" is when that step kicks off, and ""end"" is when it finishes. Super casual — just fill in each step's ID and times. This block is only a sketch of the shape I expect, not the actual filled-in answer.
Please use the identifiers exactly as they appear in the instance input — no renaming and no 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”.","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [10, 12, 9], 'tasks': [{'duration': 8, 'demands': [7, 1, 3], 'successors': [3]}, {'duration': 9, 'demands': [5, 3, 2], 'successors': [4, 5]}, {'duration': 8, 'demands': [2, 8, 3], 'successors': [3]}, {'duration': 2, 'demands': [6, 3, 1], 'successors': [6]}, {'duration': 3, 'demands': [4, 1, 6], 'successors': [7, 13]}, {'duration': 13, 'demands': [5, 1, 5], 'successors': [7, 8]}, {'duration': 4, 'demands': [2, 5, 7], 'successors': [9]}, {'duration': 2, 'demands': [4, 3, 1], 'successors': []}, {'duration': 3, 'demands': [9, 8, 5], 'successors': [9, 11]}, {'duration': 2, 'demands': [5, 9, 4], 'successors': [12]}, {'duration': 3, 'demands': [3, 3, 2], 'successors': [12, 5]}, {'duration': 3, 'demands': [3, 7, 7], 'successors': [12, 13]}, {'duration': 1, 'demands': [1, 3, 3], 'successors': [14]}, {'duration': 5, 'demands': [1, 0, 7], 'successors': [14, 0]}, {'duration': 4, 'demands': [0, 1, 6], 'successors': []}]}","[{'task': 0, 'start': 36, 'end': 44, 'duration': 8, 'demands': [7, 1, 3]}, {'task': 1, 'start': 0, 'end': 9, 'duration': 9, 'demands': [5, 3, 2]}, {'task': 2, 'start': 3, 'end': 11, 'duration': 8, 'demands': [2, 8, 3]}, {'task': 3, 'start': 44, 'end': 46, 'duration': 2, 'demands': [6, 3, 1]}, {'task': 4, 'start': 25, 'end': 28, 'duration': 3, 'demands': [4, 1, 6]}, {'task': 5, 'start': 9, 'end': 22, 'duration': 13, 'demands': [5, 1, 5]}, {'task': 6, 'start': 46, 'end': 50, 'duration': 4, 'demands': [2, 5, 7]}, {'task': 7, 'start': 28, 'end': 30, 'duration': 2, 'demands': [4, 3, 1]}, {'task': 8, 'start': 22, 'end': 25, 'duration': 3, 'demands': [9, 8, 5]}, {'task': 9, 'start': 50, 'end': 52, 'duration': 2, 'demands': [5, 9, 4]}, {'task': 10, 'start': 0, 'end': 3, 'duration': 3, 'demands': [3, 3, 2]}, {'task': 11, 'start': 28, 'end': 31, 'duration': 3, 'demands': [3, 7, 7]}, {'task': 12, 'start': 52, 'end': 53, 'duration': 1, 'demands': [1, 3, 3]}, {'task': 13, 'start': 31, 'end': 36, 'duration': 5, 'demands': [1, 0, 7]}, {'task': 14, 'start': 53, 'end': 57, 'duration': 4, 'demands': [0, 1, 6]}]",57.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 10}, {'resource_id': 'B', 'capacity': 12}, {'resource_id': 'C', 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 8, 'demands': [7, 1, 3], 'successors': ['T4']}, {'task_id': 'T2', 'duration': 9, 'demands': [5, 3, 2], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 8, 'demands': [2, 8, 3], 'successors': ['T4']}, {'task_id': 'T4', 'duration': 2, 'demands': [6, 3, 1], 'successors': ['T7']}, {'task_id': 'T5', 'duration': 3, 'demands': [4, 1, 6], 'successors': ['T8', 'T14']}, {'task_id': 'T6', 'duration': 13, 'demands': [5, 1, 5], 'successors': ['T8', 'T9']}, {'task_id': 'T7', 'duration': 4, 'demands': [2, 5, 7], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 2, 'demands': [4, 3, 1], 'successors': []}, {'task_id': 'T9', 'duration': 3, 'demands': [9, 8, 5], 'successors': ['T10', 'T12']}, {'task_id': 'T10', 'duration': 2, 'demands': [5, 9, 4], 'successors': ['T13']}, {'task_id': 'T11', 'duration': 3, 'demands': [3, 3, 2], 'successors': ['T13', 'T6']}, {'task_id': 'T12', 'duration': 3, 'demands': [3, 7, 7], 'successors': ['T13', 'T14']}, {'task_id': 'T13', 'duration': 1, 'demands': [1, 3, 3], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 5, 'demands': [1, 0, 7], 'successors': ['T15', 'T1']}, {'task_id': 'T15', 'duration': 4, 'demands': [0, 1, 6], 'successors': []}]}","[{'task': 'T1', 'start': 36, 'end': 44, 'duration': 8, 'demands': [7, 1, 3]}, {'task': 'T2', 'start': 0, 'end': 9, 'duration': 9, 'demands': [5, 3, 2]}, {'task': 'T3', 'start': 3, 'end': 11, 'duration': 8, 'demands': [2, 8, 3]}, {'task': 'T4', 'start': 44, 'end': 46, 'duration': 2, 'demands': [6, 3, 1]}, {'task': 'T5', 'start': 25, 'end': 28, 'duration': 3, 'demands': [4, 1, 6]}, {'task': 'T6', 'start': 9, 'end': 22, 'duration': 13, 'demands': [5, 1, 5]}, {'task': 'T7', 'start': 46, 'end': 50, 'duration': 4, 'demands': [2, 5, 7]}, {'task': 'T8', 'start': 28, 'end': 30, 'duration': 2, 'demands': [4, 3, 1]}, {'task': 'T9', 'start': 22, 'end': 25, 'duration': 3, 'demands': [9, 8, 5]}, {'task': 'T10', 'start': 50, 'end': 52, 'duration': 2, 'demands': [5, 9, 4]}, {'task': 'T11', 'start': 0, 'end': 3, 'duration': 3, 'demands': [3, 3, 2]}, {'task': 'T12', 'start': 28, 'end': 31, 'duration': 3, 'demands': [3, 7, 7]}, {'task': 'T13', 'start': 52, 'end': 53, 'duration': 1, 'demands': [1, 3, 3]}, {'task': 'T14', 'start': 31, 'end': 36, 'duration': 5, 'demands': [1, 0, 7]}, {'task': 'T15', 'start': 53, 'end': 57, 'duration': 4, 'demands': [0, 1, 6]}]",9,markdown_table,names
RCPSP,RCPSP,"Someone managing the shop needs to line up every assembly step like dominos. Each step lasts a set period, uses a given number of tools and a patch of bench while active, and some steps can only start after others finish. The plan must assign a start time to every step (no skipping, no double-running), keep simultaneous tool and bench usage within what’s available, and aim to get the final piece finished as soon as possible — measured by the finishing time of the last step, with smaller times better. The specific tasks, durations, and available tools/benches appear below.
There are 15 assembly steps, 3 resource types, and the available resource capacities are .
Step T1 lasts 1 time units, uses 0, 0, 0 while active, and its following steps (which must wait for it to finish) are T2, T3, T4.
Step T2 lasts 2 time units, uses 3, 9, 3 while active, and its following steps (which must wait for it to finish) are T5, T6.
Step T3 lasts 1 time units, uses 8, 5, 3 while active, and its following steps (which must wait for it to finish) are T5, T6, T7.
Step T4 lasts 1 time units, uses 5, 2, 3 while active, and its following steps (which must wait for it to finish) are T5, T8.
Step T5 lasts 1 time units, uses 3, 1, 2 while active, and its following steps (which must wait for it to finish) are T9, T10.
Step T6 lasts 2 time units, uses 10, 5, 4 while active, and its following steps (which must wait for it to finish) are T10, T11.
Step T7 lasts 1 time units, uses 5, 9, 3 while active, and its following steps (which must wait for it to finish) are T11.
Step T8 lasts 2 time units, uses 1, 8, 3 while active, and its following steps (which must wait for it to finish) are T10, T11.
Step T9 lasts 1 time units, uses 2, 1, 3 while active, and its following steps (which must wait for it to finish) are T12.
Step T10 lasts 2 time units, uses 5, 1, 5 while active, and its following steps (which must wait for it to finish) are T12.
Step T11 lasts 2 time units, uses 8, 1, 5 while active, and its following steps (which must wait for it to finish) are T12.
Step T12 lasts 2 time units, uses 2, 6, 8 while active, and its following steps (which must wait for it to finish) are T13.
Step T13 lasts 1 time units, uses 4, 4, 5 while active, and its following steps (which must wait for it to finish) are none.
Step T14 lasts 1 time units, uses 1, 9, 2 while active, and its following steps (which must wait for it to finish) are T15.
Step T15 lasts 1 time units, uses 0, 0, 0 while active, and its following steps (which must wait for it to finish) are T13.
All steps must be assigned start times that respect resource capacities and precedences, aiming to minimize the finishing time of the last step.
Also, when you send the scheduled plan back, a simple JSON sketch like this is the format I expect — just showing the shape of the answer so it's easy to parse:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little form: each object in ""solution"" is one assembly step, ""task"" picks which step, and ""start"" and ""end"" say when it begins and finishes. This is just the shape I want you to follow — not the actual schedule itself.
Also, please use the exact task identifiers from the instance input — don't rename tasks 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [20, 24, 28], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 2, 'demands': [3, 9, 3], 'successors': [4, 5]}, {'duration': 1, 'demands': [8, 5, 3], 'successors': [4, 5, 6]}, {'duration': 1, 'demands': [5, 2, 3], 'successors': [4, 7]}, {'duration': 1, 'demands': [3, 1, 2], 'successors': [8, 9]}, {'duration': 2, 'demands': [10, 5, 4], 'successors': [9, 10]}, {'duration': 1, 'demands': [5, 9, 3], 'successors': [10]}, {'duration': 2, 'demands': [1, 8, 3], 'successors': [9, 10]}, {'duration': 1, 'demands': [2, 1, 3], 'successors': [11]}, {'duration': 2, 'demands': [5, 1, 5], 'successors': [11]}, {'duration': 2, 'demands': [8, 1, 5], 'successors': [11]}, {'duration': 2, 'demands': [2, 6, 8], 'successors': [12]}, {'duration': 1, 'demands': [4, 4, 5], 'successors': []}, {'duration': 1, 'demands': [1, 9, 2], 'successors': [14]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': [12]}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 1, 'end': 3, 'duration': 2, 'demands': [3, 9, 3]}, {'task': 2, 'start': 1, 'end': 2, 'duration': 1, 'demands': [8, 5, 3]}, {'task': 3, 'start': 1, 'end': 2, 'duration': 1, 'demands': [5, 2, 3]}, {'task': 4, 'start': 3, 'end': 4, 'duration': 1, 'demands': [3, 1, 2]}, {'task': 5, 'start': 3, 'end': 5, 'duration': 2, 'demands': [10, 5, 4]}, {'task': 6, 'start': 3, 'end': 4, 'duration': 1, 'demands': [5, 9, 3]}, {'task': 7, 'start': 2, 'end': 4, 'duration': 2, 'demands': [1, 8, 3]}, {'task': 8, 'start': 4, 'end': 5, 'duration': 1, 'demands': [2, 1, 3]}, {'task': 9, 'start': 5, 'end': 7, 'duration': 2, 'demands': [5, 1, 5]}, {'task': 10, 'start': 5, 'end': 7, 'duration': 2, 'demands': [8, 1, 5]}, {'task': 11, 'start': 7, 'end': 9, 'duration': 2, 'demands': [2, 6, 8]}, {'task': 12, 'start': 9, 'end': 10, 'duration': 1, 'demands': [4, 4, 5]}, {'task': 13, 'start': 0, 'end': 1, 'duration': 1, 'demands': [1, 9, 2]}, {'task': 14, 'start': 8, 'end': 9, 'duration': 1, 'demands': [0, 0, 0]}]",10.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 20}, {'resource_id': 2, 'capacity': 24}, {'resource_id': 3, 'capacity': 28}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 2, 'demands': [3, 9, 3], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 1, 'demands': [8, 5, 3], 'successors': ['T5', 'T6', 'T7']}, {'task_id': 'T4', 'duration': 1, 'demands': [5, 2, 3], 'successors': ['T5', 'T8']}, {'task_id': 'T5', 'duration': 1, 'demands': [3, 1, 2], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 2, 'demands': [10, 5, 4], 'successors': ['T10', 'T11']}, {'task_id': 'T7', 'duration': 1, 'demands': [5, 9, 3], 'successors': ['T11']}, {'task_id': 'T8', 'duration': 2, 'demands': [1, 8, 3], 'successors': ['T10', 'T11']}, {'task_id': 'T9', 'duration': 1, 'demands': [2, 1, 3], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 2, 'demands': [5, 1, 5], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 2, 'demands': [8, 1, 5], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 2, 'demands': [2, 6, 8], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [4, 4, 5], 'successors': []}, {'task_id': 'T14', 'duration': 1, 'demands': [1, 9, 2], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T13']}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 1, 'end': 3, 'duration': 2, 'demands': [3, 9, 3]}, {'task': 'T3', 'start': 1, 'end': 2, 'duration': 1, 'demands': [8, 5, 3]}, {'task': 'T4', 'start': 1, 'end': 2, 'duration': 1, 'demands': [5, 2, 3]}, {'task': 'T5', 'start': 3, 'end': 4, 'duration': 1, 'demands': [3, 1, 2]}, {'task': 'T6', 'start': 3, 'end': 5, 'duration': 2, 'demands': [10, 5, 4]}, {'task': 'T7', 'start': 3, 'end': 4, 'duration': 1, 'demands': [5, 9, 3]}, {'task': 'T8', 'start': 2, 'end': 4, 'duration': 2, 'demands': [1, 8, 3]}, {'task': 'T9', 'start': 4, 'end': 5, 'duration': 1, 'demands': [2, 1, 3]}, {'task': 'T10', 'start': 5, 'end': 7, 'duration': 2, 'demands': [5, 1, 5]}, {'task': 'T11', 'start': 5, 'end': 7, 'duration': 2, 'demands': [8, 1, 5]}, {'task': 'T12', 'start': 7, 'end': 9, 'duration': 2, 'demands': [2, 6, 8]}, {'task': 'T13', 'start': 9, 'end': 10, 'duration': 1, 'demands': [4, 4, 5]}, {'task': 'T14', 'start': 0, 'end': 1, 'duration': 1, 'demands': [1, 9, 2]}, {'task': 'T15', 'start': 8, 'end': 9, 'duration': 1, 'demands': [0, 0, 0]}]",10,nl,1
RCPSP,RCPSP,"Back when the new term calendar landed on my desk, it became clear: every classroom setup and lesson has a fixed length, uses up rooms and teachers while active, and some can’t begin until others have wrapped. The job is to pick a start time for every single item so we never have more concurrent classes than rooms or teachers available, and nothing is skipped or scheduled twice. The goal is to get everything done as soon as possible — in other words, make the time the final session ends as small as it can be. The concrete session and resource details will be shown below.
So, here’s what I’m looking at: 12 sessions, 3 resource types, capacities .
| resource_id | capacity |
|---|---|
| 1 | 7 |
| 2 | 9 |
| 3 | 8 |
| session_id | session_duration | resource_requirements | successor_sessions |
|---|---|---|---|
| T1 | 1 | 0, 0, 0 | T2, T3, T6 |
| T2 | 3 | 6, 1, 2 | T4, T5, T12 |
| T3 | 6 | 2, 4, 3 | T7, T9, T4, T2 |
| T4 | 3 | 3, 1, 1 | T9, T10, T6 |
| T5 | 2 | 3, 3, 2 | T6, T8 |
| T6 | 3 | 4, 0, 6 | T10, T11 |
| T7 | 5 | 2, 1, 1 | T8 |
| T8 | 4 | 1, 2, 3 | T12, T10 |
| T9 | 7 | 4, 2, 2 | T10, T11 |
| T10 | 1 | 6, 1, 0 | T11 |
| T11 | 2 | 3, 3, 1 | T12 |
| T12 | 1 | 0, 0, 0 | none |
I’ll need every session scheduled so the last one finishes as early as I can make it.
Oh, and when you send the scheduled plan back, keep it in a tiny JSON layout so it's easy to check automatically — nothing fancy, just this shape:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This shows the shape I expect: ""solution"" is a list of scheduled items, and each item has a task identifier plus the start and end times for that session. Treat it like a simple form — each row says which session it is and when it begins and finishes. The block above is just a sketch of the expected shape, not the actual answer — replace those placeholders with the real IDs and times from the instance.
Please use the exact identifiers from 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [7, 9, 8], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 5]}, {'duration': 3, 'demands': [6, 1, 2], 'successors': [3, 4, 11]}, {'duration': 6, 'demands': [2, 4, 3], 'successors': [6, 8, 3, 1]}, {'duration': 3, 'demands': [3, 1, 1], 'successors': [8, 9, 5]}, {'duration': 2, 'demands': [3, 3, 2], 'successors': [5, 7]}, {'duration': 3, 'demands': [4, 0, 6], 'successors': [9, 10]}, {'duration': 5, 'demands': [2, 1, 1], 'successors': [7]}, {'duration': 4, 'demands': [1, 2, 3], 'successors': [11, 9]}, {'duration': 7, 'demands': [4, 2, 2], 'successors': [9, 10]}, {'duration': 1, 'demands': [6, 1, 0], 'successors': [10]}, {'duration': 2, 'demands': [3, 3, 1], 'successors': [11]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 7, 'end': 10, 'duration': 3, 'demands': [6, 1, 2]}, {'task': 2, 'start': 1, 'end': 7, 'duration': 6, 'demands': [2, 4, 3]}, {'task': 3, 'start': 10, 'end': 13, 'duration': 3, 'demands': [3, 1, 1]}, {'task': 4, 'start': 10, 'end': 12, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 5, 'start': 13, 'end': 16, 'duration': 3, 'demands': [4, 0, 6]}, {'task': 6, 'start': 12, 'end': 17, 'duration': 5, 'demands': [2, 1, 1]}, {'task': 7, 'start': 17, 'end': 21, 'duration': 4, 'demands': [1, 2, 3]}, {'task': 8, 'start': 16, 'end': 23, 'duration': 7, 'demands': [4, 2, 2]}, {'task': 9, 'start': 23, 'end': 24, 'duration': 1, 'demands': [6, 1, 0]}, {'task': 10, 'start': 24, 'end': 26, 'duration': 2, 'demands': [3, 3, 1]}, {'task': 11, 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",27.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 7}, {'resource_id': 2, 'capacity': 9}, {'resource_id': 3, 'capacity': 8}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T6']}, {'task_id': 'T2', 'duration': 3, 'demands': [6, 1, 2], 'successors': ['T4', 'T5', 'T12']}, {'task_id': 'T3', 'duration': 6, 'demands': [2, 4, 3], 'successors': ['T7', 'T9', 'T4', 'T2']}, {'task_id': 'T4', 'duration': 3, 'demands': [3, 1, 1], 'successors': ['T9', 'T10', 'T6']}, {'task_id': 'T5', 'duration': 2, 'demands': [3, 3, 2], 'successors': ['T6', 'T8']}, {'task_id': 'T6', 'duration': 3, 'demands': [4, 0, 6], 'successors': ['T10', 'T11']}, {'task_id': 'T7', 'duration': 5, 'demands': [2, 1, 1], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 4, 'demands': [1, 2, 3], 'successors': ['T12', 'T10']}, {'task_id': 'T9', 'duration': 7, 'demands': [4, 2, 2], 'successors': ['T10', 'T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [6, 1, 0], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [3, 3, 1], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 7, 'end': 10, 'duration': 3, 'demands': [6, 1, 2]}, {'task': 'T3', 'start': 1, 'end': 7, 'duration': 6, 'demands': [2, 4, 3]}, {'task': 'T4', 'start': 10, 'end': 13, 'duration': 3, 'demands': [3, 1, 1]}, {'task': 'T5', 'start': 10, 'end': 12, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 'T6', 'start': 13, 'end': 16, 'duration': 3, 'demands': [4, 0, 6]}, {'task': 'T7', 'start': 12, 'end': 17, 'duration': 5, 'demands': [2, 1, 1]}, {'task': 'T8', 'start': 17, 'end': 21, 'duration': 4, 'demands': [1, 2, 3]}, {'task': 'T9', 'start': 16, 'end': 23, 'duration': 7, 'demands': [4, 2, 2]}, {'task': 'T10', 'start': 23, 'end': 24, 'duration': 1, 'demands': [6, 1, 0]}, {'task': 'T11', 'start': 24, 'end': 26, 'duration': 2, 'demands': [3, 3, 1]}, {'task': 'T12', 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",11,markdown_table,1
RCPSP,RCPSP,"Recently the photographer picked up a complicated job: several fixed-length shoot segments, limited lighting rigs and crew, and a bunch of “must-finish-before” relationships between segments. The job now is to decide when each segment starts so no two simultaneous segments together demand more gear or staff than exist, and so each segment is done exactly once in its required order. Better schedules are the ones that get the last segment done earlier — the finish of the shoot is simply the end time of that last segment, and the aim is to push that end time as early as possible. The detailed list of segments, their durations and the resource availability is listed below.
The detailed list follows: 15 total segments, 1 resource types, capacities .
Segment T1: duration 1, demands 0 while running, must finish before T2, T3, T4.
Segment T2: duration 3, demands 1 while running, must finish before T5.
Segment T3: duration 7, demands 1 while running, must finish before T6, T10, T11.
Segment T4: duration 8, demands 9 while running, must finish before T7, T9.
Segment T5: duration 1, demands 0 while running, must finish before T6.
Segment T6: duration 3, demands 2 while running, must finish before T7, T9.
Segment T7: duration 2, demands 3 while running, must finish before T15.
Segment T8: duration 13, demands 5 while running, must finish before T15.
Segment T9: duration 1, demands 2 while running, must finish before T13.
Segment T10: duration 10, demands 4 while running, must finish before T12, T13.
Segment T11: duration 1, demands 3 while running, must finish before T14.
Segment T12: duration 1, demands 0 while running, must finish before T14.
Segment T13: duration 10, demands 4 while running, must finish before T15.
Segment T14: duration 6, demands 1 while running, must finish before T15.
Segment T15: duration 1, demands 0 while running, must finish before none.
All segments must be scheduled once respecting these precedences and resource capacities so the shoot finishes as early as possible.
When you’re ready to give me the schedule, a simple JSON layout like this works best — it's just a small list of entries, each saying which segment (task) starts when and ends when.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little form: ""solution"" holds a list of scheduled segments, each item gives the segment's id under ""task"" and the time it starts and the time it finishes under ""start"" and ""end"". Keep it light — just one object per segment, and the end time should match when that segment is done.
This JSON is only a sketch of the shape I expect, not the actual filled-in schedule.
Also, please use the exact identifiers from the instance input — don’t 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”.""","{'nr_tasks': 15, 'nr_resources': 1, 'capacities': [12], 'tasks': [{'duration': 1, 'demands': [0], 'successors': [1, 2, 3]}, {'duration': 3, 'demands': [1], 'successors': [4]}, {'duration': 7, 'demands': [1], 'successors': [5, 9, 10]}, {'duration': 8, 'demands': [9], 'successors': [6, 8]}, {'duration': 1, 'demands': [0], 'successors': [5]}, {'duration': 3, 'demands': [2], 'successors': [6, 8]}, {'duration': 2, 'demands': [3], 'successors': [14]}, {'duration': 13, 'demands': [5], 'successors': [14]}, {'duration': 1, 'demands': [2], 'successors': [12]}, {'duration': 10, 'demands': [4], 'successors': [11, 12]}, {'duration': 1, 'demands': [3], 'successors': [13]}, {'duration': 1, 'demands': [0], 'successors': [13]}, {'duration': 10, 'demands': [4], 'successors': [14]}, {'duration': 6, 'demands': [1], 'successors': [14]}, {'duration': 1, 'demands': [0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0]}, {'task': 1, 'start': 1, 'end': 4, 'duration': 3, 'demands': [1]}, {'task': 2, 'start': 1, 'end': 8, 'duration': 7, 'demands': [1]}, {'task': 3, 'start': 1, 'end': 9, 'duration': 8, 'demands': [9]}, {'task': 4, 'start': 7, 'end': 8, 'duration': 1, 'demands': [0]}, {'task': 5, 'start': 8, 'end': 11, 'duration': 3, 'demands': [2]}, {'task': 6, 'start': 11, 'end': 13, 'duration': 2, 'demands': [3]}, {'task': 7, 'start': 10, 'end': 23, 'duration': 13, 'demands': [5]}, {'task': 8, 'start': 13, 'end': 14, 'duration': 1, 'demands': [2]}, {'task': 9, 'start': 9, 'end': 19, 'duration': 10, 'demands': [4]}, {'task': 10, 'start': 9, 'end': 10, 'duration': 1, 'demands': [3]}, {'task': 11, 'start': 19, 'end': 20, 'duration': 1, 'demands': [0]}, {'task': 12, 'start': 19, 'end': 29, 'duration': 10, 'demands': [4]}, {'task': 13, 'start': 20, 'end': 26, 'duration': 6, 'demands': [1]}, {'task': 14, 'start': 29, 'end': 30, 'duration': 1, 'demands': [0]}]",30.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 1, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [0], 'resource_capacities': [{'resource_id': 0, 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 3, 'demands': [1], 'successors': ['T5']}, {'task_id': 'T3', 'duration': 7, 'demands': [1], 'successors': ['T6', 'T10', 'T11']}, {'task_id': 'T4', 'duration': 8, 'demands': [9], 'successors': ['T7', 'T9']}, {'task_id': 'T5', 'duration': 1, 'demands': [0], 'successors': ['T6']}, {'task_id': 'T6', 'duration': 3, 'demands': [2], 'successors': ['T7', 'T9']}, {'task_id': 'T7', 'duration': 2, 'demands': [3], 'successors': ['T15']}, {'task_id': 'T8', 'duration': 13, 'demands': [5], 'successors': ['T15']}, {'task_id': 'T9', 'duration': 1, 'demands': [2], 'successors': ['T13']}, {'task_id': 'T10', 'duration': 10, 'demands': [4], 'successors': ['T12', 'T13']}, {'task_id': 'T11', 'duration': 1, 'demands': [3], 'successors': ['T14']}, {'task_id': 'T12', 'duration': 1, 'demands': [0], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 10, 'demands': [4], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 6, 'demands': [1], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 1, 'demands': [0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0]}, {'task': 'T2', 'start': 1, 'end': 4, 'duration': 3, 'demands': [1]}, {'task': 'T3', 'start': 1, 'end': 8, 'duration': 7, 'demands': [1]}, {'task': 'T4', 'start': 1, 'end': 9, 'duration': 8, 'demands': [9]}, {'task': 'T5', 'start': 7, 'end': 8, 'duration': 1, 'demands': [0]}, {'task': 'T6', 'start': 8, 'end': 11, 'duration': 3, 'demands': [2]}, {'task': 'T7', 'start': 11, 'end': 13, 'duration': 2, 'demands': [3]}, {'task': 'T8', 'start': 10, 'end': 23, 'duration': 13, 'demands': [5]}, {'task': 'T9', 'start': 13, 'end': 14, 'duration': 1, 'demands': [2]}, {'task': 'T10', 'start': 9, 'end': 19, 'duration': 10, 'demands': [4]}, {'task': 'T11', 'start': 9, 'end': 10, 'duration': 1, 'demands': [3]}, {'task': 'T12', 'start': 19, 'end': 20, 'duration': 1, 'demands': [0]}, {'task': 'T13', 'start': 19, 'end': 29, 'duration': 10, 'demands': [4]}, {'task': 'T14', 'start': 20, 'end': 26, 'duration': 6, 'demands': [1]}, {'task': 'T15', 'start': 29, 'end': 30, 'duration': 1, 'demands': [0]}]",12,nl,0
RCPSP,RCPSP,"Someone on the production team mapped out all the songs: each has a known recording length, needs specific studio resources while it’s happening, and some songs depend on others being completed first. The task becomes assigning a start time to each of those sessions so there are never more overlapping sessions than studios or engineers allow, and every required session happens once and only once. What makes one schedule better than another is simple — it finishes the album earlier; the album’s completion time is the time the final session wraps up, and that finish time is what to watch. The concrete numbers and constraints are shown below.
They are: 11 sessions, 3 resource types, capacities .
| resource_id | capacity |
|---|---|
| 0 | 10 |
| 1 | 12 |
| 2 | 13 |
| session_id | session_duration | session_resource_needs | must_follow_sessions |
|---|---|---|---|
| T1 | 7 | 4, 1, 3 | T5, T6 |
| T2 | 10 | 10, 10, 6 | T7, T8, T4 |
| T3 | 2 | 5, 5, 1 | T5, T6 |
| T4 | 3 | 2, 7, 7 | T5, T6, T9, T3 |
| T5 | 1 | 6, 1, 2 | T9 |
| T6 | 2 | 2, 2, 3 | none |
| T7 | 6 | 4, 4, 3 | T9, T5 |
| T8 | 4 | 5, 1, 8 | T9 |
| T9 | 3 | 2, 5, 8 | none |
| T10 | 15 | 2, 1, 3 | T11, T2 |
| T11 | 5 | 3, 7, 4 | T6, T3 |
List all 11 sessions so the album's completion time can be determined and used to compare schedules.
Also, when you send the actual schedule back, please use this JSON layout so it's easy to read and check:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of this like a simple form: ""solution"" is the list of all recording sessions, and each item says which session it is (""task"") and when it starts and finishes (""start"" and ""end""). Keep it casual — task is the song/session identifier, start and end are the times (same units as the instance) when that session begins and ends.
This JSON is just a sketch of the shape I expect, not the final scheduled times.
Please make sure you use the exact identifiers from the instance input — do not rename them or invent new ones.
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”.","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [10, 12, 13], 'tasks': [{'duration': 7, 'demands': [4, 1, 3], 'successors': [4, 5]}, {'duration': 10, 'demands': [10, 10, 6], 'successors': [6, 7, 3]}, {'duration': 2, 'demands': [5, 5, 1], 'successors': [4, 5]}, {'duration': 3, 'demands': [2, 7, 7], 'successors': [4, 5, 8, 2]}, {'duration': 1, 'demands': [6, 1, 2], 'successors': [8]}, {'duration': 2, 'demands': [2, 2, 3], 'successors': []}, {'duration': 6, 'demands': [4, 4, 3], 'successors': [8, 4]}, {'duration': 4, 'demands': [5, 1, 8], 'successors': [8]}, {'duration': 3, 'demands': [2, 5, 8], 'successors': []}, {'duration': 15, 'demands': [2, 1, 3], 'successors': [10, 1]}, {'duration': 5, 'demands': [3, 7, 4], 'successors': [5, 2]}]}","[{'task': 0, 'start': 0, 'end': 7, 'duration': 7, 'demands': [4, 1, 3]}, {'task': 1, 'start': 15, 'end': 25, 'duration': 10, 'demands': [10, 10, 6]}, {'task': 2, 'start': 33, 'end': 35, 'duration': 2, 'demands': [5, 5, 1]}, {'task': 3, 'start': 25, 'end': 28, 'duration': 3, 'demands': [2, 7, 7]}, {'task': 4, 'start': 35, 'end': 36, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 5, 'start': 35, 'end': 37, 'duration': 2, 'demands': [2, 2, 3]}, {'task': 6, 'start': 25, 'end': 31, 'duration': 6, 'demands': [4, 4, 3]}, {'task': 7, 'start': 31, 'end': 35, 'duration': 4, 'demands': [5, 1, 8]}, {'task': 8, 'start': 36, 'end': 39, 'duration': 3, 'demands': [2, 5, 8]}, {'task': 9, 'start': 0, 'end': 15, 'duration': 15, 'demands': [2, 1, 3]}, {'task': 10, 'start': 28, 'end': 33, 'duration': 5, 'demands': [3, 7, 4]}]",39.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 10}, {'resource_id': 1, 'capacity': 12}, {'resource_id': 2, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 7, 'demands': [4, 1, 3], 'successors': ['T5', 'T6']}, {'task_id': 'T2', 'duration': 10, 'demands': [10, 10, 6], 'successors': ['T7', 'T8', 'T4']}, {'task_id': 'T3', 'duration': 2, 'demands': [5, 5, 1], 'successors': ['T5', 'T6']}, {'task_id': 'T4', 'duration': 3, 'demands': [2, 7, 7], 'successors': ['T5', 'T6', 'T9', 'T3']}, {'task_id': 'T5', 'duration': 1, 'demands': [6, 1, 2], 'successors': ['T9']}, {'task_id': 'T6', 'duration': 2, 'demands': [2, 2, 3], 'successors': []}, {'task_id': 'T7', 'duration': 6, 'demands': [4, 4, 3], 'successors': ['T9', 'T5']}, {'task_id': 'T8', 'duration': 4, 'demands': [5, 1, 8], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 3, 'demands': [2, 5, 8], 'successors': []}, {'task_id': 'T10', 'duration': 15, 'demands': [2, 1, 3], 'successors': ['T11', 'T2']}, {'task_id': 'T11', 'duration': 5, 'demands': [3, 7, 4], 'successors': ['T6', 'T3']}]}","[{'task': 'T1', 'start': 0, 'end': 7, 'duration': 7, 'demands': [4, 1, 3]}, {'task': 'T2', 'start': 15, 'end': 25, 'duration': 10, 'demands': [10, 10, 6]}, {'task': 'T3', 'start': 33, 'end': 35, 'duration': 2, 'demands': [5, 5, 1]}, {'task': 'T4', 'start': 25, 'end': 28, 'duration': 3, 'demands': [2, 7, 7]}, {'task': 'T5', 'start': 35, 'end': 36, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 'T6', 'start': 35, 'end': 37, 'duration': 2, 'demands': [2, 2, 3]}, {'task': 'T7', 'start': 25, 'end': 31, 'duration': 6, 'demands': [4, 4, 3]}, {'task': 'T8', 'start': 31, 'end': 35, 'duration': 4, 'demands': [5, 1, 8]}, {'task': 'T9', 'start': 36, 'end': 39, 'duration': 3, 'demands': [2, 5, 8]}, {'task': 'T10', 'start': 0, 'end': 15, 'duration': 15, 'demands': [2, 1, 3]}, {'task': 'T11', 'start': 28, 'end': 33, 'duration': 5, 'demands': [3, 7, 4]}]",13,markdown_table,0
RCPSP,RCPSP,"Someone in the lab needs to map out the day: every experiment has a fixed runtime, it uses up certain instruments and tech time while it’s active, and some experiments depend on the results of earlier ones. The job is to pick start times, making sure each experiment runs exactly once, dependencies are honored, and at no point do equipment or technicians get overbooked. What makes one timetable better than another is simple — the sooner the last experiment is done, the better; use that final completion time to compare plans. The specific experiment schedule and resource limits are given below.
# total_experiments=14
# resource_types_count=3
# resources=0, 1, 2
resource_id,capacity
0,9
1,9
2,10
experiment_id,runtime,resource_demands,dependent_experiments
T1,2,""2, 3, 4"",""T4, T5""
T2,4,""9, 5, 3"",""T4, T7""
T3,11,""5, 4, 4"",""T5, T6""
T4,12,""2, 1, 8"",""T8, T9""
T5,9,""3, 6, 3"",""T10, T11, T14""
T6,3,""2, 7, 2"",""T8, T9""
T7,2,""2, 3, 4"",""T8, T9, T4""
T8,1,""5, 2, 2"",""T12""
T9,3,""3, 2, 3"",""none""
T10,4,""2, 2, 3"",""T12, T11, T9""
T11,3,""6, 2, 6"",""T12""
T12,3,""1, 6, 2"",""none""
T13,5,""3, 3, 6"",""T14""
T14,2,""2, 6, 7"",""none""
Also, when you hand me the timetable, please use a simple JSON shape so it's easy to parse and check.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little form: ""solution"" holds a list of experiment entries; each entry names the task (the experiment label) and the start and end times when that experiment runs. It's just a sketch of the shape I expect, not the actual schedule — you'll fill in the real task ids and times.
One more important thing: 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”.","{'nr_tasks': 14, 'nr_resources': 3, 'capacities': [9, 9, 10], 'tasks': [{'duration': 2, 'demands': [2, 3, 4], 'successors': [3, 4]}, {'duration': 4, 'demands': [9, 5, 3], 'successors': [3, 6]}, {'duration': 11, 'demands': [5, 4, 4], 'successors': [4, 5]}, {'duration': 12, 'demands': [2, 1, 8], 'successors': [7, 8]}, {'duration': 9, 'demands': [3, 6, 3], 'successors': [9, 10, 13]}, {'duration': 3, 'demands': [2, 7, 2], 'successors': [7, 8]}, {'duration': 2, 'demands': [2, 3, 4], 'successors': [7, 8, 3]}, {'duration': 1, 'demands': [5, 2, 2], 'successors': [11]}, {'duration': 3, 'demands': [3, 2, 3], 'successors': []}, {'duration': 4, 'demands': [2, 2, 3], 'successors': [11, 10, 8]}, {'duration': 3, 'demands': [6, 2, 6], 'successors': [11]}, {'duration': 3, 'demands': [1, 6, 2], 'successors': []}, {'duration': 5, 'demands': [3, 3, 6], 'successors': [13]}, {'duration': 2, 'demands': [2, 6, 7], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 1, 'start': 11, 'end': 15, 'duration': 4, 'demands': [9, 5, 3]}, {'task': 2, 'start': 0, 'end': 11, 'duration': 11, 'demands': [5, 4, 4]}, {'task': 3, 'start': 24, 'end': 36, 'duration': 12, 'demands': [2, 1, 8]}, {'task': 4, 'start': 15, 'end': 24, 'duration': 9, 'demands': [3, 6, 3]}, {'task': 5, 'start': 24, 'end': 27, 'duration': 3, 'demands': [2, 7, 2]}, {'task': 6, 'start': 15, 'end': 17, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 7, 'start': 36, 'end': 37, 'duration': 1, 'demands': [5, 2, 2]}, {'task': 8, 'start': 40, 'end': 43, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 9, 'start': 36, 'end': 40, 'duration': 4, 'demands': [2, 2, 3]}, {'task': 10, 'start': 40, 'end': 43, 'duration': 3, 'demands': [6, 2, 6]}, {'task': 11, 'start': 43, 'end': 46, 'duration': 3, 'demands': [1, 6, 2]}, {'task': 12, 'start': 2, 'end': 7, 'duration': 5, 'demands': [3, 3, 6]}, {'task': 13, 'start': 37, 'end': 39, 'duration': 2, 'demands': [2, 6, 7]}]",46.0,"{'problem_type': 'RCPSP', 'nr_tasks': 14, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 9}, {'resource_id': 1, 'capacity': 9}, {'resource_id': 2, 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [2, 3, 4], 'successors': ['T4', 'T5']}, {'task_id': 'T2', 'duration': 4, 'demands': [9, 5, 3], 'successors': ['T4', 'T7']}, {'task_id': 'T3', 'duration': 11, 'demands': [5, 4, 4], 'successors': ['T5', 'T6']}, {'task_id': 'T4', 'duration': 12, 'demands': [2, 1, 8], 'successors': ['T8', 'T9']}, {'task_id': 'T5', 'duration': 9, 'demands': [3, 6, 3], 'successors': ['T10', 'T11', 'T14']}, {'task_id': 'T6', 'duration': 3, 'demands': [2, 7, 2], 'successors': ['T8', 'T9']}, {'task_id': 'T7', 'duration': 2, 'demands': [2, 3, 4], 'successors': ['T8', 'T9', 'T4']}, {'task_id': 'T8', 'duration': 1, 'demands': [5, 2, 2], 'successors': ['T12']}, {'task_id': 'T9', 'duration': 3, 'demands': [3, 2, 3], 'successors': []}, {'task_id': 'T10', 'duration': 4, 'demands': [2, 2, 3], 'successors': ['T12', 'T11', 'T9']}, {'task_id': 'T11', 'duration': 3, 'demands': [6, 2, 6], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 3, 'demands': [1, 6, 2], 'successors': []}, {'task_id': 'T13', 'duration': 5, 'demands': [3, 3, 6], 'successors': ['T14']}, {'task_id': 'T14', 'duration': 2, 'demands': [2, 6, 7], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 'T2', 'start': 11, 'end': 15, 'duration': 4, 'demands': [9, 5, 3]}, {'task': 'T3', 'start': 0, 'end': 11, 'duration': 11, 'demands': [5, 4, 4]}, {'task': 'T4', 'start': 24, 'end': 36, 'duration': 12, 'demands': [2, 1, 8]}, {'task': 'T5', 'start': 15, 'end': 24, 'duration': 9, 'demands': [3, 6, 3]}, {'task': 'T6', 'start': 24, 'end': 27, 'duration': 3, 'demands': [2, 7, 2]}, {'task': 'T7', 'start': 15, 'end': 17, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 'T8', 'start': 36, 'end': 37, 'duration': 1, 'demands': [5, 2, 2]}, {'task': 'T9', 'start': 40, 'end': 43, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 'T10', 'start': 36, 'end': 40, 'duration': 4, 'demands': [2, 2, 3]}, {'task': 'T11', 'start': 40, 'end': 43, 'duration': 3, 'demands': [6, 2, 6]}, {'task': 'T12', 'start': 43, 'end': 46, 'duration': 3, 'demands': [1, 6, 2]}, {'task': 'T13', 'start': 2, 'end': 7, 'duration': 5, 'demands': [3, 3, 6]}, {'task': 'T14', 'start': 37, 'end': 39, 'duration': 2, 'demands': [2, 6, 7]}]",14,csv,0
RCPSP,RCPSP,"Someone on the floor is juggling start times for each picking and packing job — each job takes a set amount of time, needs a few forklifts and some hands while it’s running, and often has to wait for other jobs to finish first. The plan must include every job exactly once, keep the running count of forklifts and staff within the limits at all moments, and try to make the shipment go out as early as possible — that target is simply the time when the last job ends. The detailed instance (jobs, times, and resources) appears below.
There are 13 jobs to place, 3 resource types to track, and resource capacities are .
Job T1 runs for 1, requires 3, 3, 1 while active, and may only start after T4, T5.
Job T2 runs for 8, requires 8, 1, 3 while active, and may only start after T8, T9.
Job T3 runs for 4, requires 4, 4, 3 while active, and may only start after T6, T7.
Job T4 runs for 3, requires 6, 10, 3 while active, and may only start after T6, T9.
Job T5 runs for 6, requires 2, 3, 5 while active, and may only start after T7, T8.
Job T6 runs for 3, requires 3, 3, 1 while active, and may only start after T10.
Job T7 runs for 9, requires 5, 3, 5 while active, and may only start after T10, T12.
Job T8 runs for 1, requires 4, 5, 2 while active, and may only start after none.
Job T9 runs for 1, requires 5, 1, 6 while active, and may only start after T10.
Job T10 runs for 2, requires 1, 4, 6 while active, and may only start after T11, T12, T13.
Job T11 runs for 4, requires 7, 7, 4 while active, and may only start after T13.
Job T12 runs for 10, requires 3, 5, 3 while active, and may only start after T13.
Job T13 runs for 6, requires 3, 5, 8 while active, and may only start after none.
Keep every job scheduled exactly once, never exceed , and minimize the time when the last job ends.
If you want to hand me the schedule, a nice, tidy JSON layout works best — something like this shape will do the job:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just sketches the shape: ""solution"" is the list of all jobs, and each entry says which task (its id) and when it starts and ends. Think of it like filling out a little form for each picking/packing job: the job label, its start time, and its end time. It’s just an example of the format I expect, not the actual schedule.
Please make sure to use the exact identifiers from the instance input — don’t rename tasks 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”.""","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [14, 15, 13], 'tasks': [{'duration': 1, 'demands': [3, 3, 1], 'successors': [3, 4]}, {'duration': 8, 'demands': [8, 1, 3], 'successors': [7, 8]}, {'duration': 4, 'demands': [4, 4, 3], 'successors': [5, 6]}, {'duration': 3, 'demands': [6, 10, 3], 'successors': [5, 8]}, {'duration': 6, 'demands': [2, 3, 5], 'successors': [6, 7]}, {'duration': 3, 'demands': [3, 3, 1], 'successors': [9]}, {'duration': 9, 'demands': [5, 3, 5], 'successors': [9, 11]}, {'duration': 1, 'demands': [4, 5, 2], 'successors': []}, {'duration': 1, 'demands': [5, 1, 6], 'successors': [9]}, {'duration': 2, 'demands': [1, 4, 6], 'successors': [10, 11, 12]}, {'duration': 4, 'demands': [7, 7, 4], 'successors': [12]}, {'duration': 10, 'demands': [3, 5, 3], 'successors': [12]}, {'duration': 6, 'demands': [3, 5, 8], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [3, 3, 1]}, {'task': 1, 'start': 1, 'end': 9, 'duration': 8, 'demands': [8, 1, 3]}, {'task': 2, 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 4, 3]}, {'task': 3, 'start': 9, 'end': 12, 'duration': 3, 'demands': [6, 10, 3]}, {'task': 4, 'start': 1, 'end': 7, 'duration': 6, 'demands': [2, 3, 5]}, {'task': 5, 'start': 12, 'end': 15, 'duration': 3, 'demands': [3, 3, 1]}, {'task': 6, 'start': 7, 'end': 16, 'duration': 9, 'demands': [5, 3, 5]}, {'task': 7, 'start': 13, 'end': 14, 'duration': 1, 'demands': [4, 5, 2]}, {'task': 8, 'start': 12, 'end': 13, 'duration': 1, 'demands': [5, 1, 6]}, {'task': 9, 'start': 16, 'end': 18, 'duration': 2, 'demands': [1, 4, 6]}, {'task': 10, 'start': 18, 'end': 22, 'duration': 4, 'demands': [7, 7, 4]}, {'task': 11, 'start': 18, 'end': 28, 'duration': 10, 'demands': [3, 5, 3]}, {'task': 12, 'start': 28, 'end': 34, 'duration': 6, 'demands': [3, 5, 8]}]",34.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 14}, {'resource_id': 1, 'capacity': 15}, {'resource_id': 2, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [3, 3, 1], 'successors': ['T4', 'T5']}, {'task_id': 'T2', 'duration': 8, 'demands': [8, 1, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T3', 'duration': 4, 'demands': [4, 4, 3], 'successors': ['T6', 'T7']}, {'task_id': 'T4', 'duration': 3, 'demands': [6, 10, 3], 'successors': ['T6', 'T9']}, {'task_id': 'T5', 'duration': 6, 'demands': [2, 3, 5], 'successors': ['T7', 'T8']}, {'task_id': 'T6', 'duration': 3, 'demands': [3, 3, 1], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 9, 'demands': [5, 3, 5], 'successors': ['T10', 'T12']}, {'task_id': 'T8', 'duration': 1, 'demands': [4, 5, 2], 'successors': []}, {'task_id': 'T9', 'duration': 1, 'demands': [5, 1, 6], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 2, 'demands': [1, 4, 6], 'successors': ['T11', 'T12', 'T13']}, {'task_id': 'T11', 'duration': 4, 'demands': [7, 7, 4], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 10, 'demands': [3, 5, 3], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 6, 'demands': [3, 5, 8], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [3, 3, 1]}, {'task': 'T2', 'start': 1, 'end': 9, 'duration': 8, 'demands': [8, 1, 3]}, {'task': 'T3', 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 4, 3]}, {'task': 'T4', 'start': 9, 'end': 12, 'duration': 3, 'demands': [6, 10, 3]}, {'task': 'T5', 'start': 1, 'end': 7, 'duration': 6, 'demands': [2, 3, 5]}, {'task': 'T6', 'start': 12, 'end': 15, 'duration': 3, 'demands': [3, 3, 1]}, {'task': 'T7', 'start': 7, 'end': 16, 'duration': 9, 'demands': [5, 3, 5]}, {'task': 'T8', 'start': 13, 'end': 14, 'duration': 1, 'demands': [4, 5, 2]}, {'task': 'T9', 'start': 12, 'end': 13, 'duration': 1, 'demands': [5, 1, 6]}, {'task': 'T10', 'start': 16, 'end': 18, 'duration': 2, 'demands': [1, 4, 6]}, {'task': 'T11', 'start': 18, 'end': 22, 'duration': 4, 'demands': [7, 7, 4]}, {'task': 'T12', 'start': 18, 'end': 28, 'duration': 10, 'demands': [3, 5, 3]}, {'task': 'T13', 'start': 28, 'end': 34, 'duration': 6, 'demands': [3, 5, 8]}]",15,nl,0
RCPSP,RCPSP,"Many projects look simple on paper until the crews and tools start to overlap; this one lists hardscape and planting phases that each take a certain amount of time and need certain crews or equipment while they run. The decision is to place each phase on the timeline, respecting which phases must finish before others can begin, and avoiding any overlap that would demand more resources than exist. A smarter placement is the one where the final phase finishes sooner — that finish time is the bottom-line measure — and the concrete task breakdown and resource numbers are shown below.
Concretely, the breakdown lists 12 phases, 2 resource types, and available capacities .
| resource_id | capacity |
|---|---|
| A | 4 |
| B | 6 |
| phase_id | phase_duration | resource_requirements | finish_to_start_successors |
|---|---|---|---|
| T1 | 1 | 0, 0 | T2, T5, T11 |
| T2 | 2 | 0, 6 | T3, T5, T6 |
| T3 | 5 | 2, 2 | T4, T6, T10 |
| T4 | 4 | 1, 0 | T6, T7 |
| T5 | 8 | 1, 0 | T7, T12 |
| T6 | 7 | 4, 0 | T8, T11 |
| T7 | 4 | 1, 1 | T8 |
| T8 | 1 | 0, 0 | T11 |
| T9 | 5 | 2, 2 | T1, T10 |
| T10 | 5 | 1, 0 | T12, T4 |
| T11 | 3 | 1, 0 | none |
| T12 | 4 | 0, 0 | T8 |
These phases should be scheduled respecting precedences and capacities so the final phase finishes as soon as possible.
Also, when you send the actual schedule back, please use this simple JSON shape — nothing fancy, just a list of tasks with their start and end times in that structure:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little form: each entry names the task and the time window when it runs. This block is just the sketch of the shape I need — replace those placeholders with the real task identifiers and numbers for start and end times when you give the schedule.
Please make sure to use the exact task identifiers from the instance input — do not rename tasks 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”.""
That's it — fill in that JSON shape with the real schedule and we'll be set.","{'nr_tasks': 12, 'nr_resources': 2, 'capacities': [4, 6], 'tasks': [{'duration': 1, 'demands': [0, 0], 'successors': [1, 4, 10]}, {'duration': 2, 'demands': [0, 6], 'successors': [2, 4, 5]}, {'duration': 5, 'demands': [2, 2], 'successors': [3, 5, 9]}, {'duration': 4, 'demands': [1, 0], 'successors': [5, 6]}, {'duration': 8, 'demands': [1, 0], 'successors': [6, 11]}, {'duration': 7, 'demands': [4, 0], 'successors': [7, 10]}, {'duration': 4, 'demands': [1, 1], 'successors': [7]}, {'duration': 1, 'demands': [0, 0], 'successors': [10]}, {'duration': 5, 'demands': [2, 2], 'successors': [0, 9]}, {'duration': 5, 'demands': [1, 0], 'successors': [11, 3]}, {'duration': 3, 'demands': [1, 0], 'successors': []}, {'duration': 4, 'demands': [0, 0], 'successors': [7]}]}","[{'task': 0, 'start': 5, 'end': 6, 'duration': 1, 'demands': [0, 0]}, {'task': 1, 'start': 6, 'end': 8, 'duration': 2, 'demands': [0, 6]}, {'task': 2, 'start': 8, 'end': 13, 'duration': 5, 'demands': [2, 2]}, {'task': 3, 'start': 18, 'end': 22, 'duration': 4, 'demands': [1, 0]}, {'task': 4, 'start': 8, 'end': 16, 'duration': 8, 'demands': [1, 0]}, {'task': 5, 'start': 22, 'end': 29, 'duration': 7, 'demands': [4, 0]}, {'task': 6, 'start': 29, 'end': 33, 'duration': 4, 'demands': [1, 1]}, {'task': 7, 'start': 33, 'end': 34, 'duration': 1, 'demands': [0, 0]}, {'task': 8, 'start': 0, 'end': 5, 'duration': 5, 'demands': [2, 2]}, {'task': 9, 'start': 13, 'end': 18, 'duration': 5, 'demands': [1, 0]}, {'task': 10, 'start': 34, 'end': 37, 'duration': 3, 'demands': [1, 0]}, {'task': 11, 'start': 25, 'end': 29, 'duration': 4, 'demands': [0, 0]}]",37.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 2, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': ['A', 'B'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 4}, {'resource_id': 'B', 'capacity': 6}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0], 'successors': ['T2', 'T5', 'T11']}, {'task_id': 'T2', 'duration': 2, 'demands': [0, 6], 'successors': ['T3', 'T5', 'T6']}, {'task_id': 'T3', 'duration': 5, 'demands': [2, 2], 'successors': ['T4', 'T6', 'T10']}, {'task_id': 'T4', 'duration': 4, 'demands': [1, 0], 'successors': ['T6', 'T7']}, {'task_id': 'T5', 'duration': 8, 'demands': [1, 0], 'successors': ['T7', 'T12']}, {'task_id': 'T6', 'duration': 7, 'demands': [4, 0], 'successors': ['T8', 'T11']}, {'task_id': 'T7', 'duration': 4, 'demands': [1, 1], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 1, 'demands': [0, 0], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 5, 'demands': [2, 2], 'successors': ['T1', 'T10']}, {'task_id': 'T10', 'duration': 5, 'demands': [1, 0], 'successors': ['T12', 'T4']}, {'task_id': 'T11', 'duration': 3, 'demands': [1, 0], 'successors': []}, {'task_id': 'T12', 'duration': 4, 'demands': [0, 0], 'successors': ['T8']}]}","[{'task': 'T1', 'start': 5, 'end': 6, 'duration': 1, 'demands': [0, 0]}, {'task': 'T2', 'start': 6, 'end': 8, 'duration': 2, 'demands': [0, 6]}, {'task': 'T3', 'start': 8, 'end': 13, 'duration': 5, 'demands': [2, 2]}, {'task': 'T4', 'start': 18, 'end': 22, 'duration': 4, 'demands': [1, 0]}, {'task': 'T5', 'start': 8, 'end': 16, 'duration': 8, 'demands': [1, 0]}, {'task': 'T6', 'start': 22, 'end': 29, 'duration': 7, 'demands': [4, 0]}, {'task': 'T7', 'start': 29, 'end': 33, 'duration': 4, 'demands': [1, 1]}, {'task': 'T8', 'start': 33, 'end': 34, 'duration': 1, 'demands': [0, 0]}, {'task': 'T9', 'start': 0, 'end': 5, 'duration': 5, 'demands': [2, 2]}, {'task': 'T10', 'start': 13, 'end': 18, 'duration': 5, 'demands': [1, 0]}, {'task': 'T11', 'start': 34, 'end': 37, 'duration': 3, 'demands': [1, 0]}, {'task': 'T12', 'start': 25, 'end': 29, 'duration': 4, 'demands': [0, 0]}]",16,markdown_table,names
RCPSP,RCPSP,"Imagine the behind-the-scenes scramble: every booth and performance block has a known setup length, needs certain setup teams and power lines while it’s being built, and a few of them have to wait for others to be done first. The organizer’s job is to place each job on the timeline with a start time so overlapping work never asks for more teams or electricity than exists, nothing gets omitted or duplicated, and the full site is ready at the earliest moment — basically shave down the time when the last build completes. The specifics for each job and the available crews and power are below.
There are 11 stalls and performance blocks to schedule, 3 resource types to track, and resource capacities are .
For task T1, the organizer must place a 1-time activity that consumes 6, 1, 2 while running and cannot start until T4, T5, T6, T9 have finished.
For task T2, the organizer must place a 4-time activity that consumes 2, 7, 2 while running and cannot start until T6 have finished.
For task T3, the organizer must place a 12-time activity that consumes 1, 3, 3 while running and cannot start until T5, T6, T10 have finished.
For task T4, the organizer must place a 2-time activity that consumes 5, 1, 3 while running and cannot start until T7 have finished.
For task T5, the organizer must place a 2-time activity that consumes 2, 3, 6 while running and cannot start until T8 have finished.
For task T6, the organizer must place a 5-time activity that consumes 6, 6, 3 while running and cannot start until T8, T9 have finished.
For task T7, the organizer must place a 3-time activity that consumes 1, 3, 8 while running and cannot start until T10, T6, T8, T2 have finished.
For task T8, the organizer must place a 1-time activity that consumes 3, 2, 2 while running and cannot start until none have finished.
For task T9, the organizer must place a 1-time activity that consumes 1, 4, 4 while running and cannot start until T10 have finished.
For task T10, the organizer must place a 2-time activity that consumes 5, 3, 2 while running and cannot start until T11 have finished.
For task T11, the organizer must place a 3-time activity that consumes 2, 2, 10 while running and cannot start until none have finished.
The organizer will use these lines to schedule each job and shave down the time when the last build completes.
Also, when you hand me the schedule, please use this simple JSON shape so it's quick to parse and nobody has to guess what goes where.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just means the top-level ""solution"" is a list of entries; each entry names a task and the time it starts and finishes. Think of ""task"" as the job label (which matches whatever label appears in the input), and ""start"" / ""end"" as the scheduled times — super straightforward, like filling in a short form. This block is only a sketch of the expected shape, not the actual schedule.
Please make sure you use the exact identifiers from the instance input — don't 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [11, 13, 10], 'tasks': [{'duration': 1, 'demands': [6, 1, 2], 'successors': [3, 4, 5, 8]}, {'duration': 4, 'demands': [2, 7, 2], 'successors': [5]}, {'duration': 12, 'demands': [1, 3, 3], 'successors': [4, 5, 9]}, {'duration': 2, 'demands': [5, 1, 3], 'successors': [6]}, {'duration': 2, 'demands': [2, 3, 6], 'successors': [7]}, {'duration': 5, 'demands': [6, 6, 3], 'successors': [7, 8]}, {'duration': 3, 'demands': [1, 3, 8], 'successors': [9, 5, 7, 1]}, {'duration': 1, 'demands': [3, 2, 2], 'successors': []}, {'duration': 1, 'demands': [1, 4, 4], 'successors': [9]}, {'duration': 2, 'demands': [5, 3, 2], 'successors': [10]}, {'duration': 3, 'demands': [2, 2, 10], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 1, 'start': 6, 'end': 10, 'duration': 4, 'demands': [2, 7, 2]}, {'task': 2, 'start': 6, 'end': 18, 'duration': 12, 'demands': [1, 3, 3]}, {'task': 3, 'start': 1, 'end': 3, 'duration': 2, 'demands': [5, 1, 3]}, {'task': 4, 'start': 18, 'end': 20, 'duration': 2, 'demands': [2, 3, 6]}, {'task': 5, 'start': 18, 'end': 23, 'duration': 5, 'demands': [6, 6, 3]}, {'task': 6, 'start': 3, 'end': 6, 'duration': 3, 'demands': [1, 3, 8]}, {'task': 7, 'start': 23, 'end': 24, 'duration': 1, 'demands': [3, 2, 2]}, {'task': 8, 'start': 23, 'end': 24, 'duration': 1, 'demands': [1, 4, 4]}, {'task': 9, 'start': 24, 'end': 26, 'duration': 2, 'demands': [5, 3, 2]}, {'task': 10, 'start': 26, 'end': 29, 'duration': 3, 'demands': [2, 2, 10]}]",29.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 11}, {'resource_id': 'B', 'capacity': 13}, {'resource_id': 'C', 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [6, 1, 2], 'successors': ['T4', 'T5', 'T6', 'T9']}, {'task_id': 'T2', 'duration': 4, 'demands': [2, 7, 2], 'successors': ['T6']}, {'task_id': 'T3', 'duration': 12, 'demands': [1, 3, 3], 'successors': ['T5', 'T6', 'T10']}, {'task_id': 'T4', 'duration': 2, 'demands': [5, 1, 3], 'successors': ['T7']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 3, 6], 'successors': ['T8']}, {'task_id': 'T6', 'duration': 5, 'demands': [6, 6, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T7', 'duration': 3, 'demands': [1, 3, 8], 'successors': ['T10', 'T6', 'T8', 'T2']}, {'task_id': 'T8', 'duration': 1, 'demands': [3, 2, 2], 'successors': []}, {'task_id': 'T9', 'duration': 1, 'demands': [1, 4, 4], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 2, 'demands': [5, 3, 2], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 3, 'demands': [2, 2, 10], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 'T2', 'start': 6, 'end': 10, 'duration': 4, 'demands': [2, 7, 2]}, {'task': 'T3', 'start': 6, 'end': 18, 'duration': 12, 'demands': [1, 3, 3]}, {'task': 'T4', 'start': 1, 'end': 3, 'duration': 2, 'demands': [5, 1, 3]}, {'task': 'T5', 'start': 18, 'end': 20, 'duration': 2, 'demands': [2, 3, 6]}, {'task': 'T6', 'start': 18, 'end': 23, 'duration': 5, 'demands': [6, 6, 3]}, {'task': 'T7', 'start': 3, 'end': 6, 'duration': 3, 'demands': [1, 3, 8]}, {'task': 'T8', 'start': 23, 'end': 24, 'duration': 1, 'demands': [3, 2, 2]}, {'task': 'T9', 'start': 23, 'end': 24, 'duration': 1, 'demands': [1, 4, 4]}, {'task': 'T10', 'start': 24, 'end': 26, 'duration': 2, 'demands': [5, 3, 2]}, {'task': 'T11', 'start': 26, 'end': 29, 'duration': 3, 'demands': [2, 2, 10]}]",17,nl,names
RCPSP,RCPSP,"There’s a remodel to run and the calendar needs filling: every task has a set duration, consumes a few specialists and tools while it runs, and depends on certain earlier jobs being done first. The job is to place each task on the timeline so nothing contradicts those orderings and the crew and kit aren’t double-booked on any day. The winning schedule is the one that finishes the entire renovation sooner — you judge that by when the last task finishes. The exact jobs, durations, and resource counts are listed below.
{
""total_tasks"": 14,
""resource_types_count"": 3,
""resources"": [
1,
2,
3
],
""resource_capacities"": [
{
""resource_id"": 1,
""capacity"": 15
},
{
""resource_id"": 2,
""capacity"": 10
},
{
""resource_id"": 3,
""capacity"": 11
}
],
""tasks"": [
{
""task_identifier"": ""T1"",
""duration_days"": 1,
""resource_demand_vector"": [
0,
0,
0
],
""immediate_successors"": [
""T2"",
""T3"",
""T4""
]
},
{
""task_identifier"": ""T2"",
""duration_days"": 3,
""resource_demand_vector"": [
2,
7,
4
],
""immediate_successors"": [
""T5""
]
},
{
""task_identifier"": ""T3"",
""duration_days"": 2,
""resource_demand_vector"": [
6,
7,
3
],
""immediate_successors"": [
""T5"",
""T6"",
""T7""
]
},
{
""task_identifier"": ""T4"",
""duration_days"": 4,
""resource_demand_vector"": [
7,
4,
2
],
""immediate_successors"": [
""T8""
]
},
{
""task_identifier"": ""T5"",
""duration_days"": 2,
""resource_demand_vector"": [
5,
1,
4
],
""immediate_successors"": [
""T9"",
""T10""
]
},
{
""task_identifier"": ""T6"",
""duration_days"": 2,
""resource_demand_vector"": [
5,
3,
3
],
""immediate_successors"": [
""T10"",
""T11""
]
},
{
""task_identifier"": ""T7"",
""duration_days"": 1,
""resource_demand_vector"": [
4,
3,
2
],
""immediate_successors"": [
""T11""
]
},
{
""task_identifier"": ""T8"",
""duration_days"": 2,
""resource_demand_vector"": [
4,
6,
6
],
""immediate_successors"": [
""T10"",
""T11""
]
},
{
""task_identifier"": ""T9"",
""duration_days"": 4,
""resource_demand_vector"": [
4,
3,
1
],
""immediate_successors"": []
},
{
""task_identifier"": ""T10"",
""duration_days"": 1,
""resource_demand_vector"": [
3,
3,
4
],
""immediate_successors"": [
""T12""
]
},
{
""task_identifier"": ""T11"",
""duration_days"": 5,
""resource_demand_vector"": [
7,
2,
8
],
""immediate_successors"": [
""T12""
]
},
{
""task_identifier"": ""T12"",
""duration_days"": 4,
""resource_demand_vector"": [
1,
4,
6
],
""immediate_successors"": [
""T13""
]
},
{
""task_identifier"": ""T13"",
""duration_days"": 7,
""resource_demand_vector"": [
5,
1,
4
],
""immediate_successors"": []
},
{
""task_identifier"": ""T14"",
""duration_days"": 3,
""resource_demand_vector"": [
1,
4,
2
],
""immediate_successors"": []
}
]
}
Also, when you send the schedule back, please use this simple JSON layout so it's easy to read and check. Here's the shape I expect:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a quick sketch of the shape I need — ""solution"" is a list of task placements. Each item is one task: ""task"" is the task identifier from the instance, ""start"" is when that task begins, and ""end"" is when it finishes. Think of it like filling out a little form for each job: which job, when it starts, and when it ends.
Please note this JSON is only the expected shape, not the actual answer. Also be sure to use the exact identifiers from the input — no renaming and 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”.""","{'nr_tasks': 14, 'nr_resources': 3, 'capacities': [15, 10, 11], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 3, 'demands': [2, 7, 4], 'successors': [4]}, {'duration': 2, 'demands': [6, 7, 3], 'successors': [4, 5, 6]}, {'duration': 4, 'demands': [7, 4, 2], 'successors': [7]}, {'duration': 2, 'demands': [5, 1, 4], 'successors': [8, 9]}, {'duration': 2, 'demands': [5, 3, 3], 'successors': [9, 10]}, {'duration': 1, 'demands': [4, 3, 2], 'successors': [10]}, {'duration': 2, 'demands': [4, 6, 6], 'successors': [9, 10]}, {'duration': 4, 'demands': [4, 3, 1], 'successors': []}, {'duration': 1, 'demands': [3, 3, 4], 'successors': [11]}, {'duration': 5, 'demands': [7, 2, 8], 'successors': [11]}, {'duration': 4, 'demands': [1, 4, 6], 'successors': [12]}, {'duration': 7, 'demands': [5, 1, 4], 'successors': []}, {'duration': 3, 'demands': [1, 4, 2], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 7, 'end': 10, 'duration': 3, 'demands': [2, 7, 4]}, {'task': 2, 'start': 5, 'end': 7, 'duration': 2, 'demands': [6, 7, 3]}, {'task': 3, 'start': 1, 'end': 5, 'duration': 4, 'demands': [7, 4, 2]}, {'task': 4, 'start': 10, 'end': 12, 'duration': 2, 'demands': [5, 1, 4]}, {'task': 5, 'start': 7, 'end': 9, 'duration': 2, 'demands': [5, 3, 3]}, {'task': 6, 'start': 9, 'end': 10, 'duration': 1, 'demands': [4, 3, 2]}, {'task': 7, 'start': 10, 'end': 12, 'duration': 2, 'demands': [4, 6, 6]}, {'task': 8, 'start': 12, 'end': 16, 'duration': 4, 'demands': [4, 3, 1]}, {'task': 9, 'start': 17, 'end': 18, 'duration': 1, 'demands': [3, 3, 4]}, {'task': 10, 'start': 12, 'end': 17, 'duration': 5, 'demands': [7, 2, 8]}, {'task': 11, 'start': 18, 'end': 22, 'duration': 4, 'demands': [1, 4, 6]}, {'task': 12, 'start': 22, 'end': 29, 'duration': 7, 'demands': [5, 1, 4]}, {'task': 13, 'start': 0, 'end': 3, 'duration': 3, 'demands': [1, 4, 2]}]",29.0,"{'problem_type': 'RCPSP', 'nr_tasks': 14, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 15}, {'resource_id': 2, 'capacity': 10}, {'resource_id': 3, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 3, 'demands': [2, 7, 4], 'successors': ['T5']}, {'task_id': 'T3', 'duration': 2, 'demands': [6, 7, 3], 'successors': ['T5', 'T6', 'T7']}, {'task_id': 'T4', 'duration': 4, 'demands': [7, 4, 2], 'successors': ['T8']}, {'task_id': 'T5', 'duration': 2, 'demands': [5, 1, 4], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 2, 'demands': [5, 3, 3], 'successors': ['T10', 'T11']}, {'task_id': 'T7', 'duration': 1, 'demands': [4, 3, 2], 'successors': ['T11']}, {'task_id': 'T8', 'duration': 2, 'demands': [4, 6, 6], 'successors': ['T10', 'T11']}, {'task_id': 'T9', 'duration': 4, 'demands': [4, 3, 1], 'successors': []}, {'task_id': 'T10', 'duration': 1, 'demands': [3, 3, 4], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 5, 'demands': [7, 2, 8], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 4, 'demands': [1, 4, 6], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 7, 'demands': [5, 1, 4], 'successors': []}, {'task_id': 'T14', 'duration': 3, 'demands': [1, 4, 2], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 7, 'end': 10, 'duration': 3, 'demands': [2, 7, 4]}, {'task': 'T3', 'start': 5, 'end': 7, 'duration': 2, 'demands': [6, 7, 3]}, {'task': 'T4', 'start': 1, 'end': 5, 'duration': 4, 'demands': [7, 4, 2]}, {'task': 'T5', 'start': 10, 'end': 12, 'duration': 2, 'demands': [5, 1, 4]}, {'task': 'T6', 'start': 7, 'end': 9, 'duration': 2, 'demands': [5, 3, 3]}, {'task': 'T7', 'start': 9, 'end': 10, 'duration': 1, 'demands': [4, 3, 2]}, {'task': 'T8', 'start': 10, 'end': 12, 'duration': 2, 'demands': [4, 6, 6]}, {'task': 'T9', 'start': 12, 'end': 16, 'duration': 4, 'demands': [4, 3, 1]}, {'task': 'T10', 'start': 17, 'end': 18, 'duration': 1, 'demands': [3, 3, 4]}, {'task': 'T11', 'start': 12, 'end': 17, 'duration': 5, 'demands': [7, 2, 8]}, {'task': 'T12', 'start': 18, 'end': 22, 'duration': 4, 'demands': [1, 4, 6]}, {'task': 'T13', 'start': 22, 'end': 29, 'duration': 7, 'demands': [5, 1, 4]}, {'task': 'T14', 'start': 0, 'end': 3, 'duration': 3, 'demands': [1, 4, 2]}]",18,json,1
RCPSP,RCPSP,"There’s a relief operation to organize where every distribution job has a fixed duration, consumes some number of trucks and volunteers while it runs, and depends on certain earlier jobs finishing before it can begin. The coordinator must pick a start time for each job, ensuring each one happens once, that simultaneous jobs don’t use more vehicles or people than available, and that the whole operation’s completion time — the moment the last job ends — is as early as possible. The exact activities, timings, and available trucks and volunteers are listed below.
# total_distribution_activities=13
# resource_type_count=3
# resources=A, B, C
resource_id,capacity
A,8
B,8
C,8
distribution_job_id,job_duration,resource_demands,dependent_jobs
T1,1,""0, 0, 0"",""T2, T3, T9""
T2,5,""6, 1, 2"",""T4, T5, T9, T13""
T3,3,""4, 3, 1"",""T8""
T4,9,""6, 1, 3"",""T10, T7""
T5,1,""6, 5, 1"",""T6, T7""
T6,4,""3, 0, 4"",""T11, T12, T8""
T7,6,""1, 2, 1"",""none""
T8,7,""4, 1, 1"",""T9""
T9,8,""2, 3, 3"",""T13, T7""
T10,7,""4, 4, 4"",""T11""
T11,3,""4, 1, 0"",""T12""
T12,2,""3, 6, 1"",""T13, T3""
T13,1,""0, 0, 0"",""none""
Also, when you send the schedule back, please use this simple JSON layout so it's easy to read and parse — just a quick sketch of the shape I need:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This shows a list called ""solution"" made of entries for each job: ""task"" is the job identifier, ""start"" is when that job begins, and ""end"" is when it finishes. Think of it like filling out a little form for each activity: which job, and its start and end times. It's just the shape I expect — not the actual schedule itself.
Please make sure to 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”.""
I'll check the schedule against those exact IDs, so keeping them identical is important.","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [8, 8, 8], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 8]}, {'duration': 5, 'demands': [6, 1, 2], 'successors': [3, 4, 8, 12]}, {'duration': 3, 'demands': [4, 3, 1], 'successors': [7]}, {'duration': 9, 'demands': [6, 1, 3], 'successors': [9, 6]}, {'duration': 1, 'demands': [6, 5, 1], 'successors': [5, 6]}, {'duration': 4, 'demands': [3, 0, 4], 'successors': [10, 11, 7]}, {'duration': 6, 'demands': [1, 2, 1], 'successors': []}, {'duration': 7, 'demands': [4, 1, 1], 'successors': [8]}, {'duration': 8, 'demands': [2, 3, 3], 'successors': [12, 6]}, {'duration': 7, 'demands': [4, 4, 4], 'successors': [10]}, {'duration': 3, 'demands': [4, 1, 0], 'successors': [11]}, {'duration': 2, 'demands': [3, 6, 1], 'successors': [12, 2]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 1, 'end': 6, 'duration': 5, 'demands': [6, 1, 2]}, {'task': 2, 'start': 28, 'end': 31, 'duration': 3, 'demands': [4, 3, 1]}, {'task': 3, 'start': 6, 'end': 15, 'duration': 9, 'demands': [6, 1, 3]}, {'task': 4, 'start': 15, 'end': 16, 'duration': 1, 'demands': [6, 5, 1]}, {'task': 5, 'start': 16, 'end': 20, 'duration': 4, 'demands': [3, 0, 4]}, {'task': 6, 'start': 46, 'end': 52, 'duration': 6, 'demands': [1, 2, 1]}, {'task': 7, 'start': 31, 'end': 38, 'duration': 7, 'demands': [4, 1, 1]}, {'task': 8, 'start': 38, 'end': 46, 'duration': 8, 'demands': [2, 3, 3]}, {'task': 9, 'start': 16, 'end': 23, 'duration': 7, 'demands': [4, 4, 4]}, {'task': 10, 'start': 23, 'end': 26, 'duration': 3, 'demands': [4, 1, 0]}, {'task': 11, 'start': 26, 'end': 28, 'duration': 2, 'demands': [3, 6, 1]}, {'task': 12, 'start': 50, 'end': 51, 'duration': 1, 'demands': [0, 0, 0]}]",52.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 8}, {'resource_id': 'B', 'capacity': 8}, {'resource_id': 'C', 'capacity': 8}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T9']}, {'task_id': 'T2', 'duration': 5, 'demands': [6, 1, 2], 'successors': ['T4', 'T5', 'T9', 'T13']}, {'task_id': 'T3', 'duration': 3, 'demands': [4, 3, 1], 'successors': ['T8']}, {'task_id': 'T4', 'duration': 9, 'demands': [6, 1, 3], 'successors': ['T10', 'T7']}, {'task_id': 'T5', 'duration': 1, 'demands': [6, 5, 1], 'successors': ['T6', 'T7']}, {'task_id': 'T6', 'duration': 4, 'demands': [3, 0, 4], 'successors': ['T11', 'T12', 'T8']}, {'task_id': 'T7', 'duration': 6, 'demands': [1, 2, 1], 'successors': []}, {'task_id': 'T8', 'duration': 7, 'demands': [4, 1, 1], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 8, 'demands': [2, 3, 3], 'successors': ['T13', 'T7']}, {'task_id': 'T10', 'duration': 7, 'demands': [4, 4, 4], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 3, 'demands': [4, 1, 0], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 2, 'demands': [3, 6, 1], 'successors': ['T13', 'T3']}, {'task_id': 'T13', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 1, 'end': 6, 'duration': 5, 'demands': [6, 1, 2]}, {'task': 'T3', 'start': 28, 'end': 31, 'duration': 3, 'demands': [4, 3, 1]}, {'task': 'T4', 'start': 6, 'end': 15, 'duration': 9, 'demands': [6, 1, 3]}, {'task': 'T5', 'start': 15, 'end': 16, 'duration': 1, 'demands': [6, 5, 1]}, {'task': 'T6', 'start': 16, 'end': 20, 'duration': 4, 'demands': [3, 0, 4]}, {'task': 'T7', 'start': 46, 'end': 52, 'duration': 6, 'demands': [1, 2, 1]}, {'task': 'T8', 'start': 31, 'end': 38, 'duration': 7, 'demands': [4, 1, 1]}, {'task': 'T9', 'start': 38, 'end': 46, 'duration': 8, 'demands': [2, 3, 3]}, {'task': 'T10', 'start': 16, 'end': 23, 'duration': 7, 'demands': [4, 4, 4]}, {'task': 'T11', 'start': 23, 'end': 26, 'duration': 3, 'demands': [4, 1, 0]}, {'task': 'T12', 'start': 26, 'end': 28, 'duration': 2, 'demands': [3, 6, 1]}, {'task': 'T13', 'start': 50, 'end': 51, 'duration': 1, 'demands': [0, 0, 0]}]",19,csv,names
RCPSP,RCPSP,"We’re the caterers for a large reception and have to map out when every cooking and plating task happens; each task has a fixed duration and needs certain kitchen gear and people. The plan needs to respect the natural order (some tasks can’t start until others are done), include every required task exactly once, and keep total equipment and staff use within what’s on hand. The way to tell if the plan is better is simple: look at the time the final dish is ready — that time should be as small as possible. Full, concrete task and resource details follow below.
{
""total_steps"": 15,
""resource_types_count"": 3,
""resources"": [
0,
1,
2
],
""resource_capacities"": [
{
""resource_id"": 0,
""capacity"": 12
},
{
""resource_id"": 1,
""capacity"": 13
},
{
""resource_id"": 2,
""capacity"": 11
}
],
""tasks"": [
{
""step_id"": ""T1"",
""step_duration_minutes"": 1,
""resource_demand_vector"": [
10,
4,
2
],
""dependent_steps"": [
""T4"",
""T6""
]
},
{
""step_id"": ""T2"",
""step_duration_minutes"": 1,
""resource_demand_vector"": [
3,
2,
1
],
""dependent_steps"": [
""T4"",
""T5""
]
},
{
""step_id"": ""T3"",
""step_duration_minutes"": 3,
""resource_demand_vector"": [
3,
1,
7
],
""dependent_steps"": [
""T8""
]
},
{
""step_id"": ""T4"",
""step_duration_minutes"": 6,
""resource_demand_vector"": [
9,
6,
4
],
""dependent_steps"": [
""T7"",
""T8""
]
},
{
""step_id"": ""T5"",
""step_duration_minutes"": 6,
""resource_demand_vector"": [
5,
7,
3
],
""dependent_steps"": [
""T7""
]
},
{
""step_id"": ""T6"",
""step_duration_minutes"": 4,
""resource_demand_vector"": [
2,
3,
3
],
""dependent_steps"": [
""T7"",
""T8""
]
},
{
""step_id"": ""T7"",
""step_duration_minutes"": 1,
""resource_demand_vector"": [
2,
2,
5
],
""dependent_steps"": [
""T9""
]
},
{
""step_id"": ""T8"",
""step_duration_minutes"": 3,
""resource_demand_vector"": [
3,
2,
2
],
""dependent_steps"": [
""T9"",
""T10"",
""T15""
]
},
{
""step_id"": ""T9"",
""step_duration_minutes"": 3,
""resource_demand_vector"": [
1,
5,
8
],
""dependent_steps"": [
""T12""
]
},
{
""step_id"": ""T10"",
""step_duration_minutes"": 11,
""resource_demand_vector"": [
8,
8,
7
],
""dependent_steps"": [
""T11""
]
},
{
""step_id"": ""T11"",
""step_duration_minutes"": 1,
""resource_demand_vector"": [
6,
1,
2
],
""dependent_steps"": []
},
{
""step_id"": ""T12"",
""step_duration_minutes"": 7,
""resource_demand_vector"": [
7,
3,
5
],
""dependent_steps"": [
""T14""
]
},
{
""step_id"": ""T13"",
""step_duration_minutes"": 2,
""resource_demand_vector"": [
2,
2,
2
],
""dependent_steps"": [
""T15"",
""T14""
]
},
{
""step_id"": ""T14"",
""step_duration_minutes"": 9,
""resource_demand_vector"": [
2,
2,
1
],
""dependent_steps"": [
""T15"",
""T11""
]
},
{
""step_id"": ""T15"",
""step_duration_minutes"": 7,
""resource_demand_vector"": [
0,
1,
6
],
""dependent_steps"": []
}
]
}
Also, when you hand me the actual schedule, please put it in this simple JSON shape so it's easy for everyone (and any tools) to read:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little form: ""solution"" is the list of all the tasks; each entry says which task it is and the time it starts and finishes (so you can see who's cooking what when). It's just a sketch of the shape I need here, not the real answer itself.
Please also make sure to use the exact task identifiers from the instance — don't rename them and don't 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [12, 13, 11], 'tasks': [{'duration': 1, 'demands': [10, 4, 2], 'successors': [3, 5]}, {'duration': 1, 'demands': [3, 2, 1], 'successors': [3, 4]}, {'duration': 3, 'demands': [3, 1, 7], 'successors': [7]}, {'duration': 6, 'demands': [9, 6, 4], 'successors': [6, 7]}, {'duration': 6, 'demands': [5, 7, 3], 'successors': [6]}, {'duration': 4, 'demands': [2, 3, 3], 'successors': [6, 7]}, {'duration': 1, 'demands': [2, 2, 5], 'successors': [8]}, {'duration': 3, 'demands': [3, 2, 2], 'successors': [8, 9, 14]}, {'duration': 3, 'demands': [1, 5, 8], 'successors': [11]}, {'duration': 11, 'demands': [8, 8, 7], 'successors': [10]}, {'duration': 1, 'demands': [6, 1, 2], 'successors': []}, {'duration': 7, 'demands': [7, 3, 5], 'successors': [13]}, {'duration': 2, 'demands': [2, 2, 2], 'successors': [14, 13]}, {'duration': 9, 'demands': [2, 2, 1], 'successors': [14, 10]}, {'duration': 7, 'demands': [0, 1, 6], 'successors': []}]}","[{'task': 0, 'start': 1, 'end': 2, 'duration': 1, 'demands': [10, 4, 2]}, {'task': 1, 'start': 0, 'end': 1, 'duration': 1, 'demands': [3, 2, 1]}, {'task': 2, 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 1, 7]}, {'task': 3, 'start': 2, 'end': 8, 'duration': 6, 'demands': [9, 6, 4]}, {'task': 4, 'start': 8, 'end': 14, 'duration': 6, 'demands': [5, 7, 3]}, {'task': 5, 'start': 5, 'end': 9, 'duration': 4, 'demands': [2, 3, 3]}, {'task': 6, 'start': 14, 'end': 15, 'duration': 1, 'demands': [2, 2, 5]}, {'task': 7, 'start': 9, 'end': 12, 'duration': 3, 'demands': [3, 2, 2]}, {'task': 8, 'start': 15, 'end': 18, 'duration': 3, 'demands': [1, 5, 8]}, {'task': 9, 'start': 25, 'end': 36, 'duration': 11, 'demands': [8, 8, 7]}, {'task': 10, 'start': 36, 'end': 37, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 11, 'start': 18, 'end': 25, 'duration': 7, 'demands': [7, 3, 5]}, {'task': 12, 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 2, 2]}, {'task': 13, 'start': 25, 'end': 34, 'duration': 9, 'demands': [2, 2, 1]}, {'task': 14, 'start': 36, 'end': 43, 'duration': 7, 'demands': [0, 1, 6]}]",43.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 12}, {'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [10, 4, 2], 'successors': ['T4', 'T6']}, {'task_id': 'T2', 'duration': 1, 'demands': [3, 2, 1], 'successors': ['T4', 'T5']}, {'task_id': 'T3', 'duration': 3, 'demands': [3, 1, 7], 'successors': ['T8']}, {'task_id': 'T4', 'duration': 6, 'demands': [9, 6, 4], 'successors': ['T7', 'T8']}, {'task_id': 'T5', 'duration': 6, 'demands': [5, 7, 3], 'successors': ['T7']}, {'task_id': 'T6', 'duration': 4, 'demands': [2, 3, 3], 'successors': ['T7', 'T8']}, {'task_id': 'T7', 'duration': 1, 'demands': [2, 2, 5], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 3, 'demands': [3, 2, 2], 'successors': ['T9', 'T10', 'T15']}, {'task_id': 'T9', 'duration': 3, 'demands': [1, 5, 8], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 11, 'demands': [8, 8, 7], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 1, 'demands': [6, 1, 2], 'successors': []}, {'task_id': 'T12', 'duration': 7, 'demands': [7, 3, 5], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 2, 'demands': [2, 2, 2], 'successors': ['T15', 'T14']}, {'task_id': 'T14', 'duration': 9, 'demands': [2, 2, 1], 'successors': ['T15', 'T11']}, {'task_id': 'T15', 'duration': 7, 'demands': [0, 1, 6], 'successors': []}]}","[{'task': 'T1', 'start': 1, 'end': 2, 'duration': 1, 'demands': [10, 4, 2]}, {'task': 'T2', 'start': 0, 'end': 1, 'duration': 1, 'demands': [3, 2, 1]}, {'task': 'T3', 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 1, 7]}, {'task': 'T4', 'start': 2, 'end': 8, 'duration': 6, 'demands': [9, 6, 4]}, {'task': 'T5', 'start': 8, 'end': 14, 'duration': 6, 'demands': [5, 7, 3]}, {'task': 'T6', 'start': 5, 'end': 9, 'duration': 4, 'demands': [2, 3, 3]}, {'task': 'T7', 'start': 14, 'end': 15, 'duration': 1, 'demands': [2, 2, 5]}, {'task': 'T8', 'start': 9, 'end': 12, 'duration': 3, 'demands': [3, 2, 2]}, {'task': 'T9', 'start': 15, 'end': 18, 'duration': 3, 'demands': [1, 5, 8]}, {'task': 'T10', 'start': 25, 'end': 36, 'duration': 11, 'demands': [8, 8, 7]}, {'task': 'T11', 'start': 36, 'end': 37, 'duration': 1, 'demands': [6, 1, 2]}, {'task': 'T12', 'start': 18, 'end': 25, 'duration': 7, 'demands': [7, 3, 5]}, {'task': 'T13', 'start': 0, 'end': 2, 'duration': 2, 'demands': [2, 2, 2]}, {'task': 'T14', 'start': 25, 'end': 34, 'duration': 9, 'demands': [2, 2, 1]}, {'task': 'T15', 'start': 36, 'end': 43, 'duration': 7, 'demands': [0, 1, 6]}]",20,json,0
RCPSP,RCPSP,"We’ve got a day full of moves to coordinate: a roster of loading tasks and hauls, each with a set duration, and a few that have to wait for earlier tasks to be completed. The choice is about the start time for each task so no more trucks or crews are used at the same moment than are available, nothing is skipped or duplicated, and every dependency is respected. A better plan is simply the one that gets the final unload done earliest — measure success by the moment the last task ends. The exact tasks, durations, and resource numbers appear below.
Here they are: 11 jobs, 3 resource types, and resource capacities .
We have job T1: runs for 1, consumes 0, 0, 0, and must finish before T2, T4 can start.
We have job T2: runs for 2, consumes 10, 3, 2, and must finish before T5, T11 can start.
We have job T3: runs for 1, consumes 3, 3, 1, and must finish before T7, T11, T9 can start.
We have job T4: runs for 1, consumes 7, 3, 6, and must finish before T7 can start.
We have job T5: runs for 1, consumes 1, 5, 6, and must finish before T8, T7 can start.
We have job T6: runs for 1, consumes 4, 7, 4, and must finish before T9, T5, T7, T1, T3 can start.
We have job T7: runs for 10, consumes 6, 4, 6, and must finish before T11 can start.
We have job T8: runs for 6, consumes 7, 5, 3, and must finish before T10, T9, T3 can start.
We have job T9: runs for 2, consumes 4, 8, 5, and must finish before T11 can start.
We have job T10: runs for 2, consumes 1, 9, 2, and must finish before T11, T4, T3, T7 can start.
We have job T11: runs for 1, consumes 0, 0, 0, and must finish before none can start.
We’ll judge plans by the time the last job finishes — keep that objective front and center.
To turn that plan into a machine-friendly reply, just drop your schedule into this simple JSON shape — nothing fancy, just a list of tasks with start and end times. Example sketch:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of each object in ""solution"" as one row on a packing slip: ""task"" is the task identifier, ""start"" is when it begins, and ""end"" is when it finishes. Keep it casual — it's just a quick way for me to read your plan.
This JSON block is only a template showing the expected shape, not the actual schedule. Please use the exact identifiers from the instance input — do not rename tasks and do not 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [11, 9, 8], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 3]}, {'duration': 2, 'demands': [10, 3, 2], 'successors': [4, 10]}, {'duration': 1, 'demands': [3, 3, 1], 'successors': [6, 10, 8]}, {'duration': 1, 'demands': [7, 3, 6], 'successors': [6]}, {'duration': 1, 'demands': [1, 5, 6], 'successors': [7, 6]}, {'duration': 1, 'demands': [4, 7, 4], 'successors': [8, 4, 6, 0, 2]}, {'duration': 10, 'demands': [6, 4, 6], 'successors': [10]}, {'duration': 6, 'demands': [7, 5, 3], 'successors': [9, 8, 2]}, {'duration': 2, 'demands': [4, 8, 5], 'successors': [10]}, {'duration': 2, 'demands': [1, 9, 2], 'successors': [10, 3, 2, 6]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 1, 'end': 2, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 2, 'end': 4, 'duration': 2, 'demands': [10, 3, 2]}, {'task': 2, 'start': 13, 'end': 14, 'duration': 1, 'demands': [3, 3, 1]}, {'task': 3, 'start': 13, 'end': 14, 'duration': 1, 'demands': [7, 3, 6]}, {'task': 4, 'start': 4, 'end': 5, 'duration': 1, 'demands': [1, 5, 6]}, {'task': 5, 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 7, 4]}, {'task': 6, 'start': 14, 'end': 24, 'duration': 10, 'demands': [6, 4, 6]}, {'task': 7, 'start': 5, 'end': 11, 'duration': 6, 'demands': [7, 5, 3]}, {'task': 8, 'start': 24, 'end': 26, 'duration': 2, 'demands': [4, 8, 5]}, {'task': 9, 'start': 11, 'end': 13, 'duration': 2, 'demands': [1, 9, 2]}, {'task': 10, 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",27.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 11}, {'resource_id': 1, 'capacity': 9}, {'resource_id': 2, 'capacity': 8}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T4']}, {'task_id': 'T2', 'duration': 2, 'demands': [10, 3, 2], 'successors': ['T5', 'T11']}, {'task_id': 'T3', 'duration': 1, 'demands': [3, 3, 1], 'successors': ['T7', 'T11', 'T9']}, {'task_id': 'T4', 'duration': 1, 'demands': [7, 3, 6], 'successors': ['T7']}, {'task_id': 'T5', 'duration': 1, 'demands': [1, 5, 6], 'successors': ['T8', 'T7']}, {'task_id': 'T6', 'duration': 1, 'demands': [4, 7, 4], 'successors': ['T9', 'T5', 'T7', 'T1', 'T3']}, {'task_id': 'T7', 'duration': 10, 'demands': [6, 4, 6], 'successors': ['T11']}, {'task_id': 'T8', 'duration': 6, 'demands': [7, 5, 3], 'successors': ['T10', 'T9', 'T3']}, {'task_id': 'T9', 'duration': 2, 'demands': [4, 8, 5], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 2, 'demands': [1, 9, 2], 'successors': ['T11', 'T4', 'T3', 'T7']}, {'task_id': 'T11', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 1, 'end': 2, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 2, 'end': 4, 'duration': 2, 'demands': [10, 3, 2]}, {'task': 'T3', 'start': 13, 'end': 14, 'duration': 1, 'demands': [3, 3, 1]}, {'task': 'T4', 'start': 13, 'end': 14, 'duration': 1, 'demands': [7, 3, 6]}, {'task': 'T5', 'start': 4, 'end': 5, 'duration': 1, 'demands': [1, 5, 6]}, {'task': 'T6', 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 7, 4]}, {'task': 'T7', 'start': 14, 'end': 24, 'duration': 10, 'demands': [6, 4, 6]}, {'task': 'T8', 'start': 5, 'end': 11, 'duration': 6, 'demands': [7, 5, 3]}, {'task': 'T9', 'start': 24, 'end': 26, 'duration': 2, 'demands': [4, 8, 5]}, {'task': 'T10', 'start': 11, 'end': 13, 'duration': 2, 'demands': [1, 9, 2]}, {'task': 'T11', 'start': 26, 'end': 27, 'duration': 1, 'demands': [0, 0, 0]}]",21,nl,0
RCPSP,RCPSP,"Recently the editorial floor has been a tangle of overlapping jobs: fixed-length editing and layout tasks that each pull on limited proofreaders or a layout station, with clear “do this after that” relationships. The challenge is to assign start times to all tasks so nothing’s missed or repeated, resource usage never exceeds the team or equipment on hand at any time, and the whole project wraps up quickly — the speed is judged by the finish time of the last task on the schedule. The detailed instance is shown below.
{
""total_editorial_tasks"": 15,
""resource_types_count"": 3,
""resources"": [
""A"",
""B"",
""C""
],
""resource_capacities"": [
{
""resource_id"": ""A"",
""capacity"": 10
},
{
""resource_id"": ""B"",
""capacity"": 15
},
{
""resource_id"": ""C"",
""capacity"": 12
}
],
""tasks"": [
{
""task_identifier"": ""T1"",
""task_duration"": 1,
""resource_demands"": [
0,
0,
0
],
""successor_task_ids"": [
""T2"",
""T4""
]
},
{
""task_identifier"": ""T2"",
""task_duration"": 1,
""resource_demands"": [
2,
7,
2
],
""successor_task_ids"": [
""T6"",
""T7"",
""T8""
]
},
{
""task_identifier"": ""T3"",
""task_duration"": 2,
""resource_demands"": [
5,
6,
2
],
""successor_task_ids"": [
""T5"",
""T6""
]
},
{
""task_identifier"": ""T4"",
""task_duration"": 3,
""resource_demands"": [
10,
1,
2
],
""successor_task_ids"": [
""T5"",
""T6""
]
},
{
""task_identifier"": ""T5"",
""task_duration"": 6,
""resource_demands"": [
2,
1,
7
],
""successor_task_ids"": [
""T9"",
""T10""
]
},
{
""task_identifier"": ""T6"",
""task_duration"": 7,
""resource_demands"": [
4,
8,
5
],
""successor_task_ids"": [
""T10""
]
},
{
""task_identifier"": ""T7"",
""task_duration"": 5,
""resource_demands"": [
3,
8,
1
],
""successor_task_ids"": [
""T9"",
""T10""
]
},
{
""task_identifier"": ""T8"",
""task_duration"": 1,
""resource_demands"": [
4,
6,
7
],
""successor_task_ids"": [
""T9""
]
},
{
""task_identifier"": ""T9"",
""task_duration"": 9,
""resource_demands"": [
2,
4,
2
],
""successor_task_ids"": []
},
{
""task_identifier"": ""T10"",
""task_duration"": 3,
""resource_demands"": [
5,
4,
2
],
""successor_task_ids"": [
""T11""
]
},
{
""task_identifier"": ""T11"",
""task_duration"": 4,
""resource_demands"": [
1,
4,
6
],
""successor_task_ids"": [
""T14""
]
},
{
""task_identifier"": ""T12"",
""task_duration"": 3,
""resource_demands"": [
3,
3,
3
],
""successor_task_ids"": []
},
{
""task_identifier"": ""T13"",
""task_duration"": 1,
""resource_demands"": [
4,
3,
6
],
""successor_task_ids"": [
""T15""
]
},
{
""task_identifier"": ""T14"",
""task_duration"": 5,
""resource_demands"": [
6,
4,
2
],
""successor_task_ids"": []
},
{
""task_identifier"": ""T15"",
""task_duration"": 7,
""resource_demands"": [
1,
4,
12
],
""successor_task_ids"": []
}
]
}
Also, when you send back the schedule, please keep it in a simple JSON shape like this — just so whoever's reading it can pick out each task and its times quickly:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a small sketch of the shape I expect: ""solution"" is a list of entries, each entry is one task with its identifier under ""task"" and the chosen start and end times under ""start"" and ""end"". Think of it like filling out a little form for each job — which one it is, when it begins, and when it finishes. The JSON here is only the format example, not the actual schedule.
Please 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”.","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [10, 15, 12], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 3]}, {'duration': 1, 'demands': [2, 7, 2], 'successors': [5, 6, 7]}, {'duration': 2, 'demands': [5, 6, 2], 'successors': [4, 5]}, {'duration': 3, 'demands': [10, 1, 2], 'successors': [4, 5]}, {'duration': 6, 'demands': [2, 1, 7], 'successors': [8, 9]}, {'duration': 7, 'demands': [4, 8, 5], 'successors': [9]}, {'duration': 5, 'demands': [3, 8, 1], 'successors': [8, 9]}, {'duration': 1, 'demands': [4, 6, 7], 'successors': [8]}, {'duration': 9, 'demands': [2, 4, 2], 'successors': []}, {'duration': 3, 'demands': [5, 4, 2], 'successors': [10]}, {'duration': 4, 'demands': [1, 4, 6], 'successors': [13]}, {'duration': 3, 'demands': [3, 3, 3], 'successors': []}, {'duration': 1, 'demands': [4, 3, 6], 'successors': [14]}, {'duration': 5, 'demands': [6, 4, 2], 'successors': []}, {'duration': 7, 'demands': [1, 4, 12], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 1, 'end': 2, 'duration': 1, 'demands': [2, 7, 2]}, {'task': 2, 'start': 0, 'end': 2, 'duration': 2, 'demands': [5, 6, 2]}, {'task': 3, 'start': 2, 'end': 5, 'duration': 3, 'demands': [10, 1, 2]}, {'task': 4, 'start': 5, 'end': 11, 'duration': 6, 'demands': [2, 1, 7]}, {'task': 5, 'start': 5, 'end': 12, 'duration': 7, 'demands': [4, 8, 5]}, {'task': 6, 'start': 12, 'end': 17, 'duration': 5, 'demands': [3, 8, 1]}, {'task': 7, 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 6, 7]}, {'task': 8, 'start': 17, 'end': 26, 'duration': 9, 'demands': [2, 4, 2]}, {'task': 9, 'start': 17, 'end': 20, 'duration': 3, 'demands': [5, 4, 2]}, {'task': 10, 'start': 20, 'end': 24, 'duration': 4, 'demands': [1, 4, 6]}, {'task': 11, 'start': 12, 'end': 15, 'duration': 3, 'demands': [3, 3, 3]}, {'task': 12, 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 3, 6]}, {'task': 13, 'start': 24, 'end': 29, 'duration': 5, 'demands': [6, 4, 2]}, {'task': 14, 'start': 29, 'end': 36, 'duration': 7, 'demands': [1, 4, 12]}]",36.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 10}, {'resource_id': 'B', 'capacity': 15}, {'resource_id': 'C', 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T4']}, {'task_id': 'T2', 'duration': 1, 'demands': [2, 7, 2], 'successors': ['T6', 'T7', 'T8']}, {'task_id': 'T3', 'duration': 2, 'demands': [5, 6, 2], 'successors': ['T5', 'T6']}, {'task_id': 'T4', 'duration': 3, 'demands': [10, 1, 2], 'successors': ['T5', 'T6']}, {'task_id': 'T5', 'duration': 6, 'demands': [2, 1, 7], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 7, 'demands': [4, 8, 5], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 5, 'demands': [3, 8, 1], 'successors': ['T9', 'T10']}, {'task_id': 'T8', 'duration': 1, 'demands': [4, 6, 7], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 9, 'demands': [2, 4, 2], 'successors': []}, {'task_id': 'T10', 'duration': 3, 'demands': [5, 4, 2], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 4, 'demands': [1, 4, 6], 'successors': ['T14']}, {'task_id': 'T12', 'duration': 3, 'demands': [3, 3, 3], 'successors': []}, {'task_id': 'T13', 'duration': 1, 'demands': [4, 3, 6], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 5, 'demands': [6, 4, 2], 'successors': []}, {'task_id': 'T15', 'duration': 7, 'demands': [1, 4, 12], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 1, 'end': 2, 'duration': 1, 'demands': [2, 7, 2]}, {'task': 'T3', 'start': 0, 'end': 2, 'duration': 2, 'demands': [5, 6, 2]}, {'task': 'T4', 'start': 2, 'end': 5, 'duration': 3, 'demands': [10, 1, 2]}, {'task': 'T5', 'start': 5, 'end': 11, 'duration': 6, 'demands': [2, 1, 7]}, {'task': 'T6', 'start': 5, 'end': 12, 'duration': 7, 'demands': [4, 8, 5]}, {'task': 'T7', 'start': 12, 'end': 17, 'duration': 5, 'demands': [3, 8, 1]}, {'task': 'T8', 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 6, 7]}, {'task': 'T9', 'start': 17, 'end': 26, 'duration': 9, 'demands': [2, 4, 2]}, {'task': 'T10', 'start': 17, 'end': 20, 'duration': 3, 'demands': [5, 4, 2]}, {'task': 'T11', 'start': 20, 'end': 24, 'duration': 4, 'demands': [1, 4, 6]}, {'task': 'T12', 'start': 12, 'end': 15, 'duration': 3, 'demands': [3, 3, 3]}, {'task': 'T13', 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 3, 6]}, {'task': 'T14', 'start': 24, 'end': 29, 'duration': 5, 'demands': [6, 4, 2]}, {'task': 'T15', 'start': 29, 'end': 36, 'duration': 7, 'demands': [1, 4, 12]}]",22,json,names
RCPSP,RCPSP,"I’m trying to pull together a tight schedule for all the fittings: each alteration takes a set time, uses up some of the scarce sewing machines and stylists while it’s happening, and a few sessions depend on earlier adjustments. The choice is about when to start each job so the studio never uses more machines or hands than it has, nothing is skipped or repeated, and the whole lineup is finished sooner rather than later — which you measure by the time the last job finishes. The exact list of fittings, their durations and resource needs is given below.
# total_fittings=14
# resource_types_count=3
# resources=1, 2, 3
resource_id,capacity
1,21
2,21
3,21
fitting_id,fitting_duration,resource_demands,dependent_fittings
T1,1,""0, 0, 0"",""T2, T3, T4""
T2,1,""3, 9, 3"",""T5, T6""
T3,2,""8, 7, 6"",""T5, T6, T7""
T4,1,""6, 2, 1"",""T5, T8""
T5,1,""7, 2, 3"",""T9, T10""
T6,1,""10, 4, 5"",""T10""
T7,1,""2, 6, 4"",""none""
T8,1,""1, 5, 5"",""T10, T11""
T9,2,""5, 3, 1"",""T12""
T10,1,""2, 2, 6"",""none""
T11,2,""7, 1, 3"",""T12""
T12,1,""2, 6, 7"",""T13""
T13,2,""3, 2, 5"",""none""
T14,1,""2, 10, 3"",""none""
I'll drop the final schedule back in a simple JSON layout so it's easy to paste into whatever you're using — something like this:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just sketches the shape I’ll use: ""solution"" is an array of the scheduled fittings, and each item gives the task identifier plus its numeric start and end times. Think of each object as a little form for one fitting: which job it is, when it starts, and when it finishes. That JSON is just the expected shape — I’ll fill in the actual task IDs and numbers for the real schedule.
Please make sure to use the exact task identifiers from the instance input — don’t 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”.""","{'nr_tasks': 14, 'nr_resources': 3, 'capacities': [21, 21, 21], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 1, 'demands': [3, 9, 3], 'successors': [4, 5]}, {'duration': 2, 'demands': [8, 7, 6], 'successors': [4, 5, 6]}, {'duration': 1, 'demands': [6, 2, 1], 'successors': [4, 7]}, {'duration': 1, 'demands': [7, 2, 3], 'successors': [8, 9]}, {'duration': 1, 'demands': [10, 4, 5], 'successors': [9]}, {'duration': 1, 'demands': [2, 6, 4], 'successors': []}, {'duration': 1, 'demands': [1, 5, 5], 'successors': [9, 10]}, {'duration': 2, 'demands': [5, 3, 1], 'successors': [11]}, {'duration': 1, 'demands': [2, 2, 6], 'successors': []}, {'duration': 2, 'demands': [7, 1, 3], 'successors': [11]}, {'duration': 1, 'demands': [2, 6, 7], 'successors': [12]}, {'duration': 2, 'demands': [3, 2, 5], 'successors': []}, {'duration': 1, 'demands': [2, 10, 3], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 1, 'end': 2, 'duration': 1, 'demands': [3, 9, 3]}, {'task': 2, 'start': 1, 'end': 3, 'duration': 2, 'demands': [8, 7, 6]}, {'task': 3, 'start': 1, 'end': 2, 'duration': 1, 'demands': [6, 2, 1]}, {'task': 4, 'start': 3, 'end': 4, 'duration': 1, 'demands': [7, 2, 3]}, {'task': 5, 'start': 5, 'end': 6, 'duration': 1, 'demands': [10, 4, 5]}, {'task': 6, 'start': 3, 'end': 4, 'duration': 1, 'demands': [2, 6, 4]}, {'task': 7, 'start': 2, 'end': 3, 'duration': 1, 'demands': [1, 5, 5]}, {'task': 8, 'start': 4, 'end': 6, 'duration': 2, 'demands': [5, 3, 1]}, {'task': 9, 'start': 6, 'end': 7, 'duration': 1, 'demands': [2, 2, 6]}, {'task': 10, 'start': 3, 'end': 5, 'duration': 2, 'demands': [7, 1, 3]}, {'task': 11, 'start': 6, 'end': 7, 'duration': 1, 'demands': [2, 6, 7]}, {'task': 12, 'start': 7, 'end': 9, 'duration': 2, 'demands': [3, 2, 5]}, {'task': 13, 'start': 0, 'end': 1, 'duration': 1, 'demands': [2, 10, 3]}]",9.0,"{'problem_type': 'RCPSP', 'nr_tasks': 14, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 21}, {'resource_id': 2, 'capacity': 21}, {'resource_id': 3, 'capacity': 21}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 1, 'demands': [3, 9, 3], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 2, 'demands': [8, 7, 6], 'successors': ['T5', 'T6', 'T7']}, {'task_id': 'T4', 'duration': 1, 'demands': [6, 2, 1], 'successors': ['T5', 'T8']}, {'task_id': 'T5', 'duration': 1, 'demands': [7, 2, 3], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 1, 'demands': [10, 4, 5], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 1, 'demands': [2, 6, 4], 'successors': []}, {'task_id': 'T8', 'duration': 1, 'demands': [1, 5, 5], 'successors': ['T10', 'T11']}, {'task_id': 'T9', 'duration': 2, 'demands': [5, 3, 1], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 1, 'demands': [2, 2, 6], 'successors': []}, {'task_id': 'T11', 'duration': 2, 'demands': [7, 1, 3], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 1, 'demands': [2, 6, 7], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 2, 'demands': [3, 2, 5], 'successors': []}, {'task_id': 'T14', 'duration': 1, 'demands': [2, 10, 3], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 1, 'end': 2, 'duration': 1, 'demands': [3, 9, 3]}, {'task': 'T3', 'start': 1, 'end': 3, 'duration': 2, 'demands': [8, 7, 6]}, {'task': 'T4', 'start': 1, 'end': 2, 'duration': 1, 'demands': [6, 2, 1]}, {'task': 'T5', 'start': 3, 'end': 4, 'duration': 1, 'demands': [7, 2, 3]}, {'task': 'T6', 'start': 5, 'end': 6, 'duration': 1, 'demands': [10, 4, 5]}, {'task': 'T7', 'start': 3, 'end': 4, 'duration': 1, 'demands': [2, 6, 4]}, {'task': 'T8', 'start': 2, 'end': 3, 'duration': 1, 'demands': [1, 5, 5]}, {'task': 'T9', 'start': 4, 'end': 6, 'duration': 2, 'demands': [5, 3, 1]}, {'task': 'T10', 'start': 6, 'end': 7, 'duration': 1, 'demands': [2, 2, 6]}, {'task': 'T11', 'start': 3, 'end': 5, 'duration': 2, 'demands': [7, 1, 3]}, {'task': 'T12', 'start': 6, 'end': 7, 'duration': 1, 'demands': [2, 6, 7]}, {'task': 'T13', 'start': 7, 'end': 9, 'duration': 2, 'demands': [3, 2, 5]}, {'task': 'T14', 'start': 0, 'end': 1, 'duration': 1, 'demands': [2, 10, 3]}]",23,csv,1
RCPSP,RCPSP,"I like to imagine the studio as a busy kitchen where each TV segment is a dish that takes a fixed time to prepare. The job is to decide when each dish starts simmering so that the ovens (studios) and chefs (crews) aren’t asked to handle more than they can at once, and pieces that need to be plated after another are started only after their predecessors finish. A better plan is simply the one where the whole menu is ready earlier — that is, the clock time when the last segment prep finishes should be as small as possible. Every prep must get a single start time (no skipping, no doubling up), and at no moment can the number of studios or crew in use exceed what’s available. The concrete details about segment lengths, crew counts and studio limits are shown below.
I’ll list the 15 segment preps that follow, the 3 limited resource types, and the available capacities for them: .
| resource_id | capacity |
|---|---|
| A | 13 |
| B | 12 |
| C | 15 |
| segment_id | prep_time | resource_requirements | depends_on_finished_before_start |
|---|---|---|---|
| T1 | 2 | 9, 5, 2 | T2, T3 |
| T2 | 3 | 3, 2, 3 | T5, T6 |
| T3 | 12 | 5, 7, 6 | T7 |
| T4 | 1 | 1, 2, 7 | T6, T7, T9, T12 |
| T5 | 4 | 3, 4, 1 | T9, T10, T3 |
| T6 | 5 | 2, 4, 5 | T8 |
| T7 | 3 | 5, 2, 6 | T10 |
| T8 | 5 | 1, 4, 4 | T12, T13 |
| T9 | 3 | 3, 4, 3 | T11 |
| T10 | 5 | 3, 5, 7 | T12, T13 |
| T11 | 5 | 6, 5, 4 | none |
| T12 | 1 | 2, 3, 4 | none |
| T13 | 5 | 3, 5, 10 | T14 |
| T14 | 11 | 2, 11, 4 | T15 |
| T15 | 2 | 0, 1, 3 | none |
I’ll use these particulars to assign a single start time to each prep so ovens and chefs aren’t overloaded and the whole menu finishes as early as possible.
If you're going to hand the plan back to me, a simple JSON shape works great — nothing fancy, just a list of which segment starts when and when it finishes. Something like this:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little form: ""solution"" is the list of scheduled preps, each item names the task (the segment), the time it starts, and the time it ends. Super informal: list every segment once with its start and end times. This block is just the sketch of the shape I expect, not the actual schedule — you'll fill in the real task IDs and times.
Please 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”.","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [13, 12, 15], 'tasks': [{'duration': 2, 'demands': [9, 5, 2], 'successors': [1, 2]}, {'duration': 3, 'demands': [3, 2, 3], 'successors': [4, 5]}, {'duration': 12, 'demands': [5, 7, 6], 'successors': [6]}, {'duration': 1, 'demands': [1, 2, 7], 'successors': [5, 6, 8, 11]}, {'duration': 4, 'demands': [3, 4, 1], 'successors': [8, 9, 2]}, {'duration': 5, 'demands': [2, 4, 5], 'successors': [7]}, {'duration': 3, 'demands': [5, 2, 6], 'successors': [9]}, {'duration': 5, 'demands': [1, 4, 4], 'successors': [11, 12]}, {'duration': 3, 'demands': [3, 4, 3], 'successors': [10]}, {'duration': 5, 'demands': [3, 5, 7], 'successors': [11, 12]}, {'duration': 5, 'demands': [6, 5, 4], 'successors': []}, {'duration': 1, 'demands': [2, 3, 4], 'successors': []}, {'duration': 5, 'demands': [3, 5, 10], 'successors': [13]}, {'duration': 11, 'demands': [2, 11, 4], 'successors': [14]}, {'duration': 2, 'demands': [0, 1, 3], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [9, 5, 2]}, {'task': 1, 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 2, 'start': 9, 'end': 21, 'duration': 12, 'demands': [5, 7, 6]}, {'task': 3, 'start': 0, 'end': 1, 'duration': 1, 'demands': [1, 2, 7]}, {'task': 4, 'start': 5, 'end': 9, 'duration': 4, 'demands': [3, 4, 1]}, {'task': 5, 'start': 5, 'end': 10, 'duration': 5, 'demands': [2, 4, 5]}, {'task': 6, 'start': 21, 'end': 24, 'duration': 3, 'demands': [5, 2, 6]}, {'task': 7, 'start': 10, 'end': 15, 'duration': 5, 'demands': [1, 4, 4]}, {'task': 8, 'start': 15, 'end': 18, 'duration': 3, 'demands': [3, 4, 3]}, {'task': 9, 'start': 24, 'end': 29, 'duration': 5, 'demands': [3, 5, 7]}, {'task': 10, 'start': 18, 'end': 23, 'duration': 5, 'demands': [6, 5, 4]}, {'task': 11, 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 4]}, {'task': 12, 'start': 29, 'end': 34, 'duration': 5, 'demands': [3, 5, 10]}, {'task': 13, 'start': 34, 'end': 45, 'duration': 11, 'demands': [2, 11, 4]}, {'task': 14, 'start': 45, 'end': 47, 'duration': 2, 'demands': [0, 1, 3]}]",47.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 13}, {'resource_id': 'B', 'capacity': 12}, {'resource_id': 'C', 'capacity': 15}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [9, 5, 2], 'successors': ['T2', 'T3']}, {'task_id': 'T2', 'duration': 3, 'demands': [3, 2, 3], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 12, 'demands': [5, 7, 6], 'successors': ['T7']}, {'task_id': 'T4', 'duration': 1, 'demands': [1, 2, 7], 'successors': ['T6', 'T7', 'T9', 'T12']}, {'task_id': 'T5', 'duration': 4, 'demands': [3, 4, 1], 'successors': ['T9', 'T10', 'T3']}, {'task_id': 'T6', 'duration': 5, 'demands': [2, 4, 5], 'successors': ['T8']}, {'task_id': 'T7', 'duration': 3, 'demands': [5, 2, 6], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 5, 'demands': [1, 4, 4], 'successors': ['T12', 'T13']}, {'task_id': 'T9', 'duration': 3, 'demands': [3, 4, 3], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 5, 'demands': [3, 5, 7], 'successors': ['T12', 'T13']}, {'task_id': 'T11', 'duration': 5, 'demands': [6, 5, 4], 'successors': []}, {'task_id': 'T12', 'duration': 1, 'demands': [2, 3, 4], 'successors': []}, {'task_id': 'T13', 'duration': 5, 'demands': [3, 5, 10], 'successors': ['T14']}, {'task_id': 'T14', 'duration': 11, 'demands': [2, 11, 4], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 2, 'demands': [0, 1, 3], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [9, 5, 2]}, {'task': 'T2', 'start': 2, 'end': 5, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 'T3', 'start': 9, 'end': 21, 'duration': 12, 'demands': [5, 7, 6]}, {'task': 'T4', 'start': 0, 'end': 1, 'duration': 1, 'demands': [1, 2, 7]}, {'task': 'T5', 'start': 5, 'end': 9, 'duration': 4, 'demands': [3, 4, 1]}, {'task': 'T6', 'start': 5, 'end': 10, 'duration': 5, 'demands': [2, 4, 5]}, {'task': 'T7', 'start': 21, 'end': 24, 'duration': 3, 'demands': [5, 2, 6]}, {'task': 'T8', 'start': 10, 'end': 15, 'duration': 5, 'demands': [1, 4, 4]}, {'task': 'T9', 'start': 15, 'end': 18, 'duration': 3, 'demands': [3, 4, 3]}, {'task': 'T10', 'start': 24, 'end': 29, 'duration': 5, 'demands': [3, 5, 7]}, {'task': 'T11', 'start': 18, 'end': 23, 'duration': 5, 'demands': [6, 5, 4]}, {'task': 'T12', 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 4]}, {'task': 'T13', 'start': 29, 'end': 34, 'duration': 5, 'demands': [3, 5, 10]}, {'task': 'T14', 'start': 34, 'end': 45, 'duration': 11, 'demands': [2, 11, 4]}, {'task': 'T15', 'start': 45, 'end': 47, 'duration': 2, 'demands': [0, 1, 3]}]",24,markdown_table,names
RCPSP,RCPSP,"Many mornings there’s more work than benches or hands, so the shop manager has to decide when each diagnostic and repair starts: each step takes a fixed amount of time, ties up limited benches and technicians while it runs, and some fixes can’t start until earlier checks are done and parts are available. The better the plan, the sooner the last appliance is done — to judge that, look at when every job finishes and the latest of those times is the total completion time. Practical constraints are simple: don’t skip or duplicate tasks, never use more benches or technicians than exist at the same time, and always respect the needed order of tasks. The detailed list of tasks and resource limits is below.
There are 15 jobs to assign, using 3 resource types with capacities .
| resource_id | capacity |
|---|---|
| 1 | 13 |
| 2 | 9 |
| 3 | 10 |
| job_id | job_duration | resource_demands | following_jobs |
|---|---|---|---|
| T1 | 4 | 4, 5, 6 | T3, T5 |
| T2 | 8 | 8, 3, 2 | T3, T4 |
| T3 | 11 | 6, 1, 3 | T7, T9 |
| T4 | 5 | 4, 3, 2 | T8, T10 |
| T5 | 2 | 4, 7, 3 | T8, T9 |
| T6 | 7 | 4, 3, 2 | T9, T10, T4 |
| T7 | 2 | 3, 3, 2 | T11, T12 |
| T8 | 4 | 2, 1, 4 | T11 |
| T9 | 1 | 3, 4, 1 | T11 |
| T10 | 1 | 6, 2, 6 | T11 |
| T11 | 2 | 2, 7, 7 | T13 |
| T12 | 5 | 1, 7, 6 | T14 |
| T13 | 5 | 4, 3, 2 | T15 |
| T14 | 2 | 5, 1, 2 | T15 |
| T15 | 2 | 1, 5, 8 | none |
The shop manager should schedule them to minimise the time when the last job finishes while respecting resource capacities and the given precedences.
When you hand me a schedule, just follow this simple JSON shape so everything's clear and machine-friendly:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little form: ""solution"" is the list of planned steps, each entry names the task and the time it starts and finishes. It's just a sketch of the shape I expect — not the actual schedule yet.
Please make sure to use the exact identifiers from the instance input — don't rename tasks 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [13, 9, 10], 'tasks': [{'duration': 4, 'demands': [4, 5, 6], 'successors': [2, 4]}, {'duration': 8, 'demands': [8, 3, 2], 'successors': [2, 3]}, {'duration': 11, 'demands': [6, 1, 3], 'successors': [6, 8]}, {'duration': 5, 'demands': [4, 3, 2], 'successors': [7, 9]}, {'duration': 2, 'demands': [4, 7, 3], 'successors': [7, 8]}, {'duration': 7, 'demands': [4, 3, 2], 'successors': [8, 9, 3]}, {'duration': 2, 'demands': [3, 3, 2], 'successors': [10, 11]}, {'duration': 4, 'demands': [2, 1, 4], 'successors': [10]}, {'duration': 1, 'demands': [3, 4, 1], 'successors': [10]}, {'duration': 1, 'demands': [6, 2, 6], 'successors': [10]}, {'duration': 2, 'demands': [2, 7, 7], 'successors': [12]}, {'duration': 5, 'demands': [1, 7, 6], 'successors': [13]}, {'duration': 5, 'demands': [4, 3, 2], 'successors': [14]}, {'duration': 2, 'demands': [5, 1, 2], 'successors': [14]}, {'duration': 2, 'demands': [1, 5, 8], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 5, 6]}, {'task': 1, 'start': 0, 'end': 8, 'duration': 8, 'demands': [8, 3, 2]}, {'task': 2, 'start': 8, 'end': 19, 'duration': 11, 'demands': [6, 1, 3]}, {'task': 3, 'start': 11, 'end': 16, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 4, 'start': 16, 'end': 18, 'duration': 2, 'demands': [4, 7, 3]}, {'task': 5, 'start': 4, 'end': 11, 'duration': 7, 'demands': [4, 3, 2]}, {'task': 6, 'start': 19, 'end': 21, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 7, 'start': 19, 'end': 23, 'duration': 4, 'demands': [2, 1, 4]}, {'task': 8, 'start': 19, 'end': 20, 'duration': 1, 'demands': [3, 4, 1]}, {'task': 9, 'start': 18, 'end': 19, 'duration': 1, 'demands': [6, 2, 6]}, {'task': 10, 'start': 26, 'end': 28, 'duration': 2, 'demands': [2, 7, 7]}, {'task': 11, 'start': 21, 'end': 26, 'duration': 5, 'demands': [1, 7, 6]}, {'task': 12, 'start': 28, 'end': 33, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 13, 'start': 26, 'end': 28, 'duration': 2, 'demands': [5, 1, 2]}, {'task': 14, 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 5, 8]}]",35.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 9}, {'resource_id': 3, 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 4, 'demands': [4, 5, 6], 'successors': ['T3', 'T5']}, {'task_id': 'T2', 'duration': 8, 'demands': [8, 3, 2], 'successors': ['T3', 'T4']}, {'task_id': 'T3', 'duration': 11, 'demands': [6, 1, 3], 'successors': ['T7', 'T9']}, {'task_id': 'T4', 'duration': 5, 'demands': [4, 3, 2], 'successors': ['T8', 'T10']}, {'task_id': 'T5', 'duration': 2, 'demands': [4, 7, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 7, 'demands': [4, 3, 2], 'successors': ['T9', 'T10', 'T4']}, {'task_id': 'T7', 'duration': 2, 'demands': [3, 3, 2], 'successors': ['T11', 'T12']}, {'task_id': 'T8', 'duration': 4, 'demands': [2, 1, 4], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 1, 'demands': [3, 4, 1], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [6, 2, 6], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [2, 7, 7], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 5, 'demands': [1, 7, 6], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 5, 'demands': [4, 3, 2], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 2, 'demands': [5, 1, 2], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 2, 'demands': [1, 5, 8], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 5, 6]}, {'task': 'T2', 'start': 0, 'end': 8, 'duration': 8, 'demands': [8, 3, 2]}, {'task': 'T3', 'start': 8, 'end': 19, 'duration': 11, 'demands': [6, 1, 3]}, {'task': 'T4', 'start': 11, 'end': 16, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 'T5', 'start': 16, 'end': 18, 'duration': 2, 'demands': [4, 7, 3]}, {'task': 'T6', 'start': 4, 'end': 11, 'duration': 7, 'demands': [4, 3, 2]}, {'task': 'T7', 'start': 19, 'end': 21, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 'T8', 'start': 19, 'end': 23, 'duration': 4, 'demands': [2, 1, 4]}, {'task': 'T9', 'start': 19, 'end': 20, 'duration': 1, 'demands': [3, 4, 1]}, {'task': 'T10', 'start': 18, 'end': 19, 'duration': 1, 'demands': [6, 2, 6]}, {'task': 'T11', 'start': 26, 'end': 28, 'duration': 2, 'demands': [2, 7, 7]}, {'task': 'T12', 'start': 21, 'end': 26, 'duration': 5, 'demands': [1, 7, 6]}, {'task': 'T13', 'start': 28, 'end': 33, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 'T14', 'start': 26, 'end': 28, 'duration': 2, 'demands': [5, 1, 2]}, {'task': 'T15', 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 5, 8]}]",25,markdown_table,1
RCPSP,RCPSP,"Recently the maintenance team faced a backlog: a list of fixed-length jobs for different aircraft, each occupying a bay and some techs while it’s on the clock, and a few jobs that must wait for inspections first. The task was to schedule start times for all jobs so nothing gets left out or duplicated, required orderings are kept, and the limited hangars and technicians aren’t over-committed at any time. The aim is to have the fleet ready again as soon as possible — judged by the time the last job finishes. The specific jobs, durations, and resource limits are shown below.
There were 15 jobs, 3 resource types, and resource capacities .
Job T1 occupied resources for 3 time units, required 7, 4, 2 while active, and had immediate successors T3, T5.
Job T2 occupied resources for 4 time units, required 8, 2, 2 while active, and had immediate successors T3, T4.
Job T3 occupied resources for 11 time units, required 6, 1, 5 while active, and had immediate successors T7, T9.
Job T4 occupied resources for 9 time units, required 8, 10, 8 while active, and had immediate successors T8, T10.
Job T5 occupied resources for 3 time units, required 5, 6, 3 while active, and had immediate successors T8, T9.
Job T6 occupied resources for 4 time units, required 3, 6, 7 while active, and had immediate successors T9.
Job T7 occupied resources for 2 time units, required 2, 3, 4 while active, and had immediate successors T11, T12.
Job T8 occupied resources for 3 time units, required 3, 2, 3 while active, and had immediate successors T11.
Job T9 occupied resources for 1 time units, required 2, 3, 3 while active, and had immediate successors T11.
Job T10 occupied resources for 1 time units, required 8, 1, 7 while active, and had immediate successors T11.
Job T11 occupied resources for 2 time units, required 2, 5, 2 while active, and had immediate successors T13.
Job T12 occupied resources for 3 time units, required 1, 10, 5 while active, and had immediate successors T14.
Job T13 occupied resources for 5 time units, required 3, 3, 7 while active, and had immediate successors T15.
Job T14 occupied resources for 1 time units, required 4, 2, 4 while active, and had immediate successors T15.
Job T15 occupied resources for 1 time units, required 3, 3, 4 while active, and had immediate successors none.
The schedule aimed to have the fleet ready as soon as possible by minimizing the completion time of the last job.
When you send the schedule back, just put it in this little JSON shape so it's easy to read and load:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that like a simple form: ""solution"" is a list of all the jobs you're scheduling, and each entry names the task and the start and end times you picked for it. Super informal — it's just a sketch of the shape I need, not the real schedule.
Please make sure to use the exact identifiers from the instance input — don't rename tasks 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”.","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [10, 14, 11], 'tasks': [{'duration': 3, 'demands': [7, 4, 2], 'successors': [2, 4]}, {'duration': 4, 'demands': [8, 2, 2], 'successors': [2, 3]}, {'duration': 11, 'demands': [6, 1, 5], 'successors': [6, 8]}, {'duration': 9, 'demands': [8, 10, 8], 'successors': [7, 9]}, {'duration': 3, 'demands': [5, 6, 3], 'successors': [7, 8]}, {'duration': 4, 'demands': [3, 6, 7], 'successors': [8]}, {'duration': 2, 'demands': [2, 3, 4], 'successors': [10, 11]}, {'duration': 3, 'demands': [3, 2, 3], 'successors': [10]}, {'duration': 1, 'demands': [2, 3, 3], 'successors': [10]}, {'duration': 1, 'demands': [8, 1, 7], 'successors': [10]}, {'duration': 2, 'demands': [2, 5, 2], 'successors': [12]}, {'duration': 3, 'demands': [1, 10, 5], 'successors': [13]}, {'duration': 5, 'demands': [3, 3, 7], 'successors': [14]}, {'duration': 1, 'demands': [4, 2, 4], 'successors': [14]}, {'duration': 1, 'demands': [3, 3, 4], 'successors': []}]}","[{'task': 0, 'start': 4, 'end': 7, 'duration': 3, 'demands': [7, 4, 2]}, {'task': 1, 'start': 0, 'end': 4, 'duration': 4, 'demands': [8, 2, 2]}, {'task': 2, 'start': 10, 'end': 21, 'duration': 11, 'demands': [6, 1, 5]}, {'task': 3, 'start': 21, 'end': 30, 'duration': 9, 'demands': [8, 10, 8]}, {'task': 4, 'start': 7, 'end': 10, 'duration': 3, 'demands': [5, 6, 3]}, {'task': 5, 'start': 4, 'end': 8, 'duration': 4, 'demands': [3, 6, 7]}, {'task': 6, 'start': 30, 'end': 32, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 7, 'start': 31, 'end': 34, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 8, 'start': 21, 'end': 22, 'duration': 1, 'demands': [2, 3, 3]}, {'task': 9, 'start': 30, 'end': 31, 'duration': 1, 'demands': [8, 1, 7]}, {'task': 10, 'start': 35, 'end': 37, 'duration': 2, 'demands': [2, 5, 2]}, {'task': 11, 'start': 32, 'end': 35, 'duration': 3, 'demands': [1, 10, 5]}, {'task': 12, 'start': 37, 'end': 42, 'duration': 5, 'demands': [3, 3, 7]}, {'task': 13, 'start': 35, 'end': 36, 'duration': 1, 'demands': [4, 2, 4]}, {'task': 14, 'start': 42, 'end': 43, 'duration': 1, 'demands': [3, 3, 4]}]",43.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 10}, {'resource_id': 2, 'capacity': 14}, {'resource_id': 3, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 3, 'demands': [7, 4, 2], 'successors': ['T3', 'T5']}, {'task_id': 'T2', 'duration': 4, 'demands': [8, 2, 2], 'successors': ['T3', 'T4']}, {'task_id': 'T3', 'duration': 11, 'demands': [6, 1, 5], 'successors': ['T7', 'T9']}, {'task_id': 'T4', 'duration': 9, 'demands': [8, 10, 8], 'successors': ['T8', 'T10']}, {'task_id': 'T5', 'duration': 3, 'demands': [5, 6, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 4, 'demands': [3, 6, 7], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 2, 'demands': [2, 3, 4], 'successors': ['T11', 'T12']}, {'task_id': 'T8', 'duration': 3, 'demands': [3, 2, 3], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 1, 'demands': [2, 3, 3], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [8, 1, 7], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [2, 5, 2], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 3, 'demands': [1, 10, 5], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 5, 'demands': [3, 3, 7], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 1, 'demands': [4, 2, 4], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 1, 'demands': [3, 3, 4], 'successors': []}]}","[{'task': 'T1', 'start': 4, 'end': 7, 'duration': 3, 'demands': [7, 4, 2]}, {'task': 'T2', 'start': 0, 'end': 4, 'duration': 4, 'demands': [8, 2, 2]}, {'task': 'T3', 'start': 10, 'end': 21, 'duration': 11, 'demands': [6, 1, 5]}, {'task': 'T4', 'start': 21, 'end': 30, 'duration': 9, 'demands': [8, 10, 8]}, {'task': 'T5', 'start': 7, 'end': 10, 'duration': 3, 'demands': [5, 6, 3]}, {'task': 'T6', 'start': 4, 'end': 8, 'duration': 4, 'demands': [3, 6, 7]}, {'task': 'T7', 'start': 30, 'end': 32, 'duration': 2, 'demands': [2, 3, 4]}, {'task': 'T8', 'start': 31, 'end': 34, 'duration': 3, 'demands': [3, 2, 3]}, {'task': 'T9', 'start': 21, 'end': 22, 'duration': 1, 'demands': [2, 3, 3]}, {'task': 'T10', 'start': 30, 'end': 31, 'duration': 1, 'demands': [8, 1, 7]}, {'task': 'T11', 'start': 35, 'end': 37, 'duration': 2, 'demands': [2, 5, 2]}, {'task': 'T12', 'start': 32, 'end': 35, 'duration': 3, 'demands': [1, 10, 5]}, {'task': 'T13', 'start': 37, 'end': 42, 'duration': 5, 'demands': [3, 3, 7]}, {'task': 'T14', 'start': 35, 'end': 36, 'duration': 1, 'demands': [4, 2, 4]}, {'task': 'T15', 'start': 42, 'end': 43, 'duration': 1, 'demands': [3, 3, 4]}]",26,nl,1
RCPSP,RCPSP,"Many people on the crew are watching the rehearsal board: each rehearsal block has a fixed length and needs both the stage and certain crew members, and some blocks depend on others finishing first. The challenge was picking exact start times so every block is scheduled exactly once, the order rules are followed, and we never ask for more technicians or stages than we have at any minute. A better lineup is the one where the final end time is sooner — to judge any lineup, find the end times of all blocks, take the latest one, and prefer the lineup with the earlier latest end. The specific rehearsals and resource limits are listed below.
The specific rehearsals and resource limits are listed below: there are 11 rehearsal blocks, 3 resource types, and the resource capacities are .
| resource_id | capacity |
|---|---|
| 1 | 13 |
| 2 | 14 |
| 3 | 9 |
| block_id | block_duration_minutes | resource_demands_vector | successor_block_ids |
|---|---|---|---|
| T1 | 1 | 0, 0, 0 | T2, T3, T4 |
| T2 | 1 | 3, 4, 4 | T5, T6, T7, T8 |
| T3 | 1 | 10, 4, 4 | T5, T6, T7, T8 |
| T4 | 10 | 8, 1, 3 | T5, T6, T7, T8 |
| T5 | 2 | 4, 1, 6 | none |
| T6 | 2 | 4, 6, 5 | none |
| T7 | 7 | 4, 8, 4 | none |
| T8 | 8 | 3, 6, 6 | none |
| T9 | 6 | 2, 4, 4 | T11 |
| T10 | 2 | 2, 12, 2 | T11 |
| T11 | 1 | 0, 0, 0 | none |
We will judge lineups by the latest block end and prefer the lineup with the earlier latest end.
Also, when you send your lineup back, please stick to a simple JSON shape so it's easy to read and check. Something like this is what I expect:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a sketch of the shape: ""solution"" is a list of rehearsal blocks, and each block entry names the block under ""task"" and the chosen ""start"" and ""end"" times for it. Keep it casual — start and end are just the times on the rehearsal clock (use the same units the instance uses).
The JSON above is only the expected shape, not the actual answer. Please 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [13, 14, 9], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 1, 'demands': [3, 4, 4], 'successors': [4, 5, 6, 7]}, {'duration': 1, 'demands': [10, 4, 4], 'successors': [4, 5, 6, 7]}, {'duration': 10, 'demands': [8, 1, 3], 'successors': [4, 5, 6, 7]}, {'duration': 2, 'demands': [4, 1, 6], 'successors': []}, {'duration': 2, 'demands': [4, 6, 5], 'successors': []}, {'duration': 7, 'demands': [4, 8, 4], 'successors': []}, {'duration': 8, 'demands': [3, 6, 6], 'successors': []}, {'duration': 6, 'demands': [2, 4, 4], 'successors': [10]}, {'duration': 2, 'demands': [2, 12, 2], 'successors': [10]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 6, 'end': 7, 'duration': 1, 'demands': [3, 4, 4]}, {'task': 2, 'start': 11, 'end': 12, 'duration': 1, 'demands': [10, 4, 4]}, {'task': 3, 'start': 1, 'end': 11, 'duration': 10, 'demands': [8, 1, 3]}, {'task': 4, 'start': 27, 'end': 29, 'duration': 2, 'demands': [4, 1, 6]}, {'task': 5, 'start': 20, 'end': 22, 'duration': 2, 'demands': [4, 6, 5]}, {'task': 6, 'start': 20, 'end': 27, 'duration': 7, 'demands': [4, 8, 4]}, {'task': 7, 'start': 12, 'end': 20, 'duration': 8, 'demands': [3, 6, 6]}, {'task': 8, 'start': 0, 'end': 6, 'duration': 6, 'demands': [2, 4, 4]}, {'task': 9, 'start': 7, 'end': 9, 'duration': 2, 'demands': [2, 12, 2]}, {'task': 10, 'start': 23, 'end': 24, 'duration': 1, 'demands': [0, 0, 0]}]",29.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 14}, {'resource_id': 3, 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 1, 'demands': [3, 4, 4], 'successors': ['T5', 'T6', 'T7', 'T8']}, {'task_id': 'T3', 'duration': 1, 'demands': [10, 4, 4], 'successors': ['T5', 'T6', 'T7', 'T8']}, {'task_id': 'T4', 'duration': 10, 'demands': [8, 1, 3], 'successors': ['T5', 'T6', 'T7', 'T8']}, {'task_id': 'T5', 'duration': 2, 'demands': [4, 1, 6], 'successors': []}, {'task_id': 'T6', 'duration': 2, 'demands': [4, 6, 5], 'successors': []}, {'task_id': 'T7', 'duration': 7, 'demands': [4, 8, 4], 'successors': []}, {'task_id': 'T8', 'duration': 8, 'demands': [3, 6, 6], 'successors': []}, {'task_id': 'T9', 'duration': 6, 'demands': [2, 4, 4], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 2, 'demands': [2, 12, 2], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 6, 'end': 7, 'duration': 1, 'demands': [3, 4, 4]}, {'task': 'T3', 'start': 11, 'end': 12, 'duration': 1, 'demands': [10, 4, 4]}, {'task': 'T4', 'start': 1, 'end': 11, 'duration': 10, 'demands': [8, 1, 3]}, {'task': 'T5', 'start': 27, 'end': 29, 'duration': 2, 'demands': [4, 1, 6]}, {'task': 'T6', 'start': 20, 'end': 22, 'duration': 2, 'demands': [4, 6, 5]}, {'task': 'T7', 'start': 20, 'end': 27, 'duration': 7, 'demands': [4, 8, 4]}, {'task': 'T8', 'start': 12, 'end': 20, 'duration': 8, 'demands': [3, 6, 6]}, {'task': 'T9', 'start': 0, 'end': 6, 'duration': 6, 'demands': [2, 4, 4]}, {'task': 'T10', 'start': 7, 'end': 9, 'duration': 2, 'demands': [2, 12, 2]}, {'task': 'T11', 'start': 23, 'end': 24, 'duration': 1, 'demands': [0, 0, 0]}]",27,markdown_table,1
RCPSP,RCPSP,"Someone has to coordinate the roadworks so traffic can flow again: each repair takes a fixed block of time, consumes some crew hours and a machine while it’s underway, and a few jobs can’t begin until others are done. The job is to pick start times for each activity so the final reopening happens at the earliest possible moment — compare plans by the time the last task finishes, and earlier wins. At no point can the total crews or machines in use exceed what’s on the books, and every repair must be carried out once (no skipping or double-booking). The specific instance details are shown below.
# num_repairs=12
# num_resource_types=3
# resources=0, 1, 2
resource_id,capacity
0,14
1,13
2,14
repair_id,repair_duration,resource_demands,dependent_repairs
T1,1,""0, 0, 0"",""T2""
T2,1,""6, 5, 4"",""none""
T3,7,""2, 4, 6"",""T7, T8, T9""
T4,1,""3, 2, 3"",""T7, T8, T9""
T5,4,""7, 6, 6"",""T7, T8, T9""
T6,1,""2, 4, 5"",""T7, T8, T9""
T7,1,""6, 6, 4"",""T10""
T8,3,""3, 2, 2"",""T12""
T9,3,""10, 2, 5"",""T11, T2, T8""
T10,5,""2, 6, 5"",""T12""
T11,2,""1, 6, 3"",""T12, T2""
T12,1,""0, 0, 0"",""none""
Also, when you hand back a plan, please use a simple JSON layout so it's easy to double-check automatically. Something like this is what I expect to see:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This little sketch means: ""solution"" is a list of scheduled activities; each item shows which task it is (task), when it begins (start) and when it finishes (end). Think of it like filling out a short form for every repair — one line per job with its start and end times. The JSON above is just the expected shape, not the actual schedule.
Please be sure to use the exact task identifiers from the instance input — don't 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”.""","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [14, 13, 14], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1]}, {'duration': 1, 'demands': [6, 5, 4], 'successors': []}, {'duration': 7, 'demands': [2, 4, 6], 'successors': [6, 7, 8]}, {'duration': 1, 'demands': [3, 2, 3], 'successors': [6, 7, 8]}, {'duration': 4, 'demands': [7, 6, 6], 'successors': [6, 7, 8]}, {'duration': 1, 'demands': [2, 4, 5], 'successors': [6, 7, 8]}, {'duration': 1, 'demands': [6, 6, 4], 'successors': [9]}, {'duration': 3, 'demands': [3, 2, 2], 'successors': [11]}, {'duration': 3, 'demands': [10, 2, 5], 'successors': [10, 1, 7]}, {'duration': 5, 'demands': [2, 6, 5], 'successors': [11]}, {'duration': 2, 'demands': [1, 6, 3], 'successors': [11, 1]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 15, 'end': 16, 'duration': 1, 'demands': [6, 5, 4]}, {'task': 2, 'start': 0, 'end': 7, 'duration': 7, 'demands': [2, 4, 6]}, {'task': 3, 'start': 4, 'end': 5, 'duration': 1, 'demands': [3, 2, 3]}, {'task': 4, 'start': 0, 'end': 4, 'duration': 4, 'demands': [7, 6, 6]}, {'task': 5, 'start': 4, 'end': 5, 'duration': 1, 'demands': [2, 4, 5]}, {'task': 6, 'start': 7, 'end': 8, 'duration': 1, 'demands': [6, 6, 4]}, {'task': 7, 'start': 11, 'end': 14, 'duration': 3, 'demands': [3, 2, 2]}, {'task': 8, 'start': 8, 'end': 11, 'duration': 3, 'demands': [10, 2, 5]}, {'task': 9, 'start': 8, 'end': 13, 'duration': 5, 'demands': [2, 6, 5]}, {'task': 10, 'start': 13, 'end': 15, 'duration': 2, 'demands': [1, 6, 3]}, {'task': 11, 'start': 15, 'end': 16, 'duration': 1, 'demands': [0, 0, 0]}]",16.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 14}, {'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 14}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2']}, {'task_id': 'T2', 'duration': 1, 'demands': [6, 5, 4], 'successors': []}, {'task_id': 'T3', 'duration': 7, 'demands': [2, 4, 6], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T4', 'duration': 1, 'demands': [3, 2, 3], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T5', 'duration': 4, 'demands': [7, 6, 6], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [2, 4, 5], 'successors': ['T7', 'T8', 'T9']}, {'task_id': 'T7', 'duration': 1, 'demands': [6, 6, 4], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 3, 'demands': [3, 2, 2], 'successors': ['T12']}, {'task_id': 'T9', 'duration': 3, 'demands': [10, 2, 5], 'successors': ['T11', 'T2', 'T8']}, {'task_id': 'T10', 'duration': 5, 'demands': [2, 6, 5], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 2, 'demands': [1, 6, 3], 'successors': ['T12', 'T2']}, {'task_id': 'T12', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 15, 'end': 16, 'duration': 1, 'demands': [6, 5, 4]}, {'task': 'T3', 'start': 0, 'end': 7, 'duration': 7, 'demands': [2, 4, 6]}, {'task': 'T4', 'start': 4, 'end': 5, 'duration': 1, 'demands': [3, 2, 3]}, {'task': 'T5', 'start': 0, 'end': 4, 'duration': 4, 'demands': [7, 6, 6]}, {'task': 'T6', 'start': 4, 'end': 5, 'duration': 1, 'demands': [2, 4, 5]}, {'task': 'T7', 'start': 7, 'end': 8, 'duration': 1, 'demands': [6, 6, 4]}, {'task': 'T8', 'start': 11, 'end': 14, 'duration': 3, 'demands': [3, 2, 2]}, {'task': 'T9', 'start': 8, 'end': 11, 'duration': 3, 'demands': [10, 2, 5]}, {'task': 'T10', 'start': 8, 'end': 13, 'duration': 5, 'demands': [2, 6, 5]}, {'task': 'T11', 'start': 13, 'end': 15, 'duration': 2, 'demands': [1, 6, 3]}, {'task': 'T12', 'start': 15, 'end': 16, 'duration': 1, 'demands': [0, 0, 0]}]",28,csv,0
RCPSP,RCPSP,"We’re prepping the shop for opening: there’s a bunch of fixed-length jobs — unloading pallets, unpacking products, setting up displays — and each one ties up forklifts and staff while it runs. Some steps have to wait for others (you can’t set up a display until the items are unpacked), so the decision is when to start each job so nothing overlaps the available forklifts or people and nothing gets skipped or done twice. A better plan gets everything done sooner, measured by the moment the final job wraps up. The specific tasks and capacities are listed below.
# total_tasks=11
# total_resource_types=3
# resources=A, B, C
resource_id,capacity
A,10
B,11
C,12
task_identifier,duration_minutes,resource_demands,immediate_successors
T1,5,""2, 1, 8"",""T3, T5, T10""
T2,3,""5, 9, 1"",""T4, T5""
T3,1,""5, 3, 3"",""T7, T8, T10""
T4,2,""6, 3, 4"",""T7""
T5,1,""5, 6, 4"",""T7, T10""
T6,1,""6, 1, 3"",""T7, T4""
T7,4,""2, 5, 7"",""T9""
T8,6,""2, 3, 6"",""T10, T9""
T9,2,""7, 4, 6"",""T11""
T10,1,""4, 2, 2"",""T11, T4, T7""
T11,1,""4, 5, 12"",""none""
Just so we're on the same page, when you send the schedule back, a relaxed JSON layout like this is perfect — a list called ""solution"" where each item names the task and its start and end times.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a sketch of the shape I expect, not the actual schedule. In plain terms: ""solution"" holds a bunch of task entries; each entry's ""task"" is the task identifier, ""start"" is when that job begins, and ""end"" is when it finishes (in the same time units used in the instance). Keep it simple — like filling out a form for each job.
Please use the exact task 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”.","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [10, 11, 12], 'tasks': [{'duration': 5, 'demands': [2, 1, 8], 'successors': [2, 4, 9]}, {'duration': 3, 'demands': [5, 9, 1], 'successors': [3, 4]}, {'duration': 1, 'demands': [5, 3, 3], 'successors': [6, 7, 9]}, {'duration': 2, 'demands': [6, 3, 4], 'successors': [6]}, {'duration': 1, 'demands': [5, 6, 4], 'successors': [6, 9]}, {'duration': 1, 'demands': [6, 1, 3], 'successors': [6, 3]}, {'duration': 4, 'demands': [2, 5, 7], 'successors': [8]}, {'duration': 6, 'demands': [2, 3, 6], 'successors': [9, 8]}, {'duration': 2, 'demands': [7, 4, 6], 'successors': [10]}, {'duration': 1, 'demands': [4, 2, 2], 'successors': [10, 3, 6]}, {'duration': 1, 'demands': [4, 5, 12], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 5, 'duration': 5, 'demands': [2, 1, 8]}, {'task': 1, 'start': 0, 'end': 3, 'duration': 3, 'demands': [5, 9, 1]}, {'task': 2, 'start': 5, 'end': 6, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 3, 'start': 13, 'end': 15, 'duration': 2, 'demands': [6, 3, 4]}, {'task': 4, 'start': 5, 'end': 6, 'duration': 1, 'demands': [5, 6, 4]}, {'task': 5, 'start': 3, 'end': 4, 'duration': 1, 'demands': [6, 1, 3]}, {'task': 6, 'start': 15, 'end': 19, 'duration': 4, 'demands': [2, 5, 7]}, {'task': 7, 'start': 6, 'end': 12, 'duration': 6, 'demands': [2, 3, 6]}, {'task': 8, 'start': 19, 'end': 21, 'duration': 2, 'demands': [7, 4, 6]}, {'task': 9, 'start': 12, 'end': 13, 'duration': 1, 'demands': [4, 2, 2]}, {'task': 10, 'start': 21, 'end': 22, 'duration': 1, 'demands': [4, 5, 12]}]",22.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 10}, {'resource_id': 'B', 'capacity': 11}, {'resource_id': 'C', 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 5, 'demands': [2, 1, 8], 'successors': ['T3', 'T5', 'T10']}, {'task_id': 'T2', 'duration': 3, 'demands': [5, 9, 1], 'successors': ['T4', 'T5']}, {'task_id': 'T3', 'duration': 1, 'demands': [5, 3, 3], 'successors': ['T7', 'T8', 'T10']}, {'task_id': 'T4', 'duration': 2, 'demands': [6, 3, 4], 'successors': ['T7']}, {'task_id': 'T5', 'duration': 1, 'demands': [5, 6, 4], 'successors': ['T7', 'T10']}, {'task_id': 'T6', 'duration': 1, 'demands': [6, 1, 3], 'successors': ['T7', 'T4']}, {'task_id': 'T7', 'duration': 4, 'demands': [2, 5, 7], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 6, 'demands': [2, 3, 6], 'successors': ['T10', 'T9']}, {'task_id': 'T9', 'duration': 2, 'demands': [7, 4, 6], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [4, 2, 2], 'successors': ['T11', 'T4', 'T7']}, {'task_id': 'T11', 'duration': 1, 'demands': [4, 5, 12], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 5, 'duration': 5, 'demands': [2, 1, 8]}, {'task': 'T2', 'start': 0, 'end': 3, 'duration': 3, 'demands': [5, 9, 1]}, {'task': 'T3', 'start': 5, 'end': 6, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 'T4', 'start': 13, 'end': 15, 'duration': 2, 'demands': [6, 3, 4]}, {'task': 'T5', 'start': 5, 'end': 6, 'duration': 1, 'demands': [5, 6, 4]}, {'task': 'T6', 'start': 3, 'end': 4, 'duration': 1, 'demands': [6, 1, 3]}, {'task': 'T7', 'start': 15, 'end': 19, 'duration': 4, 'demands': [2, 5, 7]}, {'task': 'T8', 'start': 6, 'end': 12, 'duration': 6, 'demands': [2, 3, 6]}, {'task': 'T9', 'start': 19, 'end': 21, 'duration': 2, 'demands': [7, 4, 6]}, {'task': 'T10', 'start': 12, 'end': 13, 'duration': 1, 'demands': [4, 2, 2]}, {'task': 'T11', 'start': 21, 'end': 22, 'duration': 1, 'demands': [4, 5, 12]}]",29,csv,names
RCPSP,RCPSP,"Many teams are waiting for a schedule: every procedure on the list takes a known amount of time and uses up certain staff and an operating room while it’s happening, and some procedures must wait until others finish. The core decision is to choose start times for all procedures so that the whole set finishes as fast as possible — you tell which schedule is better by checking the time the last procedure ends, and smaller is better. Real-world limits apply: no procedure is dropped or duplicated, precedence pairs must be respected, and at any moment the number of rooms and staff in use can’t exceed capacity. The full data for this instance is shown below.
# total_procedures=11
# resource_types_count=3
# resources=1, 2, 3
resource_id,capacity
1,8
2,10
3,11
procedure_id,procedure_duration,resource_demands,successor_ids
T1,3,""6, 7, 4"",""T3, T4, T5, T10, T8""
T2,6,""5, 9, 5"",""T7, T10, T9""
T3,1,""6, 3, 3"",""T5, T8, T11, T4""
T4,1,""3, 7, 4"",""T5, T7""
T5,1,""3, 2, 1"",""none""
T6,13,""4, 3, 4"",""T10""
T7,3,""6, 1, 5"",""T8""
T8,8,""1, 6, 6"",""T9, T10""
T9,1,""2, 7, 3"",""T11, T6, T5""
T10,6,""2, 4, 3"",""T11""
T11,6,""3, 5, 11"",""T5""
Oh, and when you send the schedule back, please put it in this simple JSON shape so it's easy to read and check:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little form: ""solution"" is the list of procedures, each item shows which procedure (""task"") and the time it starts and finishes (""start"" and ""end""). Keep the times in the same units the instance uses. This JSON is just a sketch of the shape I expect — you'll fill in the actual task identifiers and numbers.
Please use the identifiers exactly as they appear in the instance input — do not rename 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [8, 10, 11], 'tasks': [{'duration': 3, 'demands': [6, 7, 4], 'successors': [2, 3, 4, 9, 7]}, {'duration': 6, 'demands': [5, 9, 5], 'successors': [6, 9, 8]}, {'duration': 1, 'demands': [6, 3, 3], 'successors': [4, 7, 10, 3]}, {'duration': 1, 'demands': [3, 7, 4], 'successors': [4, 6]}, {'duration': 1, 'demands': [3, 2, 1], 'successors': []}, {'duration': 13, 'demands': [4, 3, 4], 'successors': [9]}, {'duration': 3, 'demands': [6, 1, 5], 'successors': [7]}, {'duration': 8, 'demands': [1, 6, 6], 'successors': [8, 9]}, {'duration': 1, 'demands': [2, 7, 3], 'successors': [10, 5, 4]}, {'duration': 6, 'demands': [2, 4, 3], 'successors': [10]}, {'duration': 6, 'demands': [3, 5, 11], 'successors': [4]}]}","[{'task': 0, 'start': 6, 'end': 9, 'duration': 3, 'demands': [6, 7, 4]}, {'task': 1, 'start': 0, 'end': 6, 'duration': 6, 'demands': [5, 9, 5]}, {'task': 2, 'start': 9, 'end': 10, 'duration': 1, 'demands': [6, 3, 3]}, {'task': 3, 'start': 10, 'end': 11, 'duration': 1, 'demands': [3, 7, 4]}, {'task': 4, 'start': 48, 'end': 49, 'duration': 1, 'demands': [3, 2, 1]}, {'task': 5, 'start': 23, 'end': 36, 'duration': 13, 'demands': [4, 3, 4]}, {'task': 6, 'start': 11, 'end': 14, 'duration': 3, 'demands': [6, 1, 5]}, {'task': 7, 'start': 14, 'end': 22, 'duration': 8, 'demands': [1, 6, 6]}, {'task': 8, 'start': 22, 'end': 23, 'duration': 1, 'demands': [2, 7, 3]}, {'task': 9, 'start': 36, 'end': 42, 'duration': 6, 'demands': [2, 4, 3]}, {'task': 10, 'start': 42, 'end': 48, 'duration': 6, 'demands': [3, 5, 11]}]",49.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 8}, {'resource_id': 2, 'capacity': 10}, {'resource_id': 3, 'capacity': 11}], 'task_records': [{'task_id': 'T1', 'duration': 3, 'demands': [6, 7, 4], 'successors': ['T3', 'T4', 'T5', 'T10', 'T8']}, {'task_id': 'T2', 'duration': 6, 'demands': [5, 9, 5], 'successors': ['T7', 'T10', 'T9']}, {'task_id': 'T3', 'duration': 1, 'demands': [6, 3, 3], 'successors': ['T5', 'T8', 'T11', 'T4']}, {'task_id': 'T4', 'duration': 1, 'demands': [3, 7, 4], 'successors': ['T5', 'T7']}, {'task_id': 'T5', 'duration': 1, 'demands': [3, 2, 1], 'successors': []}, {'task_id': 'T6', 'duration': 13, 'demands': [4, 3, 4], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 3, 'demands': [6, 1, 5], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 8, 'demands': [1, 6, 6], 'successors': ['T9', 'T10']}, {'task_id': 'T9', 'duration': 1, 'demands': [2, 7, 3], 'successors': ['T11', 'T6', 'T5']}, {'task_id': 'T10', 'duration': 6, 'demands': [2, 4, 3], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 6, 'demands': [3, 5, 11], 'successors': ['T5']}]}","[{'task': 'T1', 'start': 6, 'end': 9, 'duration': 3, 'demands': [6, 7, 4]}, {'task': 'T2', 'start': 0, 'end': 6, 'duration': 6, 'demands': [5, 9, 5]}, {'task': 'T3', 'start': 9, 'end': 10, 'duration': 1, 'demands': [6, 3, 3]}, {'task': 'T4', 'start': 10, 'end': 11, 'duration': 1, 'demands': [3, 7, 4]}, {'task': 'T5', 'start': 48, 'end': 49, 'duration': 1, 'demands': [3, 2, 1]}, {'task': 'T6', 'start': 23, 'end': 36, 'duration': 13, 'demands': [4, 3, 4]}, {'task': 'T7', 'start': 11, 'end': 14, 'duration': 3, 'demands': [6, 1, 5]}, {'task': 'T8', 'start': 14, 'end': 22, 'duration': 8, 'demands': [1, 6, 6]}, {'task': 'T9', 'start': 22, 'end': 23, 'duration': 1, 'demands': [2, 7, 3]}, {'task': 'T10', 'start': 36, 'end': 42, 'duration': 6, 'demands': [2, 4, 3]}, {'task': 'T11', 'start': 42, 'end': 48, 'duration': 6, 'demands': [3, 5, 11]}]",30,csv,1
RCPSP,RCPSP,"Recently the ops crew sketched a release pipeline: a bunch of ordered tasks, each with a fixed duration and a need for some combination of compute and people while active. Some tasks are blocked until predecessors finish. The task now is to set start times for all tasks so the release completes at the earliest possible moment — in other words, minimize the time when the final task finishes. Schedules that make that finishing moment sooner are preferable, provided every dependency is respected, no task is left out or run twice, and resource caps for machines and staff aren’t exceeded. The exact tasks and resource numbers are shown below.
# total_tasks=13
# total_resource_types=3
# resources=1, 2, 3
resource_id,capacity
1,10
2,13
3,15
task_identifier,task_duration,resource_demands,successor_task_ids
T1,4,""2, 1, 5"",""T5, T7, T6""
T2,8,""9, 9, 4"",""T6, T8, T4""
T3,2,""3, 6, 2"",""T6, T7, T9""
T4,7,""3, 4, 4"",""T7, T8""
T5,2,""3, 2, 4"",""T9, T10""
T6,1,""3, 1, 2"",""T9""
T7,2,""3, 6, 2"",""T9, T12, T6""
T8,2,""5, 1, 7"",""T9, T1""
T9,2,""1, 7, 5"",""T11""
T10,5,""2, 6, 7"",""T12, T3""
T11,6,""7, 6, 6"",""T13""
T12,1,""4, 4, 2"",""T13""
T13,1,""2, 4, 9"",""none""
Also, when you hand me the schedule, please use this simple JSON shape so it's easy to read and plug into whatever checks we run next:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just means ""solution"" is a list of task entries; each entry has the task identifier and the numeric start and end times for that task (same time units as in the instance). It's just a template — replace the placeholders with the actual values for every task.
Please use the exact task identifiers from the instance input — don't 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”.
Also be sure every task from the instance appears exactly once in the solution (no duplicates, none missing).","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [10, 13, 15], 'tasks': [{'duration': 4, 'demands': [2, 1, 5], 'successors': [4, 6, 5]}, {'duration': 8, 'demands': [9, 9, 4], 'successors': [5, 7, 3]}, {'duration': 2, 'demands': [3, 6, 2], 'successors': [5, 6, 8]}, {'duration': 7, 'demands': [3, 4, 4], 'successors': [6, 7]}, {'duration': 2, 'demands': [3, 2, 4], 'successors': [8, 9]}, {'duration': 1, 'demands': [3, 1, 2], 'successors': [8]}, {'duration': 2, 'demands': [3, 6, 2], 'successors': [8, 11, 5]}, {'duration': 2, 'demands': [5, 1, 7], 'successors': [8, 0]}, {'duration': 2, 'demands': [1, 7, 5], 'successors': [10]}, {'duration': 5, 'demands': [2, 6, 7], 'successors': [11, 2]}, {'duration': 6, 'demands': [7, 6, 6], 'successors': [12]}, {'duration': 1, 'demands': [4, 4, 2], 'successors': [12]}, {'duration': 1, 'demands': [2, 4, 9], 'successors': []}]}","[{'task': 0, 'start': 17, 'end': 21, 'duration': 4, 'demands': [2, 1, 5]}, {'task': 1, 'start': 0, 'end': 8, 'duration': 8, 'demands': [9, 9, 4]}, {'task': 2, 'start': 28, 'end': 30, 'duration': 2, 'demands': [3, 6, 2]}, {'task': 3, 'start': 8, 'end': 15, 'duration': 7, 'demands': [3, 4, 4]}, {'task': 4, 'start': 21, 'end': 23, 'duration': 2, 'demands': [3, 2, 4]}, {'task': 5, 'start': 32, 'end': 33, 'duration': 1, 'demands': [3, 1, 2]}, {'task': 6, 'start': 30, 'end': 32, 'duration': 2, 'demands': [3, 6, 2]}, {'task': 7, 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 1, 7]}, {'task': 8, 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 7, 5]}, {'task': 9, 'start': 23, 'end': 28, 'duration': 5, 'demands': [2, 6, 7]}, {'task': 10, 'start': 35, 'end': 41, 'duration': 6, 'demands': [7, 6, 6]}, {'task': 11, 'start': 32, 'end': 33, 'duration': 1, 'demands': [4, 4, 2]}, {'task': 12, 'start': 41, 'end': 42, 'duration': 1, 'demands': [2, 4, 9]}]",42.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 10}, {'resource_id': 2, 'capacity': 13}, {'resource_id': 3, 'capacity': 15}], 'task_records': [{'task_id': 'T1', 'duration': 4, 'demands': [2, 1, 5], 'successors': ['T5', 'T7', 'T6']}, {'task_id': 'T2', 'duration': 8, 'demands': [9, 9, 4], 'successors': ['T6', 'T8', 'T4']}, {'task_id': 'T3', 'duration': 2, 'demands': [3, 6, 2], 'successors': ['T6', 'T7', 'T9']}, {'task_id': 'T4', 'duration': 7, 'demands': [3, 4, 4], 'successors': ['T7', 'T8']}, {'task_id': 'T5', 'duration': 2, 'demands': [3, 2, 4], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 1, 'demands': [3, 1, 2], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 2, 'demands': [3, 6, 2], 'successors': ['T9', 'T12', 'T6']}, {'task_id': 'T8', 'duration': 2, 'demands': [5, 1, 7], 'successors': ['T9', 'T1']}, {'task_id': 'T9', 'duration': 2, 'demands': [1, 7, 5], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 5, 'demands': [2, 6, 7], 'successors': ['T12', 'T3']}, {'task_id': 'T11', 'duration': 6, 'demands': [7, 6, 6], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 1, 'demands': [4, 4, 2], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [2, 4, 9], 'successors': []}]}","[{'task': 'T1', 'start': 17, 'end': 21, 'duration': 4, 'demands': [2, 1, 5]}, {'task': 'T2', 'start': 0, 'end': 8, 'duration': 8, 'demands': [9, 9, 4]}, {'task': 'T3', 'start': 28, 'end': 30, 'duration': 2, 'demands': [3, 6, 2]}, {'task': 'T4', 'start': 8, 'end': 15, 'duration': 7, 'demands': [3, 4, 4]}, {'task': 'T5', 'start': 21, 'end': 23, 'duration': 2, 'demands': [3, 2, 4]}, {'task': 'T6', 'start': 32, 'end': 33, 'duration': 1, 'demands': [3, 1, 2]}, {'task': 'T7', 'start': 30, 'end': 32, 'duration': 2, 'demands': [3, 6, 2]}, {'task': 'T8', 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 1, 7]}, {'task': 'T9', 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 7, 5]}, {'task': 'T10', 'start': 23, 'end': 28, 'duration': 5, 'demands': [2, 6, 7]}, {'task': 'T11', 'start': 35, 'end': 41, 'duration': 6, 'demands': [7, 6, 6]}, {'task': 'T12', 'start': 32, 'end': 33, 'duration': 1, 'demands': [4, 4, 2]}, {'task': 'T13', 'start': 41, 'end': 42, 'duration': 1, 'demands': [2, 4, 9]}]",31,csv,1
RCPSP,RCPSP,"We’ve got a list of prep tasks for service: each one takes a fixed amount of time, uses some of the ovens and staff while it’s happening, and a few tasks only make sense after other tasks finish. The choice is simply about when to kick each task off so service can start sooner — measured by the moment the final prep completes, which we want to make as early as possible. At the same time, no oven or team member can be booked by more than one task at once, and every prep must be scheduled once in the right order. The actual task times and resource limits are shown below.
Below we list the 13 prep tasks, the 3 resource types, and the available units for each resource .
Prep T1 runs for 8 time units, requires 6, 4, 2 while running, and must finish before T2, T3, T4 start.
Prep T2 runs for 3 time units, requires 3, 8, 4 while running, and must finish before T5, T6 start.
Prep T3 runs for 7 time units, requires 2, 3, 4 while running, and must finish before T5, T7, T13 start.
Prep T4 runs for 7 time units, requires 4, 6, 8 while running, and must finish before T7, T8 start.
Prep T5 runs for 4 time units, requires 4, 4, 2 while running, and must finish before T9, T11 start.
Prep T6 runs for 1 time units, requires 5, 3, 3 while running, and must finish before T10 start.
Prep T7 runs for 1 time units, requires 3, 5, 4 while running, and must finish before T10 start.
Prep T8 runs for 9 time units, requires 5, 1, 4 while running, and must finish before T9 start.
Prep T9 runs for 1 time units, requires 1, 5, 7 while running, and must finish before T12 start.
Prep T10 runs for 6 time units, requires 4, 2, 2 while running, and must finish before T12 start.
Prep T11 runs for 5 time units, requires 3, 4, 3 while running, and must finish before T7 start.
Prep T12 runs for 3 time units, requires 4, 2, 4 while running, and must finish before T13 start.
Prep T13 runs for 3 time units, requires 2, 7, 11 while running, and must finish before none start.
We'll schedule the 13 preps respecting the resource limits so the last prep finishes as early as possible.
Also, when you send the schedule back, please use this simple JSON layout so it's easy to parse — nothing fancy, just that shape.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This little sketch shows the shape I expect: ""solution"" is a list of the scheduled preps; each entry names the task and the time it starts and finishes. Think of ""task"" as the task label from the instance, and ""start""/""end"" as the time (in the same units used in the instance) when that prep runs. It's just an example of the shape, not the actual schedule.
Please make sure to use the exact identifiers from the instance input — don't 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”.""
Replace the placeholders with those real ids and numeric start/end times when you submit the actual schedule.","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [10, 13, 12], 'tasks': [{'duration': 8, 'demands': [6, 4, 2], 'successors': [1, 2, 3]}, {'duration': 3, 'demands': [3, 8, 4], 'successors': [4, 5]}, {'duration': 7, 'demands': [2, 3, 4], 'successors': [4, 6, 12]}, {'duration': 7, 'demands': [4, 6, 8], 'successors': [6, 7]}, {'duration': 4, 'demands': [4, 4, 2], 'successors': [8, 10]}, {'duration': 1, 'demands': [5, 3, 3], 'successors': [9]}, {'duration': 1, 'demands': [3, 5, 4], 'successors': [9]}, {'duration': 9, 'demands': [5, 1, 4], 'successors': [8]}, {'duration': 1, 'demands': [1, 5, 7], 'successors': [11]}, {'duration': 6, 'demands': [4, 2, 2], 'successors': [11]}, {'duration': 5, 'demands': [3, 4, 3], 'successors': [6]}, {'duration': 3, 'demands': [4, 2, 4], 'successors': [12]}, {'duration': 3, 'demands': [2, 7, 11], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 8, 'duration': 8, 'demands': [6, 4, 2]}, {'task': 1, 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 8, 4]}, {'task': 2, 'start': 8, 'end': 15, 'duration': 7, 'demands': [2, 3, 4]}, {'task': 3, 'start': 11, 'end': 18, 'duration': 7, 'demands': [4, 6, 8]}, {'task': 4, 'start': 15, 'end': 19, 'duration': 4, 'demands': [4, 4, 2]}, {'task': 5, 'start': 18, 'end': 19, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 6, 'start': 24, 'end': 25, 'duration': 1, 'demands': [3, 5, 4]}, {'task': 7, 'start': 19, 'end': 28, 'duration': 9, 'demands': [5, 1, 4]}, {'task': 8, 'start': 28, 'end': 29, 'duration': 1, 'demands': [1, 5, 7]}, {'task': 9, 'start': 25, 'end': 31, 'duration': 6, 'demands': [4, 2, 2]}, {'task': 10, 'start': 19, 'end': 24, 'duration': 5, 'demands': [3, 4, 3]}, {'task': 11, 'start': 31, 'end': 34, 'duration': 3, 'demands': [4, 2, 4]}, {'task': 12, 'start': 34, 'end': 37, 'duration': 3, 'demands': [2, 7, 11]}]",37.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 10}, {'resource_id': 'B', 'capacity': 13}, {'resource_id': 'C', 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 8, 'demands': [6, 4, 2], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 3, 'demands': [3, 8, 4], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 7, 'demands': [2, 3, 4], 'successors': ['T5', 'T7', 'T13']}, {'task_id': 'T4', 'duration': 7, 'demands': [4, 6, 8], 'successors': ['T7', 'T8']}, {'task_id': 'T5', 'duration': 4, 'demands': [4, 4, 2], 'successors': ['T9', 'T11']}, {'task_id': 'T6', 'duration': 1, 'demands': [5, 3, 3], 'successors': ['T10']}, {'task_id': 'T7', 'duration': 1, 'demands': [3, 5, 4], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 9, 'demands': [5, 1, 4], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 1, 'demands': [1, 5, 7], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 6, 'demands': [4, 2, 2], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 5, 'demands': [3, 4, 3], 'successors': ['T7']}, {'task_id': 'T12', 'duration': 3, 'demands': [4, 2, 4], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 3, 'demands': [2, 7, 11], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 8, 'duration': 8, 'demands': [6, 4, 2]}, {'task': 'T2', 'start': 8, 'end': 11, 'duration': 3, 'demands': [3, 8, 4]}, {'task': 'T3', 'start': 8, 'end': 15, 'duration': 7, 'demands': [2, 3, 4]}, {'task': 'T4', 'start': 11, 'end': 18, 'duration': 7, 'demands': [4, 6, 8]}, {'task': 'T5', 'start': 15, 'end': 19, 'duration': 4, 'demands': [4, 4, 2]}, {'task': 'T6', 'start': 18, 'end': 19, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 'T7', 'start': 24, 'end': 25, 'duration': 1, 'demands': [3, 5, 4]}, {'task': 'T8', 'start': 19, 'end': 28, 'duration': 9, 'demands': [5, 1, 4]}, {'task': 'T9', 'start': 28, 'end': 29, 'duration': 1, 'demands': [1, 5, 7]}, {'task': 'T10', 'start': 25, 'end': 31, 'duration': 6, 'demands': [4, 2, 2]}, {'task': 'T11', 'start': 19, 'end': 24, 'duration': 5, 'demands': [3, 4, 3]}, {'task': 'T12', 'start': 31, 'end': 34, 'duration': 3, 'demands': [4, 2, 4]}, {'task': 'T13', 'start': 34, 'end': 37, 'duration': 3, 'demands': [2, 7, 11]}]",32,nl,names
RCPSP,RCPSP,"I picture the ground crew racing the clock: fuel, catering, cleaning and checks all have set lengths, a handful of trucks and people to go around, and some jobs that can’t start until others are done. The job here is to pick a start time for every ground task so that nothing is missed or done twice, no piece of equipment or staff is overbooked, and the plane can push back as soon as possible. The plane’s departure time is simply the moment the last required task wraps up, so the goal is to make that finishing moment as early as it can be. The exact list of activities, who’s available and how long each takes will be shown below.
{
""nr_ground_activities"": 13,
""nr_resource_types"": 3,
""resources"": [
1,
2,
3
],
""resource_capacities"": [
{
""resource_id"": 1,
""capacity"": 11
},
{
""resource_id"": 2,
""capacity"": 15
},
{
""resource_id"": 3,
""capacity"": 13
}
],
""tasks"": [
{
""activity_id"": ""T1"",
""activity_duration"": 1,
""resource_demands"": [
0,
0,
0
],
""successor_activity_ids"": [
""T2""
]
},
{
""activity_id"": ""T2"",
""activity_duration"": 1,
""resource_demands"": [
9,
5,
3
],
""successor_activity_ids"": [
""T5""
]
},
{
""activity_id"": ""T3"",
""activity_duration"": 2,
""resource_demands"": [
7,
1,
7
],
""successor_activity_ids"": [
""T7"",
""T4"",
""T12"",
""T8""
]
},
{
""activity_id"": ""T4"",
""activity_duration"": 3,
""resource_demands"": [
1,
8,
6
],
""successor_activity_ids"": [
""T8"",
""T12""
]
},
{
""activity_id"": ""T5"",
""activity_duration"": 1,
""resource_demands"": [
3,
2,
3
],
""successor_activity_ids"": [
""T9"",
""T8""
]
},
{
""activity_id"": ""T6"",
""activity_duration"": 2,
""resource_demands"": [
5,
3,
5
],
""successor_activity_ids"": [
""T9""
]
},
{
""activity_id"": ""T7"",
""activity_duration"": 1,
""resource_demands"": [
1,
6,
6
],
""successor_activity_ids"": [
""T10"",
""T4"",
""T12""
]
},
{
""activity_id"": ""T8"",
""activity_duration"": 1,
""resource_demands"": [
6,
3,
7
],
""successor_activity_ids"": [
""T11""
]
},
{
""activity_id"": ""T9"",
""activity_duration"": 3,
""resource_demands"": [
4,
1,
5
],
""successor_activity_ids"": [
""T13""
]
},
{
""activity_id"": ""T10"",
""activity_duration"": 3,
""resource_demands"": [
4,
5,
5
],
""successor_activity_ids"": [
""T12"",
""T8"",
""T5""
]
},
{
""activity_id"": ""T11"",
""activity_duration"": 4,
""resource_demands"": [
3,
6,
11
],
""successor_activity_ids"": [
""T13""
]
},
{
""activity_id"": ""T12"",
""activity_duration"": 2,
""resource_demands"": [
1,
12,
3
],
""successor_activity_ids"": [
""T13"",
""T9""
]
},
{
""activity_id"": ""T13"",
""activity_duration"": 1,
""resource_demands"": [
0,
0,
0
],
""successor_activity_ids"": []
}
]
}
When you send the schedule back, just use this simple JSON layout so it's easy to parse and check.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just means: ""solution"" is a list of scheduled activities; each item names the task, when it starts and when it finishes. Think of it like filling out a little form for every ground task — task is the task's id, start and end are the times (same time units as the instance). This snippet is only a sketch of the shape I need, not the actual completed schedule.
Please use the exact task 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”.","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [11, 15, 13], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1]}, {'duration': 1, 'demands': [9, 5, 3], 'successors': [4]}, {'duration': 2, 'demands': [7, 1, 7], 'successors': [6, 3, 11, 7]}, {'duration': 3, 'demands': [1, 8, 6], 'successors': [7, 11]}, {'duration': 1, 'demands': [3, 2, 3], 'successors': [8, 7]}, {'duration': 2, 'demands': [5, 3, 5], 'successors': [8]}, {'duration': 1, 'demands': [1, 6, 6], 'successors': [9, 3, 11]}, {'duration': 1, 'demands': [6, 3, 7], 'successors': [10]}, {'duration': 3, 'demands': [4, 1, 5], 'successors': [12]}, {'duration': 3, 'demands': [4, 5, 5], 'successors': [11, 7, 4]}, {'duration': 4, 'demands': [3, 6, 11], 'successors': [12]}, {'duration': 2, 'demands': [1, 12, 3], 'successors': [12, 8]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 2, 'end': 3, 'duration': 1, 'demands': [9, 5, 3]}, {'task': 2, 'start': 0, 'end': 2, 'duration': 2, 'demands': [7, 1, 7]}, {'task': 3, 'start': 3, 'end': 6, 'duration': 3, 'demands': [1, 8, 6]}, {'task': 4, 'start': 6, 'end': 7, 'duration': 1, 'demands': [3, 2, 3]}, {'task': 5, 'start': 7, 'end': 9, 'duration': 2, 'demands': [5, 3, 5]}, {'task': 6, 'start': 2, 'end': 3, 'duration': 1, 'demands': [1, 6, 6]}, {'task': 7, 'start': 8, 'end': 9, 'duration': 1, 'demands': [6, 3, 7]}, {'task': 8, 'start': 13, 'end': 16, 'duration': 3, 'demands': [4, 1, 5]}, {'task': 9, 'start': 3, 'end': 6, 'duration': 3, 'demands': [4, 5, 5]}, {'task': 10, 'start': 9, 'end': 13, 'duration': 4, 'demands': [3, 6, 11]}, {'task': 11, 'start': 6, 'end': 8, 'duration': 2, 'demands': [1, 12, 3]}, {'task': 12, 'start': 16, 'end': 17, 'duration': 1, 'demands': [0, 0, 0]}]",17.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 11}, {'resource_id': 2, 'capacity': 15}, {'resource_id': 3, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2']}, {'task_id': 'T2', 'duration': 1, 'demands': [9, 5, 3], 'successors': ['T5']}, {'task_id': 'T3', 'duration': 2, 'demands': [7, 1, 7], 'successors': ['T7', 'T4', 'T12', 'T8']}, {'task_id': 'T4', 'duration': 3, 'demands': [1, 8, 6], 'successors': ['T8', 'T12']}, {'task_id': 'T5', 'duration': 1, 'demands': [3, 2, 3], 'successors': ['T9', 'T8']}, {'task_id': 'T6', 'duration': 2, 'demands': [5, 3, 5], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 1, 'demands': [1, 6, 6], 'successors': ['T10', 'T4', 'T12']}, {'task_id': 'T8', 'duration': 1, 'demands': [6, 3, 7], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 3, 'demands': [4, 1, 5], 'successors': ['T13']}, {'task_id': 'T10', 'duration': 3, 'demands': [4, 5, 5], 'successors': ['T12', 'T8', 'T5']}, {'task_id': 'T11', 'duration': 4, 'demands': [3, 6, 11], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [1, 12, 3], 'successors': ['T13', 'T9']}, {'task_id': 'T13', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 2, 'end': 3, 'duration': 1, 'demands': [9, 5, 3]}, {'task': 'T3', 'start': 0, 'end': 2, 'duration': 2, 'demands': [7, 1, 7]}, {'task': 'T4', 'start': 3, 'end': 6, 'duration': 3, 'demands': [1, 8, 6]}, {'task': 'T5', 'start': 6, 'end': 7, 'duration': 1, 'demands': [3, 2, 3]}, {'task': 'T6', 'start': 7, 'end': 9, 'duration': 2, 'demands': [5, 3, 5]}, {'task': 'T7', 'start': 2, 'end': 3, 'duration': 1, 'demands': [1, 6, 6]}, {'task': 'T8', 'start': 8, 'end': 9, 'duration': 1, 'demands': [6, 3, 7]}, {'task': 'T9', 'start': 13, 'end': 16, 'duration': 3, 'demands': [4, 1, 5]}, {'task': 'T10', 'start': 3, 'end': 6, 'duration': 3, 'demands': [4, 5, 5]}, {'task': 'T11', 'start': 9, 'end': 13, 'duration': 4, 'demands': [3, 6, 11]}, {'task': 'T12', 'start': 6, 'end': 8, 'duration': 2, 'demands': [1, 12, 3]}, {'task': 'T13', 'start': 16, 'end': 17, 'duration': 1, 'demands': [0, 0, 0]}]",33,json,1
RCPSP,RCPSP,"There’s a busy day at the printing house: a chain of production steps that all must happen, each taking a fixed stretch of time and grabbing some of the editors or a press while it’s active. The job is to set start times for each step so the entire run ends as soon as possible — the final completion moment is just the time the last step wraps up (check each step’s start plus its duration and take the latest). Certain steps can’t be started until others finish, and at no point can the team or presses in use exceed the shop’s available crew and machines. Every step must be carried out once, no skipping or repeating, and the detailed list of tasks and resource limits appears below.
It lists 12 production steps across 3 resource types, with shop capacities given as .
Step T1 runs for 2 time units, occupies 6, 9, 3 resources while active, and must finish before T3, T4, T5, T7 may start.
Step T2 runs for 6 time units, occupies 6, 1, 4 resources while active, and must finish before T6, T7 may start.
Step T3 runs for 5 time units, occupies 7, 8, 8 resources while active, and must finish before T6, T7, T5 may start.
Step T4 runs for 3 time units, occupies 2, 4, 2 resources while active, and must finish before T6, T7, T5 may start.
Step T5 runs for 3 time units, occupies 3, 2, 8 resources while active, and must finish before T6 may start.
Step T6 runs for 8 time units, occupies 2, 2, 2 resources while active, and must finish before none may start.
Step T7 runs for 3 time units, occupies 3, 3, 4 resources while active, and must finish before T8 may start.
Step T8 runs for 2 time units, occupies 1, 4, 4 resources while active, and must finish before T10, T11, T6, T9 may start.
Step T9 runs for 4 time units, occupies 3, 4, 8 resources while active, and must finish before T12 may start.
Step T10 runs for 3 time units, occupies 5, 2, 3 resources while active, and must finish before T12 may start.
Step T11 runs for 3 time units, occupies 3, 4, 4 resources while active, and must finish before T12 may start.
Step T12 runs for 4 time units, occupies 4, 4, 4 resources while active, and must finish before none may start.
All steps must be scheduled once so the final completion time is minimized while respecting the listed capacities and finish-to-start precedences.
When you send back the schedule, just use a tiny JSON snippet so it's easy to parse—nothing fancy, just the shape below.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that like a short form: ""solution"" holds a list of the steps, and each step says which task it is and when it starts and finishes. Keep it simple — task is the task identifier, start is the start time, and end is the end time. This block is just a sketch of the expected shape, not the actual schedule.
Please use the exact identifiers from the instance input — do not 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [9, 14, 9], 'tasks': [{'duration': 2, 'demands': [6, 9, 3], 'successors': [2, 3, 4, 6]}, {'duration': 6, 'demands': [6, 1, 4], 'successors': [5, 6]}, {'duration': 5, 'demands': [7, 8, 8], 'successors': [5, 6, 4]}, {'duration': 3, 'demands': [2, 4, 2], 'successors': [5, 6, 4]}, {'duration': 3, 'demands': [3, 2, 8], 'successors': [5]}, {'duration': 8, 'demands': [2, 2, 2], 'successors': []}, {'duration': 3, 'demands': [3, 3, 4], 'successors': [7]}, {'duration': 2, 'demands': [1, 4, 4], 'successors': [9, 10, 5, 8]}, {'duration': 4, 'demands': [3, 4, 8], 'successors': [11]}, {'duration': 3, 'demands': [5, 2, 3], 'successors': [11]}, {'duration': 3, 'demands': [3, 4, 4], 'successors': [11]}, {'duration': 4, 'demands': [4, 4, 4], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [6, 9, 3]}, {'task': 1, 'start': 2, 'end': 8, 'duration': 6, 'demands': [6, 1, 4]}, {'task': 2, 'start': 8, 'end': 13, 'duration': 5, 'demands': [7, 8, 8]}, {'task': 3, 'start': 2, 'end': 5, 'duration': 3, 'demands': [2, 4, 2]}, {'task': 4, 'start': 18, 'end': 21, 'duration': 3, 'demands': [3, 2, 8]}, {'task': 5, 'start': 25, 'end': 33, 'duration': 8, 'demands': [2, 2, 2]}, {'task': 6, 'start': 13, 'end': 16, 'duration': 3, 'demands': [3, 3, 4]}, {'task': 7, 'start': 16, 'end': 18, 'duration': 2, 'demands': [1, 4, 4]}, {'task': 8, 'start': 21, 'end': 25, 'duration': 4, 'demands': [3, 4, 8]}, {'task': 9, 'start': 25, 'end': 28, 'duration': 3, 'demands': [5, 2, 3]}, {'task': 10, 'start': 28, 'end': 31, 'duration': 3, 'demands': [3, 4, 4]}, {'task': 11, 'start': 31, 'end': 35, 'duration': 4, 'demands': [4, 4, 4]}]",35.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 9}, {'resource_id': 1, 'capacity': 14}, {'resource_id': 2, 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [6, 9, 3], 'successors': ['T3', 'T4', 'T5', 'T7']}, {'task_id': 'T2', 'duration': 6, 'demands': [6, 1, 4], 'successors': ['T6', 'T7']}, {'task_id': 'T3', 'duration': 5, 'demands': [7, 8, 8], 'successors': ['T6', 'T7', 'T5']}, {'task_id': 'T4', 'duration': 3, 'demands': [2, 4, 2], 'successors': ['T6', 'T7', 'T5']}, {'task_id': 'T5', 'duration': 3, 'demands': [3, 2, 8], 'successors': ['T6']}, {'task_id': 'T6', 'duration': 8, 'demands': [2, 2, 2], 'successors': []}, {'task_id': 'T7', 'duration': 3, 'demands': [3, 3, 4], 'successors': ['T8']}, {'task_id': 'T8', 'duration': 2, 'demands': [1, 4, 4], 'successors': ['T10', 'T11', 'T6', 'T9']}, {'task_id': 'T9', 'duration': 4, 'demands': [3, 4, 8], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 3, 'demands': [5, 2, 3], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 3, 'demands': [3, 4, 4], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 4, 'demands': [4, 4, 4], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [6, 9, 3]}, {'task': 'T2', 'start': 2, 'end': 8, 'duration': 6, 'demands': [6, 1, 4]}, {'task': 'T3', 'start': 8, 'end': 13, 'duration': 5, 'demands': [7, 8, 8]}, {'task': 'T4', 'start': 2, 'end': 5, 'duration': 3, 'demands': [2, 4, 2]}, {'task': 'T5', 'start': 18, 'end': 21, 'duration': 3, 'demands': [3, 2, 8]}, {'task': 'T6', 'start': 25, 'end': 33, 'duration': 8, 'demands': [2, 2, 2]}, {'task': 'T7', 'start': 13, 'end': 16, 'duration': 3, 'demands': [3, 3, 4]}, {'task': 'T8', 'start': 16, 'end': 18, 'duration': 2, 'demands': [1, 4, 4]}, {'task': 'T9', 'start': 21, 'end': 25, 'duration': 4, 'demands': [3, 4, 8]}, {'task': 'T10', 'start': 25, 'end': 28, 'duration': 3, 'demands': [5, 2, 3]}, {'task': 'T11', 'start': 28, 'end': 31, 'duration': 3, 'demands': [3, 4, 4]}, {'task': 'T12', 'start': 31, 'end': 35, 'duration': 4, 'demands': [4, 4, 4]}]",34,nl,0
RCPSP,RCPSP,"We have a little production to plan: several shoots and follow-up edits that must be slotted into a tight timetable. The decision to make is when each shoot and edit should start so the campaign finishes at the earliest possible moment — that finishing moment is just the end time of the last activity, so the goal is to make that end time as small as possible. Each item has a fixed runtime, eats up studio time or an editor while it’s happening, and some jobs can only begin after others finish. All activities must be included exactly once and resources can’t be overbooked. The exact durations, resource availability and task orderings are listed below.
There are 11 activities, 3 resource types, and resource capacities .
We have activity T1 lasting 5 time units, using 4, 1, 5 while it runs, with immediate successors T5, T7.
We have activity T2 lasting 2 time units, using 7, 9, 3 while it runs, with immediate successors T5, T4.
We have activity T3 lasting 4 time units, using 6, 7, 3 while it runs, with immediate successors T5, T6, T9, T4.
We have activity T4 lasting 4 time units, using 3, 7, 5 while it runs, with immediate successors T5, T6, T9.
We have activity T5 lasting 2 time units, using 2, 3, 2 while it runs, with immediate successors T8.
We have activity T6 lasting 2 time units, using 4, 4, 4 while it runs, with immediate successors none.
We have activity T7 lasting 2 time units, using 3, 1, 6 while it runs, with immediate successors T8, T11, T5.
We have activity T8 lasting 5 time units, using 1, 6, 6 while it runs, with immediate successors T9.
We have activity T9 lasting 2 time units, using 5, 8, 2 while it runs, with immediate successors T11.
We have activity T10 lasting 8 time units, using 4, 3, 4 while it runs, with immediate successors T11, T8.
We have activity T11 lasting 2 time units, using 3, 3, 10 while it runs, with immediate successors none.
Include every activity exactly once so we can assign start times and minimize the campaign's finish time.
Also, when you send the schedule back, please use this simple JSON shape so everything lines up with the rest of the workflow:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little form: ""solution"" holds a list of all the activities, and each activity entry just names the task and gives its start and end times. Keep the task identifier exactly as it appears in the instance, and use the same time units the instance uses (so the numbers line up with the durations you were given). This JSON is just a sketch of the shape I need, not the actual scheduled times.
Please make sure all task identifiers are used exactly as they appear in 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”.""","{'nr_tasks': 11, 'nr_resources': 3, 'capacities': [11, 9, 10], 'tasks': [{'duration': 5, 'demands': [4, 1, 5], 'successors': [4, 6]}, {'duration': 2, 'demands': [7, 9, 3], 'successors': [4, 3]}, {'duration': 4, 'demands': [6, 7, 3], 'successors': [4, 5, 8, 3]}, {'duration': 4, 'demands': [3, 7, 5], 'successors': [4, 5, 8]}, {'duration': 2, 'demands': [2, 3, 2], 'successors': [7]}, {'duration': 2, 'demands': [4, 4, 4], 'successors': []}, {'duration': 2, 'demands': [3, 1, 6], 'successors': [7, 10, 4]}, {'duration': 5, 'demands': [1, 6, 6], 'successors': [8]}, {'duration': 2, 'demands': [5, 8, 2], 'successors': [10]}, {'duration': 8, 'demands': [4, 3, 4], 'successors': [10, 7]}, {'duration': 2, 'demands': [3, 3, 10], 'successors': []}]}","[{'task': 0, 'start': 6, 'end': 11, 'duration': 5, 'demands': [4, 1, 5]}, {'task': 1, 'start': 4, 'end': 6, 'duration': 2, 'demands': [7, 9, 3]}, {'task': 2, 'start': 0, 'end': 4, 'duration': 4, 'demands': [6, 7, 3]}, {'task': 3, 'start': 6, 'end': 10, 'duration': 4, 'demands': [3, 7, 5]}, {'task': 4, 'start': 13, 'end': 15, 'duration': 2, 'demands': [2, 3, 2]}, {'task': 5, 'start': 15, 'end': 17, 'duration': 2, 'demands': [4, 4, 4]}, {'task': 6, 'start': 11, 'end': 13, 'duration': 2, 'demands': [3, 1, 6]}, {'task': 7, 'start': 18, 'end': 23, 'duration': 5, 'demands': [1, 6, 6]}, {'task': 8, 'start': 23, 'end': 25, 'duration': 2, 'demands': [5, 8, 2]}, {'task': 9, 'start': 10, 'end': 18, 'duration': 8, 'demands': [4, 3, 4]}, {'task': 10, 'start': 25, 'end': 27, 'duration': 2, 'demands': [3, 3, 10]}]",27.0,"{'problem_type': 'RCPSP', 'nr_tasks': 11, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 11}, {'resource_id': 'B', 'capacity': 9}, {'resource_id': 'C', 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 5, 'demands': [4, 1, 5], 'successors': ['T5', 'T7']}, {'task_id': 'T2', 'duration': 2, 'demands': [7, 9, 3], 'successors': ['T5', 'T4']}, {'task_id': 'T3', 'duration': 4, 'demands': [6, 7, 3], 'successors': ['T5', 'T6', 'T9', 'T4']}, {'task_id': 'T4', 'duration': 4, 'demands': [3, 7, 5], 'successors': ['T5', 'T6', 'T9']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 3, 2], 'successors': ['T8']}, {'task_id': 'T6', 'duration': 2, 'demands': [4, 4, 4], 'successors': []}, {'task_id': 'T7', 'duration': 2, 'demands': [3, 1, 6], 'successors': ['T8', 'T11', 'T5']}, {'task_id': 'T8', 'duration': 5, 'demands': [1, 6, 6], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 2, 'demands': [5, 8, 2], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 8, 'demands': [4, 3, 4], 'successors': ['T11', 'T8']}, {'task_id': 'T11', 'duration': 2, 'demands': [3, 3, 10], 'successors': []}]}","[{'task': 'T1', 'start': 6, 'end': 11, 'duration': 5, 'demands': [4, 1, 5]}, {'task': 'T2', 'start': 4, 'end': 6, 'duration': 2, 'demands': [7, 9, 3]}, {'task': 'T3', 'start': 0, 'end': 4, 'duration': 4, 'demands': [6, 7, 3]}, {'task': 'T4', 'start': 6, 'end': 10, 'duration': 4, 'demands': [3, 7, 5]}, {'task': 'T5', 'start': 13, 'end': 15, 'duration': 2, 'demands': [2, 3, 2]}, {'task': 'T6', 'start': 15, 'end': 17, 'duration': 2, 'demands': [4, 4, 4]}, {'task': 'T7', 'start': 11, 'end': 13, 'duration': 2, 'demands': [3, 1, 6]}, {'task': 'T8', 'start': 18, 'end': 23, 'duration': 5, 'demands': [1, 6, 6]}, {'task': 'T9', 'start': 23, 'end': 25, 'duration': 2, 'demands': [5, 8, 2]}, {'task': 'T10', 'start': 10, 'end': 18, 'duration': 8, 'demands': [4, 3, 4]}, {'task': 'T11', 'start': 25, 'end': 27, 'duration': 2, 'demands': [3, 3, 10]}]",35,nl,names
RCPSP,RCPSP,"In our facilities office the morning briefing sounded like a timing game: each room setup takes a set amount of time, ties up a certain number of custodians and pieces of equipment while it’s underway, and some setups can’t start until others are wrapped. The planner’s choice is which minute each setup begins so that, given the limited staff and gear, every room ends up ready as early as possible. You judge a plan by the finish times — pick the latest finish among all setups and that’s when the entire job is done; sooner is better. Must-haves are straightforward: schedule every setup exactly once, never use more resources at the same time than exist, and follow any “after this” ordering rules. The specific list of setups, their durations, and the resource limits follow below.
Here they are: 15 setups, 3 resource types, capacities .
| resource_id | capacity |
|---|---|
| 0 | 11 |
| 1 | 14 |
| 2 | 9 |
| setup_id | setup_duration_minutes | setup_resource_requirements | must_follow_setups |
|---|---|---|---|
| T1 | 2 | 4, 7, 1 | T4, T6 |
| T2 | 7 | 6, 7, 2 | T5, T6, T7 |
| T3 | 4 | 4, 3, 3 | T5, T6 |
| T4 | 9 | 3, 1, 3 | T9, T11 |
| T5 | 5 | 7, 4, 3 | T8, T10 |
| T6 | 2 | 2, 7, 2 | T9 |
| T7 | 3 | 1, 7, 8 | T9, T10 |
| T8 | 2 | 5, 4, 1 | T13 |
| T9 | 7 | 2, 3, 5 | T12 |
| T10 | 1 | 4, 5, 3 | none |
| T11 | 5 | 8, 1, 7 | T13 |
| T12 | 2 | 2, 8, 5 | T14 |
| T13 | 7 | 2, 3, 3 | T14 |
| T14 | 6 | 7, 8, 2 | T15 |
| T15 | 2 | 2, 3, 1 | none |
Keep those capacities and must-follow relations in mind as you pick start minutes so the last finish is as early as possible.
When you send the schedule back, please use a small JSON sketch like this so it's easy to read and check:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just shows a list called ""solution"" where each entry names a setup (the task), and the minute it starts and the minute it finishes. Super simple — think of ""task"" as the setup identifier from the briefing, and ""start"" / ""end"" as whole-minute times.
This is only the shape I expect, not the actual schedule — fill in one object per setup from the instance.
Please 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [11, 14, 9], 'tasks': [{'duration': 2, 'demands': [4, 7, 1], 'successors': [3, 5]}, {'duration': 7, 'demands': [6, 7, 2], 'successors': [4, 5, 6]}, {'duration': 4, 'demands': [4, 3, 3], 'successors': [4, 5]}, {'duration': 9, 'demands': [3, 1, 3], 'successors': [8, 10]}, {'duration': 5, 'demands': [7, 4, 3], 'successors': [7, 9]}, {'duration': 2, 'demands': [2, 7, 2], 'successors': [8]}, {'duration': 3, 'demands': [1, 7, 8], 'successors': [8, 9]}, {'duration': 2, 'demands': [5, 4, 1], 'successors': [12]}, {'duration': 7, 'demands': [2, 3, 5], 'successors': [11]}, {'duration': 1, 'demands': [4, 5, 3], 'successors': []}, {'duration': 5, 'demands': [8, 1, 7], 'successors': [12]}, {'duration': 2, 'demands': [2, 8, 5], 'successors': [13]}, {'duration': 7, 'demands': [2, 3, 3], 'successors': [13]}, {'duration': 6, 'demands': [7, 8, 2], 'successors': [14]}, {'duration': 2, 'demands': [2, 3, 1], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [4, 7, 1]}, {'task': 1, 'start': 2, 'end': 9, 'duration': 7, 'demands': [6, 7, 2]}, {'task': 2, 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 3, 3]}, {'task': 3, 'start': 4, 'end': 13, 'duration': 9, 'demands': [3, 1, 3]}, {'task': 4, 'start': 9, 'end': 14, 'duration': 5, 'demands': [7, 4, 3]}, {'task': 5, 'start': 17, 'end': 19, 'duration': 2, 'demands': [2, 7, 2]}, {'task': 6, 'start': 14, 'end': 17, 'duration': 3, 'demands': [1, 7, 8]}, {'task': 7, 'start': 14, 'end': 16, 'duration': 2, 'demands': [5, 4, 1]}, {'task': 8, 'start': 22, 'end': 29, 'duration': 7, 'demands': [2, 3, 5]}, {'task': 9, 'start': 29, 'end': 30, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 10, 'start': 17, 'end': 22, 'duration': 5, 'demands': [8, 1, 7]}, {'task': 11, 'start': 29, 'end': 31, 'duration': 2, 'demands': [2, 8, 5]}, {'task': 12, 'start': 22, 'end': 29, 'duration': 7, 'demands': [2, 3, 3]}, {'task': 13, 'start': 31, 'end': 37, 'duration': 6, 'demands': [7, 8, 2]}, {'task': 14, 'start': 37, 'end': 39, 'duration': 2, 'demands': [2, 3, 1]}]",39.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 11}, {'resource_id': 1, 'capacity': 14}, {'resource_id': 2, 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [4, 7, 1], 'successors': ['T4', 'T6']}, {'task_id': 'T2', 'duration': 7, 'demands': [6, 7, 2], 'successors': ['T5', 'T6', 'T7']}, {'task_id': 'T3', 'duration': 4, 'demands': [4, 3, 3], 'successors': ['T5', 'T6']}, {'task_id': 'T4', 'duration': 9, 'demands': [3, 1, 3], 'successors': ['T9', 'T11']}, {'task_id': 'T5', 'duration': 5, 'demands': [7, 4, 3], 'successors': ['T8', 'T10']}, {'task_id': 'T6', 'duration': 2, 'demands': [2, 7, 2], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 3, 'demands': [1, 7, 8], 'successors': ['T9', 'T10']}, {'task_id': 'T8', 'duration': 2, 'demands': [5, 4, 1], 'successors': ['T13']}, {'task_id': 'T9', 'duration': 7, 'demands': [2, 3, 5], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 1, 'demands': [4, 5, 3], 'successors': []}, {'task_id': 'T11', 'duration': 5, 'demands': [8, 1, 7], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [2, 8, 5], 'successors': ['T14']}, {'task_id': 'T13', 'duration': 7, 'demands': [2, 3, 3], 'successors': ['T14']}, {'task_id': 'T14', 'duration': 6, 'demands': [7, 8, 2], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 2, 'demands': [2, 3, 1], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [4, 7, 1]}, {'task': 'T2', 'start': 2, 'end': 9, 'duration': 7, 'demands': [6, 7, 2]}, {'task': 'T3', 'start': 0, 'end': 4, 'duration': 4, 'demands': [4, 3, 3]}, {'task': 'T4', 'start': 4, 'end': 13, 'duration': 9, 'demands': [3, 1, 3]}, {'task': 'T5', 'start': 9, 'end': 14, 'duration': 5, 'demands': [7, 4, 3]}, {'task': 'T6', 'start': 17, 'end': 19, 'duration': 2, 'demands': [2, 7, 2]}, {'task': 'T7', 'start': 14, 'end': 17, 'duration': 3, 'demands': [1, 7, 8]}, {'task': 'T8', 'start': 14, 'end': 16, 'duration': 2, 'demands': [5, 4, 1]}, {'task': 'T9', 'start': 22, 'end': 29, 'duration': 7, 'demands': [2, 3, 5]}, {'task': 'T10', 'start': 29, 'end': 30, 'duration': 1, 'demands': [4, 5, 3]}, {'task': 'T11', 'start': 17, 'end': 22, 'duration': 5, 'demands': [8, 1, 7]}, {'task': 'T12', 'start': 29, 'end': 31, 'duration': 2, 'demands': [2, 8, 5]}, {'task': 'T13', 'start': 22, 'end': 29, 'duration': 7, 'demands': [2, 3, 3]}, {'task': 'T14', 'start': 31, 'end': 37, 'duration': 6, 'demands': [7, 8, 2]}, {'task': 'T15', 'start': 37, 'end': 39, 'duration': 2, 'demands': [2, 3, 1]}]",36,markdown_table,0
RCPSP,RCPSP,"Someone on site is juggling the schedule for excavation, foundation, framing, roofing, plumbing, and finishing and has to decide when each should start. Each work item takes a set amount of time and needs a fixed number of hands (and sometimes a crane) while it’s underway. Excavation must be completed before foundation begins, and framing waits on the foundation. Every task must happen exactly once for its full duration, and at no time can the total workers or cranes in use exceed the crew available. The measure of success is straightforward: the earlier the last job finishes, the better — find each job’s finish by adding its duration to its start time, and the project finish is the latest of those. The concrete details are shown below.
Someone on site faces 12 tasks, must track 3 resource types, and has resource capacities .
| resource_id | capacity |
|---|---|
| A | 15 |
| B | 10 |
| C | 8 |
| task_label | task_duration | resource_demands | successor_tasks |
|---|---|---|---|
| T1 | 3 | 4, 6, 3 | T3, T4, T5, T9 |
| T2 | 8 | 9, 2, 2 | T3, T6 |
| T3 | 1 | 8, 1, 7 | T7, T8, T11, T12 |
| T4 | 2 | 8, 9, 4 | T8, T9 |
| T5 | 2 | 2, 4, 2 | T9 |
| T6 | 1 | 4, 4, 8 | T8, T9, T10, T4, T11 |
| T7 | 2 | 4, 3, 4 | T10, T4 |
| T8 | 4 | 6, 1, 7 | T10, T9 |
| T9 | 4 | 4, 2, 6 | T10 |
| T10 | 2 | 2, 4, 5 | T11 |
| T11 | 3 | 2, 2, 3 | none |
| T12 | 3 | 2, 9, 4 | none |
Someone on site should schedule each task so the overall project finish is as early as possible.
If you'd like to give me the schedule in a tidy, machine-friendly way, just follow this JSON shape — nothing fancy, just a list of tasks with their start and end times:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This sketch means: put each work item in the ""solution"" array, use the task identifier exactly as it appears in the instance, and record the numeric start time and the numeric end time (end = start + duration). It's just the expected shape — not the real answer — so fill in the actual task IDs and times when you submit the schedule.
Please don't rename or invent task IDs — use the identifiers from the instance exactly as given.
- 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”.""","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [15, 10, 8], 'tasks': [{'duration': 3, 'demands': [4, 6, 3], 'successors': [2, 3, 4, 8]}, {'duration': 8, 'demands': [9, 2, 2], 'successors': [2, 5]}, {'duration': 1, 'demands': [8, 1, 7], 'successors': [6, 7, 10, 11]}, {'duration': 2, 'demands': [8, 9, 4], 'successors': [7, 8]}, {'duration': 2, 'demands': [2, 4, 2], 'successors': [8]}, {'duration': 1, 'demands': [4, 4, 8], 'successors': [7, 8, 9, 3, 10]}, {'duration': 2, 'demands': [4, 3, 4], 'successors': [9, 3]}, {'duration': 4, 'demands': [6, 1, 7], 'successors': [9, 8]}, {'duration': 4, 'demands': [4, 2, 6], 'successors': [9]}, {'duration': 2, 'demands': [2, 4, 5], 'successors': [10]}, {'duration': 3, 'demands': [2, 2, 3], 'successors': []}, {'duration': 3, 'demands': [2, 9, 4], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 3, 'duration': 3, 'demands': [4, 6, 3]}, {'task': 1, 'start': 0, 'end': 8, 'duration': 8, 'demands': [9, 2, 2]}, {'task': 2, 'start': 8, 'end': 9, 'duration': 1, 'demands': [8, 1, 7]}, {'task': 3, 'start': 12, 'end': 14, 'duration': 2, 'demands': [8, 9, 4]}, {'task': 4, 'start': 3, 'end': 5, 'duration': 2, 'demands': [2, 4, 2]}, {'task': 5, 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 4, 8]}, {'task': 6, 'start': 9, 'end': 11, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 7, 'start': 14, 'end': 18, 'duration': 4, 'demands': [6, 1, 7]}, {'task': 8, 'start': 18, 'end': 22, 'duration': 4, 'demands': [4, 2, 6]}, {'task': 9, 'start': 22, 'end': 24, 'duration': 2, 'demands': [2, 4, 5]}, {'task': 10, 'start': 24, 'end': 27, 'duration': 3, 'demands': [2, 2, 3]}, {'task': 11, 'start': 27, 'end': 30, 'duration': 3, 'demands': [2, 9, 4]}]",30.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 15}, {'resource_id': 'B', 'capacity': 10}, {'resource_id': 'C', 'capacity': 8}], 'task_records': [{'task_id': 'T1', 'duration': 3, 'demands': [4, 6, 3], 'successors': ['T3', 'T4', 'T5', 'T9']}, {'task_id': 'T2', 'duration': 8, 'demands': [9, 2, 2], 'successors': ['T3', 'T6']}, {'task_id': 'T3', 'duration': 1, 'demands': [8, 1, 7], 'successors': ['T7', 'T8', 'T11', 'T12']}, {'task_id': 'T4', 'duration': 2, 'demands': [8, 9, 4], 'successors': ['T8', 'T9']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 4, 2], 'successors': ['T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [4, 4, 8], 'successors': ['T8', 'T9', 'T10', 'T4', 'T11']}, {'task_id': 'T7', 'duration': 2, 'demands': [4, 3, 4], 'successors': ['T10', 'T4']}, {'task_id': 'T8', 'duration': 4, 'demands': [6, 1, 7], 'successors': ['T10', 'T9']}, {'task_id': 'T9', 'duration': 4, 'demands': [4, 2, 6], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 2, 'demands': [2, 4, 5], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 3, 'demands': [2, 2, 3], 'successors': []}, {'task_id': 'T12', 'duration': 3, 'demands': [2, 9, 4], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 3, 'duration': 3, 'demands': [4, 6, 3]}, {'task': 'T2', 'start': 0, 'end': 8, 'duration': 8, 'demands': [9, 2, 2]}, {'task': 'T3', 'start': 8, 'end': 9, 'duration': 1, 'demands': [8, 1, 7]}, {'task': 'T4', 'start': 12, 'end': 14, 'duration': 2, 'demands': [8, 9, 4]}, {'task': 'T5', 'start': 3, 'end': 5, 'duration': 2, 'demands': [2, 4, 2]}, {'task': 'T6', 'start': 11, 'end': 12, 'duration': 1, 'demands': [4, 4, 8]}, {'task': 'T7', 'start': 9, 'end': 11, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 'T8', 'start': 14, 'end': 18, 'duration': 4, 'demands': [6, 1, 7]}, {'task': 'T9', 'start': 18, 'end': 22, 'duration': 4, 'demands': [4, 2, 6]}, {'task': 'T10', 'start': 22, 'end': 24, 'duration': 2, 'demands': [2, 4, 5]}, {'task': 'T11', 'start': 24, 'end': 27, 'duration': 3, 'demands': [2, 2, 3]}, {'task': 'T12', 'start': 27, 'end': 30, 'duration': 3, 'demands': [2, 9, 4]}]",37,markdown_table,names
RCPSP,RCPSP,"Many people think baking is just about recipes, but here it’s about timing: set start times for mixing, oven runs, cooling periods, decorating sessions, and packing so everything runs without overrunning the available ovens and workspace. Every action takes a fixed time, consumes oven or counter spots (which are limited), follows a required order, and must be done once. The point is to have the batch ready sooner rather than later — the finish time is the moment the last job ends, and the best plan is the one that makes that moment as early as possible. Specific durations and resource counts come next below.
Below are the 14 distinct recipe steps to place on the timeline, the 3 limited resource types they compete for, and the available units per type .
| resource_id | capacity |
|---|---|
| 0 | 10 |
| 1 | 8 |
| 2 | 10 |
| step_id | step_duration | resource_demands | successor_steps |
|---|---|---|---|
| T1 | 9 | 7, 1, 1 | T3, T4, T5, T13 |
| T2 | 3 | 5, 2, 6 | T6, T7, T12 |
| T3 | 3 | 10, 8, 7 | T6, T7 |
| T4 | 8 | 4, 4, 2 | T6, T8 |
| T5 | 4 | 4, 4, 4 | T8, T9 |
| T6 | 1 | 4, 3, 2 | T10, T12 |
| T7 | 1 | 3, 4, 6 | T11 |
| T8 | 1 | 5, 2, 3 | T11 |
| T9 | 7 | 8, 1, 8 | T10 |
| T10 | 3 | 1, 7, 7 | T13 |
| T11 | 2 | 3, 4, 2 | T13 |
| T12 | 4 | 9, 3, 6 | none |
| T13 | 9 | 2, 1, 5 | T14 |
| T14 | 4 | 3, 6, 9 | none |
Assign start times so the batch finish—the end of the last step—is as early as possible.
Also, to keep things tidy when you send the plan back, please follow this JSON layout so I can read it easily:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a tiny sketch of the shape I need: each object in the ""solution"" array is one action in the baking process, with ""task"" holding the task identifier, ""start"" the time it begins, and ""end"" the time it finishes. Think of it like a little form: one line per task, with when it starts and when it ends.
One more thing — the JSON above is only the expected format, not the actual schedule. And please use the exact task identifiers from the instance input, with no renaming and no 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"".","{'nr_tasks': 14, 'nr_resources': 3, 'capacities': [10, 8, 10], 'tasks': [{'duration': 9, 'demands': [7, 1, 1], 'successors': [2, 3, 4, 12]}, {'duration': 3, 'demands': [5, 2, 6], 'successors': [5, 6, 11]}, {'duration': 3, 'demands': [10, 8, 7], 'successors': [5, 6]}, {'duration': 8, 'demands': [4, 4, 2], 'successors': [5, 7]}, {'duration': 4, 'demands': [4, 4, 4], 'successors': [7, 8]}, {'duration': 1, 'demands': [4, 3, 2], 'successors': [9, 11]}, {'duration': 1, 'demands': [3, 4, 6], 'successors': [10]}, {'duration': 1, 'demands': [5, 2, 3], 'successors': [10]}, {'duration': 7, 'demands': [8, 1, 8], 'successors': [9]}, {'duration': 3, 'demands': [1, 7, 7], 'successors': [12]}, {'duration': 2, 'demands': [3, 4, 2], 'successors': [12]}, {'duration': 4, 'demands': [9, 3, 6], 'successors': []}, {'duration': 9, 'demands': [2, 1, 5], 'successors': [13]}, {'duration': 4, 'demands': [3, 6, 9], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 9, 'duration': 9, 'demands': [7, 1, 1]}, {'task': 1, 'start': 9, 'end': 12, 'duration': 3, 'demands': [5, 2, 6]}, {'task': 2, 'start': 17, 'end': 20, 'duration': 3, 'demands': [10, 8, 7]}, {'task': 3, 'start': 9, 'end': 17, 'duration': 8, 'demands': [4, 4, 2]}, {'task': 4, 'start': 12, 'end': 16, 'duration': 4, 'demands': [4, 4, 4]}, {'task': 5, 'start': 28, 'end': 29, 'duration': 1, 'demands': [4, 3, 2]}, {'task': 6, 'start': 27, 'end': 28, 'duration': 1, 'demands': [3, 4, 6]}, {'task': 7, 'start': 27, 'end': 28, 'duration': 1, 'demands': [5, 2, 3]}, {'task': 8, 'start': 20, 'end': 27, 'duration': 7, 'demands': [8, 1, 8]}, {'task': 9, 'start': 30, 'end': 33, 'duration': 3, 'demands': [1, 7, 7]}, {'task': 10, 'start': 28, 'end': 30, 'duration': 2, 'demands': [3, 4, 2]}, {'task': 11, 'start': 46, 'end': 50, 'duration': 4, 'demands': [9, 3, 6]}, {'task': 12, 'start': 33, 'end': 42, 'duration': 9, 'demands': [2, 1, 5]}, {'task': 13, 'start': 42, 'end': 46, 'duration': 4, 'demands': [3, 6, 9]}]",50.0,"{'problem_type': 'RCPSP', 'nr_tasks': 14, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 10}, {'resource_id': 1, 'capacity': 8}, {'resource_id': 2, 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 9, 'demands': [7, 1, 1], 'successors': ['T3', 'T4', 'T5', 'T13']}, {'task_id': 'T2', 'duration': 3, 'demands': [5, 2, 6], 'successors': ['T6', 'T7', 'T12']}, {'task_id': 'T3', 'duration': 3, 'demands': [10, 8, 7], 'successors': ['T6', 'T7']}, {'task_id': 'T4', 'duration': 8, 'demands': [4, 4, 2], 'successors': ['T6', 'T8']}, {'task_id': 'T5', 'duration': 4, 'demands': [4, 4, 4], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [4, 3, 2], 'successors': ['T10', 'T12']}, {'task_id': 'T7', 'duration': 1, 'demands': [3, 4, 6], 'successors': ['T11']}, {'task_id': 'T8', 'duration': 1, 'demands': [5, 2, 3], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 7, 'demands': [8, 1, 8], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 3, 'demands': [1, 7, 7], 'successors': ['T13']}, {'task_id': 'T11', 'duration': 2, 'demands': [3, 4, 2], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 4, 'demands': [9, 3, 6], 'successors': []}, {'task_id': 'T13', 'duration': 9, 'demands': [2, 1, 5], 'successors': ['T14']}, {'task_id': 'T14', 'duration': 4, 'demands': [3, 6, 9], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 9, 'duration': 9, 'demands': [7, 1, 1]}, {'task': 'T2', 'start': 9, 'end': 12, 'duration': 3, 'demands': [5, 2, 6]}, {'task': 'T3', 'start': 17, 'end': 20, 'duration': 3, 'demands': [10, 8, 7]}, {'task': 'T4', 'start': 9, 'end': 17, 'duration': 8, 'demands': [4, 4, 2]}, {'task': 'T5', 'start': 12, 'end': 16, 'duration': 4, 'demands': [4, 4, 4]}, {'task': 'T6', 'start': 28, 'end': 29, 'duration': 1, 'demands': [4, 3, 2]}, {'task': 'T7', 'start': 27, 'end': 28, 'duration': 1, 'demands': [3, 4, 6]}, {'task': 'T8', 'start': 27, 'end': 28, 'duration': 1, 'demands': [5, 2, 3]}, {'task': 'T9', 'start': 20, 'end': 27, 'duration': 7, 'demands': [8, 1, 8]}, {'task': 'T10', 'start': 30, 'end': 33, 'duration': 3, 'demands': [1, 7, 7]}, {'task': 'T11', 'start': 28, 'end': 30, 'duration': 2, 'demands': [3, 4, 2]}, {'task': 'T12', 'start': 46, 'end': 50, 'duration': 4, 'demands': [9, 3, 6]}, {'task': 'T13', 'start': 33, 'end': 42, 'duration': 9, 'demands': [2, 1, 5]}, {'task': 'T14', 'start': 42, 'end': 46, 'duration': 4, 'demands': [3, 6, 9]}]",38,markdown_table,0
RCPSP,RCPSP,"A small dev team needed a plan: schedule design, coding, code review, integration testing, and deployment so each job starts at the right moment — each one has a fixed duration and uses a given amount of developer or tester hours while active. The decision is about start times that honor the order (implementation must finish before review, testing follows integration) and avoid booking more hours than the team has available on any day. The clear measure of success is the deployment finish time — earlier completion means a better schedule. Every task must be carried out once in sequence, and team-hours can’t be overused. The full, concrete details are shown below.
Details: 15 tasks, 3 resource types, daily capacities .
T1 runs for 7 days, consumes 3, 3, 3 team-hours per day while active, and must finish before T4, T5 start.
T2 runs for 4 days, consumes 5, 3, 4 team-hours per day while active, and must finish before T4, T5 start.
T3 runs for 1 days, consumes 4, 3, 1 team-hours per day while active, and must finish before T4, T5, T6, T7 start.
T4 runs for 1 days, consumes 3, 1, 4 team-hours per day while active, and must finish before T8, T9 start.
T5 runs for 7 days, consumes 7, 10, 4 team-hours per day while active, and must finish before T8 start.
T6 runs for 4 days, consumes 3, 7, 3 team-hours per day while active, and must finish before T8, T10 start.
T7 runs for 2 days, consumes 2, 8, 6 team-hours per day while active, and must finish before T9, T10 start.
T8 runs for 2 days, consumes 4, 1, 3 team-hours per day while active, and must finish before T11, T12 start.
T9 runs for 3 days, consumes 4, 1, 3 team-hours per day while active, and must finish before none start.
T10 runs for 5 days, consumes 4, 5, 3 team-hours per day while active, and must finish before T11 start.
T11 runs for 1 days, consumes 1, 6, 4 team-hours per day while active, and must finish before T13 start.
T12 runs for 2 days, consumes 3, 1, 2 team-hours per day while active, and must finish before T13 start.
T13 runs for 10 days, consumes 3, 9, 8 team-hours per day while active, and must finish before none start.
T14 runs for 5 days, consumes 4, 2, 5 team-hours per day while active, and must finish before none start.
T15 runs for 2 days, consumes 2, 5, 6 team-hours per day while active, and must finish before none start.
The objective is to minimize the deployment finish time while respecting the daily capacities .
Also, when you send back the schedule, please use a simple JSON layout like this so it's easy to parse:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just a quick sketch of the shape I expect: ""solution"" is a list of task entries; each entry names the task (the exact task identifier from the instance), and gives the start and end times for that task. Think of it like filling out a little form for each job: which job, when it starts, and when it finishes. The block above is only the expected format — not the actual schedule.
Please make sure to use the exact identifiers from the instance input — don't rename tasks 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [14, 10, 12], 'tasks': [{'duration': 7, 'demands': [3, 3, 3], 'successors': [3, 4]}, {'duration': 4, 'demands': [5, 3, 4], 'successors': [3, 4]}, {'duration': 1, 'demands': [4, 3, 1], 'successors': [3, 4, 5, 6]}, {'duration': 1, 'demands': [3, 1, 4], 'successors': [7, 8]}, {'duration': 7, 'demands': [7, 10, 4], 'successors': [7]}, {'duration': 4, 'demands': [3, 7, 3], 'successors': [7, 9]}, {'duration': 2, 'demands': [2, 8, 6], 'successors': [8, 9]}, {'duration': 2, 'demands': [4, 1, 3], 'successors': [10, 11]}, {'duration': 3, 'demands': [4, 1, 3], 'successors': []}, {'duration': 5, 'demands': [4, 5, 3], 'successors': [10]}, {'duration': 1, 'demands': [1, 6, 4], 'successors': [12]}, {'duration': 2, 'demands': [3, 1, 2], 'successors': [12]}, {'duration': 10, 'demands': [3, 9, 8], 'successors': []}, {'duration': 5, 'demands': [4, 2, 5], 'successors': []}, {'duration': 2, 'demands': [2, 5, 6], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 7, 'duration': 7, 'demands': [3, 3, 3]}, {'task': 1, 'start': 0, 'end': 4, 'duration': 4, 'demands': [5, 3, 4]}, {'task': 2, 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 3, 1]}, {'task': 3, 'start': 7, 'end': 8, 'duration': 1, 'demands': [3, 1, 4]}, {'task': 4, 'start': 8, 'end': 15, 'duration': 7, 'demands': [7, 10, 4]}, {'task': 5, 'start': 4, 'end': 8, 'duration': 4, 'demands': [3, 7, 3]}, {'task': 6, 'start': 15, 'end': 17, 'duration': 2, 'demands': [2, 8, 6]}, {'task': 7, 'start': 17, 'end': 19, 'duration': 2, 'demands': [4, 1, 3]}, {'task': 8, 'start': 22, 'end': 25, 'duration': 3, 'demands': [4, 1, 3]}, {'task': 9, 'start': 17, 'end': 22, 'duration': 5, 'demands': [4, 5, 3]}, {'task': 10, 'start': 23, 'end': 24, 'duration': 1, 'demands': [1, 6, 4]}, {'task': 11, 'start': 19, 'end': 21, 'duration': 2, 'demands': [3, 1, 2]}, {'task': 12, 'start': 24, 'end': 34, 'duration': 10, 'demands': [3, 9, 8]}, {'task': 13, 'start': 15, 'end': 20, 'duration': 5, 'demands': [4, 2, 5]}, {'task': 14, 'start': 21, 'end': 23, 'duration': 2, 'demands': [2, 5, 6]}]",34.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': ['A', 'B', 'C'], 'resource_capacities': [{'resource_id': 'A', 'capacity': 14}, {'resource_id': 'B', 'capacity': 10}, {'resource_id': 'C', 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 7, 'demands': [3, 3, 3], 'successors': ['T4', 'T5']}, {'task_id': 'T2', 'duration': 4, 'demands': [5, 3, 4], 'successors': ['T4', 'T5']}, {'task_id': 'T3', 'duration': 1, 'demands': [4, 3, 1], 'successors': ['T4', 'T5', 'T6', 'T7']}, {'task_id': 'T4', 'duration': 1, 'demands': [3, 1, 4], 'successors': ['T8', 'T9']}, {'task_id': 'T5', 'duration': 7, 'demands': [7, 10, 4], 'successors': ['T8']}, {'task_id': 'T6', 'duration': 4, 'demands': [3, 7, 3], 'successors': ['T8', 'T10']}, {'task_id': 'T7', 'duration': 2, 'demands': [2, 8, 6], 'successors': ['T9', 'T10']}, {'task_id': 'T8', 'duration': 2, 'demands': [4, 1, 3], 'successors': ['T11', 'T12']}, {'task_id': 'T9', 'duration': 3, 'demands': [4, 1, 3], 'successors': []}, {'task_id': 'T10', 'duration': 5, 'demands': [4, 5, 3], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 1, 'demands': [1, 6, 4], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [3, 1, 2], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 10, 'demands': [3, 9, 8], 'successors': []}, {'task_id': 'T14', 'duration': 5, 'demands': [4, 2, 5], 'successors': []}, {'task_id': 'T15', 'duration': 2, 'demands': [2, 5, 6], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 7, 'duration': 7, 'demands': [3, 3, 3]}, {'task': 'T2', 'start': 0, 'end': 4, 'duration': 4, 'demands': [5, 3, 4]}, {'task': 'T3', 'start': 0, 'end': 1, 'duration': 1, 'demands': [4, 3, 1]}, {'task': 'T4', 'start': 7, 'end': 8, 'duration': 1, 'demands': [3, 1, 4]}, {'task': 'T5', 'start': 8, 'end': 15, 'duration': 7, 'demands': [7, 10, 4]}, {'task': 'T6', 'start': 4, 'end': 8, 'duration': 4, 'demands': [3, 7, 3]}, {'task': 'T7', 'start': 15, 'end': 17, 'duration': 2, 'demands': [2, 8, 6]}, {'task': 'T8', 'start': 17, 'end': 19, 'duration': 2, 'demands': [4, 1, 3]}, {'task': 'T9', 'start': 22, 'end': 25, 'duration': 3, 'demands': [4, 1, 3]}, {'task': 'T10', 'start': 17, 'end': 22, 'duration': 5, 'demands': [4, 5, 3]}, {'task': 'T11', 'start': 23, 'end': 24, 'duration': 1, 'demands': [1, 6, 4]}, {'task': 'T12', 'start': 19, 'end': 21, 'duration': 2, 'demands': [3, 1, 2]}, {'task': 'T13', 'start': 24, 'end': 34, 'duration': 10, 'demands': [3, 9, 8]}, {'task': 'T14', 'start': 15, 'end': 20, 'duration': 5, 'demands': [4, 2, 5]}, {'task': 'T15', 'start': 21, 'end': 23, 'duration': 2, 'demands': [2, 5, 6]}]",39,nl,names
RCPSP,RCPSP,"Many people forget how many little moving parts a report needs: a diagnostic scan, image processing, a specialist’s review, and finally signing. The decision is to slot start times for those four steps so each waits for the previous to finish, given each step’s fixed length and the limited scanner and specialist hours that each consumes. A smarter plan is simply the one that yields an earlier final sign-off — measured by when that last step completes — and every step has to happen exactly once in order without ever booking more scanner or specialist time than exists. The instance details are right below.
It lists 13 sequential stages, 3 resource types, and resource capacities .
Stage T1 runs for 1 time units, consumes 0, 0, 0 of each resource while active, and must finish before T2, T3, T4 may start.
Stage T2 runs for 1 time units, consumes 2, 8, 4 of each resource while active, and must finish before T5, T6, T7, T8 may start.
Stage T3 runs for 1 time units, consumes 5, 6, 2 of each resource while active, and must finish before T5, T8 may start.
Stage T4 runs for 9 time units, consumes 7, 2, 3 of each resource while active, and must finish before T5, T6, T7, T8 may start.
Stage T5 runs for 5 time units, consumes 5, 1, 7 of each resource while active, and must finish before none may start.
Stage T6 runs for 5 time units, consumes 4, 9, 7 of each resource while active, and must finish before none may start.
Stage T7 runs for 7 time units, consumes 4, 8, 1 of each resource while active, and must finish before none may start.
Stage T8 runs for 7 time units, consumes 3, 8, 5 of each resource while active, and must finish before none may start.
Stage T9 runs for 6 time units, consumes 4, 3, 4 of each resource while active, and must finish before T13 may start.
Stage T10 runs for 2 time units, consumes 9, 5, 4 of each resource while active, and must finish before T12 may start.
Stage T11 runs for 2 time units, consumes 4, 7, 8 of each resource while active, and must finish before T13 may start.
Stage T12 runs for 2 time units, consumes 1, 11, 4 of each resource while active, and must finish before T13 may start.
Stage T13 runs for 1 time units, consumes 0, 0, 0 of each resource while active, and must finish before none may start.
Respect those 13 stages and the 3 capacities so the solver can minimize the final sign-off time.
Oh, and when you send the schedule back, please use this simple JSON shape so I can read it easily:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This is just the form I expect: ""solution"" holds a list of the steps, and each step object has a task identifier plus its start and end times (use the same time units as in the instance). Think of it like a little form you’re filling out — one line per step showing when it begins and when it finishes.
This JSON is only a sketch of the expected shape, not the actual answer. The real schedule should list every task from the instance with concrete start and end numbers.
Also, a quick reminder: all identifiers must be used exactly as they appear in the instance input — no renaming and no 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”.","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [20, 13, 21], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 1, 'demands': [2, 8, 4], 'successors': [4, 5, 6, 7]}, {'duration': 1, 'demands': [5, 6, 2], 'successors': [4, 7]}, {'duration': 9, 'demands': [7, 2, 3], 'successors': [4, 5, 6, 7]}, {'duration': 5, 'demands': [5, 1, 7], 'successors': []}, {'duration': 5, 'demands': [4, 9, 7], 'successors': []}, {'duration': 7, 'demands': [4, 8, 1], 'successors': []}, {'duration': 7, 'demands': [3, 8, 5], 'successors': []}, {'duration': 6, 'demands': [4, 3, 4], 'successors': [12]}, {'duration': 2, 'demands': [9, 5, 4], 'successors': [11]}, {'duration': 2, 'demands': [4, 7, 8], 'successors': [12]}, {'duration': 2, 'demands': [1, 11, 4], 'successors': [12]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 2, 'end': 3, 'duration': 1, 'demands': [2, 8, 4]}, {'task': 2, 'start': 3, 'end': 4, 'duration': 1, 'demands': [5, 6, 2]}, {'task': 3, 'start': 1, 'end': 10, 'duration': 9, 'demands': [7, 2, 3]}, {'task': 4, 'start': 10, 'end': 15, 'duration': 5, 'demands': [5, 1, 7]}, {'task': 5, 'start': 24, 'end': 29, 'duration': 5, 'demands': [4, 9, 7]}, {'task': 6, 'start': 10, 'end': 17, 'duration': 7, 'demands': [4, 8, 1]}, {'task': 7, 'start': 17, 'end': 24, 'duration': 7, 'demands': [3, 8, 5]}, {'task': 8, 'start': 0, 'end': 6, 'duration': 6, 'demands': [4, 3, 4]}, {'task': 9, 'start': 0, 'end': 2, 'duration': 2, 'demands': [9, 5, 4]}, {'task': 10, 'start': 4, 'end': 6, 'duration': 2, 'demands': [4, 7, 8]}, {'task': 11, 'start': 6, 'end': 8, 'duration': 2, 'demands': [1, 11, 4]}, {'task': 12, 'start': 28, 'end': 29, 'duration': 1, 'demands': [0, 0, 0]}]",29.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 20}, {'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 21}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 1, 'demands': [2, 8, 4], 'successors': ['T5', 'T6', 'T7', 'T8']}, {'task_id': 'T3', 'duration': 1, 'demands': [5, 6, 2], 'successors': ['T5', 'T8']}, {'task_id': 'T4', 'duration': 9, 'demands': [7, 2, 3], 'successors': ['T5', 'T6', 'T7', 'T8']}, {'task_id': 'T5', 'duration': 5, 'demands': [5, 1, 7], 'successors': []}, {'task_id': 'T6', 'duration': 5, 'demands': [4, 9, 7], 'successors': []}, {'task_id': 'T7', 'duration': 7, 'demands': [4, 8, 1], 'successors': []}, {'task_id': 'T8', 'duration': 7, 'demands': [3, 8, 5], 'successors': []}, {'task_id': 'T9', 'duration': 6, 'demands': [4, 3, 4], 'successors': ['T13']}, {'task_id': 'T10', 'duration': 2, 'demands': [9, 5, 4], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 2, 'demands': [4, 7, 8], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [1, 11, 4], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 2, 'end': 3, 'duration': 1, 'demands': [2, 8, 4]}, {'task': 'T3', 'start': 3, 'end': 4, 'duration': 1, 'demands': [5, 6, 2]}, {'task': 'T4', 'start': 1, 'end': 10, 'duration': 9, 'demands': [7, 2, 3]}, {'task': 'T5', 'start': 10, 'end': 15, 'duration': 5, 'demands': [5, 1, 7]}, {'task': 'T6', 'start': 24, 'end': 29, 'duration': 5, 'demands': [4, 9, 7]}, {'task': 'T7', 'start': 10, 'end': 17, 'duration': 7, 'demands': [4, 8, 1]}, {'task': 'T8', 'start': 17, 'end': 24, 'duration': 7, 'demands': [3, 8, 5]}, {'task': 'T9', 'start': 0, 'end': 6, 'duration': 6, 'demands': [4, 3, 4]}, {'task': 'T10', 'start': 0, 'end': 2, 'duration': 2, 'demands': [9, 5, 4]}, {'task': 'T11', 'start': 4, 'end': 6, 'duration': 2, 'demands': [4, 7, 8]}, {'task': 'T12', 'start': 6, 'end': 8, 'duration': 2, 'demands': [1, 11, 4]}, {'task': 'T13', 'start': 28, 'end': 29, 'duration': 1, 'demands': [0, 0, 0]}]",40,nl,0
RCPSP,RCPSP,"I like to imagine a busy shop where five things need to happen in order — chassis assembly, then engine installation, then wiring, then testing, and finally certification. The choice to make is when to start each of those steps so they all run in a smooth sequence: some steps can’t start until specific earlier ones finish. Each step always takes a fixed amount of time and needs a certain number of lifts and technicians while it runs, and the lifts and techs are limited, so the schedule can’t ask for more people or lifts at once than exist. The better the plan, the sooner the vehicle is truly finished — measure that by the time the certification step finishes — and every step must be scheduled exactly once, no skipping or doubling up. The concrete details are shown below.
I list the 12 steps to schedule, the 3 resource types they share, and the resource capacities over time: .
| resource_id | capacity |
|---|---|
| 1 | 9 |
| 2 | 9 |
| 3 | 9 |
| step_id | step_duration | resource_demands | successor_steps |
|---|---|---|---|
| T1 | 12 | 4, 2, 3 | T3, T4 |
| T2 | 12 | 7, 1, 8 | T6, T7 |
| T3 | 12 | 4, 8, 2 | T8, T9 |
| T4 | 3 | 5, 9, 2 | T6, T7 |
| T5 | 2 | 2, 8, 4 | T6, T7, T11 |
| T6 | 1 | 2, 3, 2 | T10, T3 |
| T7 | 1 | 5, 2, 6 | none |
| T8 | 6 | 5, 6, 4 | T10 |
| T9 | 2 | 6, 1, 2 | T10 |
| T10 | 2 | 1, 3, 7 | none |
| T11 | 10 | 6, 4, 3 | T12, T8 |
| T12 | 3 | 3, 5, 9 | none |
I’ll use these 12 details and the capacities to plan the schedule so the certification step finishes as early as possible.
Also, when you send the schedule back, it helps to follow a tiny JSON layout so it's easy to read — something casual and predictable like this:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just shows the shape I expect: ""solution"" is a list of task entries, each entry records which task it is and the start and end times for that task. Think of it as a simple form: one line per step, with when it begins and when it wraps up. It's just a sketch of the expected shape, not the actual schedule.
Please make sure every task identifier you use matches exactly what's in the instance input — do not rename identifiers 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [9, 9, 9], 'tasks': [{'duration': 12, 'demands': [4, 2, 3], 'successors': [2, 3]}, {'duration': 12, 'demands': [7, 1, 8], 'successors': [5, 6]}, {'duration': 12, 'demands': [4, 8, 2], 'successors': [7, 8]}, {'duration': 3, 'demands': [5, 9, 2], 'successors': [5, 6]}, {'duration': 2, 'demands': [2, 8, 4], 'successors': [5, 6, 10]}, {'duration': 1, 'demands': [2, 3, 2], 'successors': [9, 2]}, {'duration': 1, 'demands': [5, 2, 6], 'successors': []}, {'duration': 6, 'demands': [5, 6, 4], 'successors': [9]}, {'duration': 2, 'demands': [6, 1, 2], 'successors': [9]}, {'duration': 2, 'demands': [1, 3, 7], 'successors': []}, {'duration': 10, 'demands': [6, 4, 3], 'successors': [11, 7]}, {'duration': 3, 'demands': [3, 5, 9], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 12, 'duration': 12, 'demands': [4, 2, 3]}, {'task': 1, 'start': 12, 'end': 24, 'duration': 12, 'demands': [7, 1, 8]}, {'task': 2, 'start': 39, 'end': 51, 'duration': 12, 'demands': [4, 8, 2]}, {'task': 3, 'start': 24, 'end': 27, 'duration': 3, 'demands': [5, 9, 2]}, {'task': 4, 'start': 27, 'end': 29, 'duration': 2, 'demands': [2, 8, 4]}, {'task': 5, 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 2]}, {'task': 6, 'start': 64, 'end': 65, 'duration': 1, 'demands': [5, 2, 6]}, {'task': 7, 'start': 51, 'end': 57, 'duration': 6, 'demands': [5, 6, 4]}, {'task': 8, 'start': 57, 'end': 59, 'duration': 2, 'demands': [6, 1, 2]}, {'task': 9, 'start': 62, 'end': 64, 'duration': 2, 'demands': [1, 3, 7]}, {'task': 10, 'start': 29, 'end': 39, 'duration': 10, 'demands': [6, 4, 3]}, {'task': 11, 'start': 59, 'end': 62, 'duration': 3, 'demands': [3, 5, 9]}]",65.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 9}, {'resource_id': 2, 'capacity': 9}, {'resource_id': 3, 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 12, 'demands': [4, 2, 3], 'successors': ['T3', 'T4']}, {'task_id': 'T2', 'duration': 12, 'demands': [7, 1, 8], 'successors': ['T6', 'T7']}, {'task_id': 'T3', 'duration': 12, 'demands': [4, 8, 2], 'successors': ['T8', 'T9']}, {'task_id': 'T4', 'duration': 3, 'demands': [5, 9, 2], 'successors': ['T6', 'T7']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 8, 4], 'successors': ['T6', 'T7', 'T11']}, {'task_id': 'T6', 'duration': 1, 'demands': [2, 3, 2], 'successors': ['T10', 'T3']}, {'task_id': 'T7', 'duration': 1, 'demands': [5, 2, 6], 'successors': []}, {'task_id': 'T8', 'duration': 6, 'demands': [5, 6, 4], 'successors': ['T10']}, {'task_id': 'T9', 'duration': 2, 'demands': [6, 1, 2], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 2, 'demands': [1, 3, 7], 'successors': []}, {'task_id': 'T11', 'duration': 10, 'demands': [6, 4, 3], 'successors': ['T12', 'T8']}, {'task_id': 'T12', 'duration': 3, 'demands': [3, 5, 9], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 12, 'duration': 12, 'demands': [4, 2, 3]}, {'task': 'T2', 'start': 12, 'end': 24, 'duration': 12, 'demands': [7, 1, 8]}, {'task': 'T3', 'start': 39, 'end': 51, 'duration': 12, 'demands': [4, 8, 2]}, {'task': 'T4', 'start': 24, 'end': 27, 'duration': 3, 'demands': [5, 9, 2]}, {'task': 'T5', 'start': 27, 'end': 29, 'duration': 2, 'demands': [2, 8, 4]}, {'task': 'T6', 'start': 29, 'end': 30, 'duration': 1, 'demands': [2, 3, 2]}, {'task': 'T7', 'start': 64, 'end': 65, 'duration': 1, 'demands': [5, 2, 6]}, {'task': 'T8', 'start': 51, 'end': 57, 'duration': 6, 'demands': [5, 6, 4]}, {'task': 'T9', 'start': 57, 'end': 59, 'duration': 2, 'demands': [6, 1, 2]}, {'task': 'T10', 'start': 62, 'end': 64, 'duration': 2, 'demands': [1, 3, 7]}, {'task': 'T11', 'start': 29, 'end': 39, 'duration': 10, 'demands': [6, 4, 3]}, {'task': 'T12', 'start': 59, 'end': 62, 'duration': 3, 'demands': [3, 5, 9]}]",41,markdown_table,1
RCPSP,RCPSP,"At the gallery there’s a little choreography to plan: hang the pieces, tweak the lights, attach labels, let the curator do an inspection, then do the opening run-through. Each of those steps takes a known amount of time and consumes a certain number of installers and lighting rigs while it runs, and some steps can’t start until others finish. The planner’s job is to pick start times for each step so each one happens once, the available people and equipment aren’t overused at any moment, and the whole setup completes as early as possible — judged by the clock time when the final step finishes. The specifics — durations, available installers/rigs, and who depends on whom — are listed below.
Here are the 13 steps, the 3 resource types tracked, and the resource capacities .
| resource_id | capacity |
|---|---|
| 0 | 14 |
| 1 | 14 |
| 2 | 12 |
| step_id | step_duration | resource_demands | following_steps |
|---|---|---|---|
| T1 | 10 | 6, 4, 4 | T3, T4, T5, T8 |
| T2 | 9 | 8, 1, 2 | T7, T9 |
| T3 | 6 | 6, 5, 6 | T6, T8 |
| T4 | 4 | 5, 6, 3 | T7, T8, T10 |
| T5 | 4 | 4, 5, 3 | T7, T8 |
| T6 | 2 | 3, 3, 2 | T11 |
| T7 | 8 | 2, 2, 3 | T10 |
| T8 | 2 | 2, 2, 3 | T11 |
| T9 | 15 | 3, 1, 8 | T11, T12, T13 |
| T10 | 1 | 1, 3, 4 | T12, T9 |
| T11 | 11 | 2, 3, 2 | T12 |
| T12 | 4 | 7, 6, 5 | T13 |
| T13 | 1 | 1, 9, 2 | none |
Schedule start times so each of the 13 steps happens once, the capacities are never exceeded, and the whole setup finishes as early as possible.
When you’re ready to hand me the schedule, a simple JSON layout like the one below is perfect — it’s just a tiny form that says which task starts and when it ends.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a little checklist: ""solution"" is the list of steps (each step is an object), ""task"" is the task identifier from the instance, and ""start"" and ""end"" are when that step begins and finishes (using the same time units as the instance). This block is only a sketch of the shape I’m expecting, not your actual answer.
Please make sure to use the exact identifiers from the instance input — no renaming and no 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"".","{'nr_tasks': 13, 'nr_resources': 3, 'capacities': [14, 14, 12], 'tasks': [{'duration': 10, 'demands': [6, 4, 4], 'successors': [2, 3, 4, 7]}, {'duration': 9, 'demands': [8, 1, 2], 'successors': [6, 8]}, {'duration': 6, 'demands': [6, 5, 6], 'successors': [5, 7]}, {'duration': 4, 'demands': [5, 6, 3], 'successors': [6, 7, 9]}, {'duration': 4, 'demands': [4, 5, 3], 'successors': [6, 7]}, {'duration': 2, 'demands': [3, 3, 2], 'successors': [10]}, {'duration': 8, 'demands': [2, 2, 3], 'successors': [9]}, {'duration': 2, 'demands': [2, 2, 3], 'successors': [10]}, {'duration': 15, 'demands': [3, 1, 8], 'successors': [10, 11, 12]}, {'duration': 1, 'demands': [1, 3, 4], 'successors': [11, 8]}, {'duration': 11, 'demands': [2, 3, 2], 'successors': [11]}, {'duration': 4, 'demands': [7, 6, 5], 'successors': [12]}, {'duration': 1, 'demands': [1, 9, 2], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 10, 'duration': 10, 'demands': [6, 4, 4]}, {'task': 1, 'start': 0, 'end': 9, 'duration': 9, 'demands': [8, 1, 2]}, {'task': 2, 'start': 14, 'end': 20, 'duration': 6, 'demands': [6, 5, 6]}, {'task': 3, 'start': 10, 'end': 14, 'duration': 4, 'demands': [5, 6, 3]}, {'task': 4, 'start': 10, 'end': 14, 'duration': 4, 'demands': [4, 5, 3]}, {'task': 5, 'start': 20, 'end': 22, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 6, 'start': 14, 'end': 22, 'duration': 8, 'demands': [2, 2, 3]}, {'task': 7, 'start': 20, 'end': 22, 'duration': 2, 'demands': [2, 2, 3]}, {'task': 8, 'start': 23, 'end': 38, 'duration': 15, 'demands': [3, 1, 8]}, {'task': 9, 'start': 22, 'end': 23, 'duration': 1, 'demands': [1, 3, 4]}, {'task': 10, 'start': 38, 'end': 49, 'duration': 11, 'demands': [2, 3, 2]}, {'task': 11, 'start': 49, 'end': 53, 'duration': 4, 'demands': [7, 6, 5]}, {'task': 12, 'start': 53, 'end': 54, 'duration': 1, 'demands': [1, 9, 2]}]",54.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 14}, {'resource_id': 1, 'capacity': 14}, {'resource_id': 2, 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 10, 'demands': [6, 4, 4], 'successors': ['T3', 'T4', 'T5', 'T8']}, {'task_id': 'T2', 'duration': 9, 'demands': [8, 1, 2], 'successors': ['T7', 'T9']}, {'task_id': 'T3', 'duration': 6, 'demands': [6, 5, 6], 'successors': ['T6', 'T8']}, {'task_id': 'T4', 'duration': 4, 'demands': [5, 6, 3], 'successors': ['T7', 'T8', 'T10']}, {'task_id': 'T5', 'duration': 4, 'demands': [4, 5, 3], 'successors': ['T7', 'T8']}, {'task_id': 'T6', 'duration': 2, 'demands': [3, 3, 2], 'successors': ['T11']}, {'task_id': 'T7', 'duration': 8, 'demands': [2, 2, 3], 'successors': ['T10']}, {'task_id': 'T8', 'duration': 2, 'demands': [2, 2, 3], 'successors': ['T11']}, {'task_id': 'T9', 'duration': 15, 'demands': [3, 1, 8], 'successors': ['T11', 'T12', 'T13']}, {'task_id': 'T10', 'duration': 1, 'demands': [1, 3, 4], 'successors': ['T12', 'T9']}, {'task_id': 'T11', 'duration': 11, 'demands': [2, 3, 2], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 4, 'demands': [7, 6, 5], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [1, 9, 2], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 10, 'duration': 10, 'demands': [6, 4, 4]}, {'task': 'T2', 'start': 0, 'end': 9, 'duration': 9, 'demands': [8, 1, 2]}, {'task': 'T3', 'start': 14, 'end': 20, 'duration': 6, 'demands': [6, 5, 6]}, {'task': 'T4', 'start': 10, 'end': 14, 'duration': 4, 'demands': [5, 6, 3]}, {'task': 'T5', 'start': 10, 'end': 14, 'duration': 4, 'demands': [4, 5, 3]}, {'task': 'T6', 'start': 20, 'end': 22, 'duration': 2, 'demands': [3, 3, 2]}, {'task': 'T7', 'start': 14, 'end': 22, 'duration': 8, 'demands': [2, 2, 3]}, {'task': 'T8', 'start': 20, 'end': 22, 'duration': 2, 'demands': [2, 2, 3]}, {'task': 'T9', 'start': 23, 'end': 38, 'duration': 15, 'demands': [3, 1, 8]}, {'task': 'T10', 'start': 22, 'end': 23, 'duration': 1, 'demands': [1, 3, 4]}, {'task': 'T11', 'start': 38, 'end': 49, 'duration': 11, 'demands': [2, 3, 2]}, {'task': 'T12', 'start': 49, 'end': 53, 'duration': 4, 'demands': [7, 6, 5]}, {'task': 'T13', 'start': 53, 'end': 54, 'duration': 1, 'demands': [1, 9, 2]}]",42,markdown_table,0
RCPSP,RCPSP,"Many people on the team are involved in a pipeline: scanning, metadata entry, quality checks, and finally releasing the digitized items. Every step takes a fixed time and needs a few scanners or catalogers while it’s happening, and some steps can’t start until others are finished. The decision is about when each step should begin so resources never exceed their limits, no task is skipped or duplicated, and the project’s over as soon as possible — that “over” moment is simply when the final task finishes (look at all end times and pick the latest). The specific timings and capacities are listed below.
There are 13 distinct pipeline steps, 1 resource types, and the available capacities for the whole project are .
| resource_id | capacity |
|---|---|
| 1 | 8 |
| step_id | step_duration | resource_usage | downstream_steps |
|---|---|---|---|
| T1 | 1 | 0 | T2, T3, T8, T12 |
| T2 | 4 | 3 | T5 |
| T3 | 4 | 5 | T4, T6 |
| T4 | 1 | 4 | T5 |
| T5 | 3 | 3 | T9 |
| T6 | 1 | 8 | T7 |
| T7 | 5 | 3 | T9 |
| T8 | 3 | 2 | T9 |
| T9 | 1 | 0 | none |
| T10 | 3 | 0 | T11, T4 |
| T11 | 2 | 2 | T3 |
| T12 | 2 | 2 | T2, T8 |
| T13 | 2 | 2 | T12 |
Start times must be chosen so resources never exceed and the project completes when the latest final step finishes.
Also, when you send the schedule back, it's easiest if you stick to a tiny JSON shape like this:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that as a simple form: ""solution"" holds a list of the steps, each entry names which task it is and the start and end times you picked. It's just an example of the shape I expect, not the actual schedule.
Please make sure to 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"".","{'nr_tasks': 13, 'nr_resources': 1, 'capacities': [8], 'tasks': [{'duration': 1, 'demands': [0], 'successors': [1, 2, 7, 11]}, {'duration': 4, 'demands': [3], 'successors': [4]}, {'duration': 4, 'demands': [5], 'successors': [3, 5]}, {'duration': 1, 'demands': [4], 'successors': [4]}, {'duration': 3, 'demands': [3], 'successors': [8]}, {'duration': 1, 'demands': [8], 'successors': [6]}, {'duration': 5, 'demands': [3], 'successors': [8]}, {'duration': 3, 'demands': [2], 'successors': [8]}, {'duration': 1, 'demands': [0], 'successors': []}, {'duration': 3, 'demands': [0], 'successors': [10, 3]}, {'duration': 2, 'demands': [2], 'successors': [2]}, {'duration': 2, 'demands': [2], 'successors': [1, 7]}, {'duration': 2, 'demands': [2], 'successors': [11]}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0]}, {'task': 1, 'start': 4, 'end': 8, 'duration': 4, 'demands': [3]}, {'task': 2, 'start': 5, 'end': 9, 'duration': 4, 'demands': [5]}, {'task': 3, 'start': 10, 'end': 11, 'duration': 1, 'demands': [4]}, {'task': 4, 'start': 11, 'end': 14, 'duration': 3, 'demands': [3]}, {'task': 5, 'start': 9, 'end': 10, 'duration': 1, 'demands': [8]}, {'task': 6, 'start': 10, 'end': 15, 'duration': 5, 'demands': [3]}, {'task': 7, 'start': 11, 'end': 14, 'duration': 3, 'demands': [2]}, {'task': 8, 'start': 15, 'end': 16, 'duration': 1, 'demands': [0]}, {'task': 9, 'start': 0, 'end': 3, 'duration': 3, 'demands': [0]}, {'task': 10, 'start': 3, 'end': 5, 'duration': 2, 'demands': [2]}, {'task': 11, 'start': 2, 'end': 4, 'duration': 2, 'demands': [2]}, {'task': 12, 'start': 0, 'end': 2, 'duration': 2, 'demands': [2]}]",16.0,"{'problem_type': 'RCPSP', 'nr_tasks': 13, 'nr_resources': 1, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13'], 'resources': [1], 'resource_capacities': [{'resource_id': 1, 'capacity': 8}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0], 'successors': ['T2', 'T3', 'T8', 'T12']}, {'task_id': 'T2', 'duration': 4, 'demands': [3], 'successors': ['T5']}, {'task_id': 'T3', 'duration': 4, 'demands': [5], 'successors': ['T4', 'T6']}, {'task_id': 'T4', 'duration': 1, 'demands': [4], 'successors': ['T5']}, {'task_id': 'T5', 'duration': 3, 'demands': [3], 'successors': ['T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [8], 'successors': ['T7']}, {'task_id': 'T7', 'duration': 5, 'demands': [3], 'successors': ['T9']}, {'task_id': 'T8', 'duration': 3, 'demands': [2], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 1, 'demands': [0], 'successors': []}, {'task_id': 'T10', 'duration': 3, 'demands': [0], 'successors': ['T11', 'T4']}, {'task_id': 'T11', 'duration': 2, 'demands': [2], 'successors': ['T3']}, {'task_id': 'T12', 'duration': 2, 'demands': [2], 'successors': ['T2', 'T8']}, {'task_id': 'T13', 'duration': 2, 'demands': [2], 'successors': ['T12']}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0]}, {'task': 'T2', 'start': 4, 'end': 8, 'duration': 4, 'demands': [3]}, {'task': 'T3', 'start': 5, 'end': 9, 'duration': 4, 'demands': [5]}, {'task': 'T4', 'start': 10, 'end': 11, 'duration': 1, 'demands': [4]}, {'task': 'T5', 'start': 11, 'end': 14, 'duration': 3, 'demands': [3]}, {'task': 'T6', 'start': 9, 'end': 10, 'duration': 1, 'demands': [8]}, {'task': 'T7', 'start': 10, 'end': 15, 'duration': 5, 'demands': [3]}, {'task': 'T8', 'start': 11, 'end': 14, 'duration': 3, 'demands': [2]}, {'task': 'T9', 'start': 15, 'end': 16, 'duration': 1, 'demands': [0]}, {'task': 'T10', 'start': 0, 'end': 3, 'duration': 3, 'demands': [0]}, {'task': 'T11', 'start': 3, 'end': 5, 'duration': 2, 'demands': [2]}, {'task': 'T12', 'start': 2, 'end': 4, 'duration': 2, 'demands': [2]}, {'task': 'T13', 'start': 0, 'end': 2, 'duration': 2, 'demands': [2]}]",43,markdown_table,1
RCPSP,RCPSP,"We’re looking at a typical maintenance cycle: first a safety walk-through, then ordering parts, followed by replacing worn components, calibrating the gear, and a final verification pass. Each activity lasts a set amount of time and needs inspectors and a limited number of specialized tools while it’s happening, and some activities have to wait for others to finish. The plan is to set the start time for each activity so every item is done once (no skipping or doubling up), we never overbook inspectors or tools at the same time, and the entire cycle completes as early as possible — the finish time being when the last task ends. The exact task times, resource limits, and required order are listed below.
{
""total_tasks"": 12,
""resource_types_count"": 3,
""resources"": [
0,
1,
2
],
""resource_capacities"": [
{
""resource_id"": 0,
""capacity"": 9
},
{
""resource_id"": 1,
""capacity"": 11
},
{
""resource_id"": 2,
""capacity"": 10
}
],
""tasks"": [
{
""activity_id"": ""T1"",
""activity_duration"": 2,
""activity_resource_demands"": [
5,
7,
4
],
""successor_activity_ids"": [
""T3"",
""T4"",
""T10"",
""T11""
]
},
{
""activity_id"": ""T2"",
""activity_duration"": 3,
""activity_resource_demands"": [
6,
1,
5
],
""successor_activity_ids"": [
""T5"",
""T6""
]
},
{
""activity_id"": ""T3"",
""activity_duration"": 2,
""activity_resource_demands"": [
2,
8,
1
],
""successor_activity_ids"": [
""T7"",
""T8"",
""T10""
]
},
{
""activity_id"": ""T4"",
""activity_duration"": 4,
""activity_resource_demands"": [
1,
5,
5
],
""successor_activity_ids"": [
""T5"",
""T6"",
""T3"",
""T8"",
""T10""
]
},
{
""activity_id"": ""T5"",
""activity_duration"": 6,
""activity_resource_demands"": [
4,
1,
4
],
""successor_activity_ids"": [
""T8""
]
},
{
""activity_id"": ""T6"",
""activity_duration"": 3,
""activity_resource_demands"": [
6,
3,
2
],
""successor_activity_ids"": [
""T9""
]
},
{
""activity_id"": ""T7"",
""activity_duration"": 1,
""activity_resource_demands"": [
2,
2,
2
],
""successor_activity_ids"": [
""T9"",
""T2""
]
},
{
""activity_id"": ""T8"",
""activity_duration"": 5,
""activity_resource_demands"": [
8,
1,
6
],
""successor_activity_ids"": [
""T10"",
""T11""
]
},
{
""activity_id"": ""T9"",
""activity_duration"": 15,
""activity_resource_demands"": [
1,
4,
5
],
""successor_activity_ids"": [
""T11""
]
},
{
""activity_id"": ""T10"",
""activity_duration"": 1,
""activity_resource_demands"": [
7,
3,
4
],
""successor_activity_ids"": [
""T11""
]
},
{
""activity_id"": ""T11"",
""activity_duration"": 2,
""activity_resource_demands"": [
6,
5,
3
],
""successor_activity_ids"": []
},
{
""activity_id"": ""T12"",
""activity_duration"": 3,
""activity_resource_demands"": [
2,
10,
4
],
""successor_activity_ids"": []
}
]
}
You can just hand the schedule back in a tiny JSON snippet like this — one ""solution"" array with an entry per activity:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This shows the shape I expect: each object in the solution list is one activity, ""task"" is that activity's identifier, ""start"" is when it begins, and ""end"" is when it finishes. Think of it like a simple to-do list with start/end times — nothing fancy. This is just a sketch of the expected format, not the actual schedule.
Please make sure to 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [9, 11, 10], 'tasks': [{'duration': 2, 'demands': [5, 7, 4], 'successors': [2, 3, 9, 10]}, {'duration': 3, 'demands': [6, 1, 5], 'successors': [4, 5]}, {'duration': 2, 'demands': [2, 8, 1], 'successors': [6, 7, 9]}, {'duration': 4, 'demands': [1, 5, 5], 'successors': [4, 5, 2, 7, 9]}, {'duration': 6, 'demands': [4, 1, 4], 'successors': [7]}, {'duration': 3, 'demands': [6, 3, 2], 'successors': [8]}, {'duration': 1, 'demands': [2, 2, 2], 'successors': [8, 1]}, {'duration': 5, 'demands': [8, 1, 6], 'successors': [9, 10]}, {'duration': 15, 'demands': [1, 4, 5], 'successors': [10]}, {'duration': 1, 'demands': [7, 3, 4], 'successors': [10]}, {'duration': 2, 'demands': [6, 5, 3], 'successors': []}, {'duration': 3, 'demands': [2, 10, 4], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 2, 'duration': 2, 'demands': [5, 7, 4]}, {'task': 1, 'start': 9, 'end': 12, 'duration': 3, 'demands': [6, 1, 5]}, {'task': 2, 'start': 6, 'end': 8, 'duration': 2, 'demands': [2, 8, 1]}, {'task': 3, 'start': 2, 'end': 6, 'duration': 4, 'demands': [1, 5, 5]}, {'task': 4, 'start': 15, 'end': 21, 'duration': 6, 'demands': [4, 1, 4]}, {'task': 5, 'start': 12, 'end': 15, 'duration': 3, 'demands': [6, 3, 2]}, {'task': 6, 'start': 8, 'end': 9, 'duration': 1, 'demands': [2, 2, 2]}, {'task': 7, 'start': 30, 'end': 35, 'duration': 5, 'demands': [8, 1, 6]}, {'task': 8, 'start': 15, 'end': 30, 'duration': 15, 'demands': [1, 4, 5]}, {'task': 9, 'start': 35, 'end': 36, 'duration': 1, 'demands': [7, 3, 4]}, {'task': 10, 'start': 36, 'end': 38, 'duration': 2, 'demands': [6, 5, 3]}, {'task': 11, 'start': 9, 'end': 12, 'duration': 3, 'demands': [2, 10, 4]}]",38.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 9}, {'resource_id': 1, 'capacity': 11}, {'resource_id': 2, 'capacity': 10}], 'task_records': [{'task_id': 'T1', 'duration': 2, 'demands': [5, 7, 4], 'successors': ['T3', 'T4', 'T10', 'T11']}, {'task_id': 'T2', 'duration': 3, 'demands': [6, 1, 5], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 2, 'demands': [2, 8, 1], 'successors': ['T7', 'T8', 'T10']}, {'task_id': 'T4', 'duration': 4, 'demands': [1, 5, 5], 'successors': ['T5', 'T6', 'T3', 'T8', 'T10']}, {'task_id': 'T5', 'duration': 6, 'demands': [4, 1, 4], 'successors': ['T8']}, {'task_id': 'T6', 'duration': 3, 'demands': [6, 3, 2], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 1, 'demands': [2, 2, 2], 'successors': ['T9', 'T2']}, {'task_id': 'T8', 'duration': 5, 'demands': [8, 1, 6], 'successors': ['T10', 'T11']}, {'task_id': 'T9', 'duration': 15, 'demands': [1, 4, 5], 'successors': ['T11']}, {'task_id': 'T10', 'duration': 1, 'demands': [7, 3, 4], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [6, 5, 3], 'successors': []}, {'task_id': 'T12', 'duration': 3, 'demands': [2, 10, 4], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 2, 'duration': 2, 'demands': [5, 7, 4]}, {'task': 'T2', 'start': 9, 'end': 12, 'duration': 3, 'demands': [6, 1, 5]}, {'task': 'T3', 'start': 6, 'end': 8, 'duration': 2, 'demands': [2, 8, 1]}, {'task': 'T4', 'start': 2, 'end': 6, 'duration': 4, 'demands': [1, 5, 5]}, {'task': 'T5', 'start': 15, 'end': 21, 'duration': 6, 'demands': [4, 1, 4]}, {'task': 'T6', 'start': 12, 'end': 15, 'duration': 3, 'demands': [6, 3, 2]}, {'task': 'T7', 'start': 8, 'end': 9, 'duration': 1, 'demands': [2, 2, 2]}, {'task': 'T8', 'start': 30, 'end': 35, 'duration': 5, 'demands': [8, 1, 6]}, {'task': 'T9', 'start': 15, 'end': 30, 'duration': 15, 'demands': [1, 4, 5]}, {'task': 'T10', 'start': 35, 'end': 36, 'duration': 1, 'demands': [7, 3, 4]}, {'task': 'T11', 'start': 36, 'end': 38, 'duration': 2, 'demands': [6, 5, 3]}, {'task': 'T12', 'start': 9, 'end': 12, 'duration': 3, 'demands': [2, 10, 4]}]",44,json,0
RCPSP,RCPSP,"Recently a shop had to plan five steps — primer, main coat, drying, touch-up, sealing — where each step has a fixed length and requires certain painters and rack spots while it’s running. The planner’s job is to set start times so the natural order is kept (some steps can’t begin until others end) and at no time are there more painters or racks in use than the shop has. The best way is the one that gets the entire job fully wrapped up earliest — compare schedules by the time the final sealing finishes. No task can be skipped or repeated; the exact durations and resource availability are given below.
# total_steps=12
# resource_types=3
# resources=0, 1, 2
resource_id,capacity
0,13
1,8
2,9
step_id,step_duration,step_demands,successor_steps
T1,1,""0, 0, 0"",""T2, T3, T7, T9""
T2,4,""0, 8, 0"",""T8""
T3,2,""0, 0, 4"",""T8, T6""
T4,4,""9, 6, 0"",""T7, T8, T10""
T5,2,""2, 1, 0"",""T10, T12, T11""
T6,1,""4, 2, 6"",""T10, T11""
T7,2,""13, 2, 0"",""T11, T5, T3""
T8,1,""5, 0, 1"",""T9""
T9,1,""0, 0, 4"",""T12, T5""
T10,1,""4, 1, 2"",""T12, T11""
T11,2,""5, 1, 4"",""T12""
T12,1,""0, 0, 0"",""none""
When you send the final schedule back, just use a simple JSON shape like this — easy to read and copy-paste.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Here ""solution"" is a list of the scheduled steps. Each item says which task (that task id goes in task), and the numeric start and end times for that task. Think of it like filling out a little form for each step: which step, when it starts, when it finishes. This block is just a sketch of the shape I need, not the actual schedule.
Please make sure to use the exact identifiers from the instance input — no renaming and no 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [13, 8, 9], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 6, 8]}, {'duration': 4, 'demands': [0, 8, 0], 'successors': [7]}, {'duration': 2, 'demands': [0, 0, 4], 'successors': [7, 5]}, {'duration': 4, 'demands': [9, 6, 0], 'successors': [6, 7, 9]}, {'duration': 2, 'demands': [2, 1, 0], 'successors': [9, 11, 10]}, {'duration': 1, 'demands': [4, 2, 6], 'successors': [9, 10]}, {'duration': 2, 'demands': [13, 2, 0], 'successors': [10, 4, 2]}, {'duration': 1, 'demands': [5, 0, 1], 'successors': [8]}, {'duration': 1, 'demands': [0, 0, 4], 'successors': [11, 4]}, {'duration': 1, 'demands': [4, 1, 2], 'successors': [11, 10]}, {'duration': 2, 'demands': [5, 1, 4], 'successors': [11]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 6, 'end': 10, 'duration': 4, 'demands': [0, 8, 0]}, {'task': 2, 'start': 6, 'end': 8, 'duration': 2, 'demands': [0, 0, 4]}, {'task': 3, 'start': 0, 'end': 4, 'duration': 4, 'demands': [9, 6, 0]}, {'task': 4, 'start': 12, 'end': 14, 'duration': 2, 'demands': [2, 1, 0]}, {'task': 5, 'start': 10, 'end': 11, 'duration': 1, 'demands': [4, 2, 6]}, {'task': 6, 'start': 4, 'end': 6, 'duration': 2, 'demands': [13, 2, 0]}, {'task': 7, 'start': 10, 'end': 11, 'duration': 1, 'demands': [5, 0, 1]}, {'task': 8, 'start': 11, 'end': 12, 'duration': 1, 'demands': [0, 0, 4]}, {'task': 9, 'start': 14, 'end': 15, 'duration': 1, 'demands': [4, 1, 2]}, {'task': 10, 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 1, 4]}, {'task': 11, 'start': 17, 'end': 18, 'duration': 1, 'demands': [0, 0, 0]}]",18.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 13}, {'resource_id': 1, 'capacity': 8}, {'resource_id': 2, 'capacity': 9}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T7', 'T9']}, {'task_id': 'T2', 'duration': 4, 'demands': [0, 8, 0], 'successors': ['T8']}, {'task_id': 'T3', 'duration': 2, 'demands': [0, 0, 4], 'successors': ['T8', 'T6']}, {'task_id': 'T4', 'duration': 4, 'demands': [9, 6, 0], 'successors': ['T7', 'T8', 'T10']}, {'task_id': 'T5', 'duration': 2, 'demands': [2, 1, 0], 'successors': ['T10', 'T12', 'T11']}, {'task_id': 'T6', 'duration': 1, 'demands': [4, 2, 6], 'successors': ['T10', 'T11']}, {'task_id': 'T7', 'duration': 2, 'demands': [13, 2, 0], 'successors': ['T11', 'T5', 'T3']}, {'task_id': 'T8', 'duration': 1, 'demands': [5, 0, 1], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 1, 'demands': [0, 0, 4], 'successors': ['T12', 'T5']}, {'task_id': 'T10', 'duration': 1, 'demands': [4, 1, 2], 'successors': ['T12', 'T11']}, {'task_id': 'T11', 'duration': 2, 'demands': [5, 1, 4], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 6, 'end': 10, 'duration': 4, 'demands': [0, 8, 0]}, {'task': 'T3', 'start': 6, 'end': 8, 'duration': 2, 'demands': [0, 0, 4]}, {'task': 'T4', 'start': 0, 'end': 4, 'duration': 4, 'demands': [9, 6, 0]}, {'task': 'T5', 'start': 12, 'end': 14, 'duration': 2, 'demands': [2, 1, 0]}, {'task': 'T6', 'start': 10, 'end': 11, 'duration': 1, 'demands': [4, 2, 6]}, {'task': 'T7', 'start': 4, 'end': 6, 'duration': 2, 'demands': [13, 2, 0]}, {'task': 'T8', 'start': 10, 'end': 11, 'duration': 1, 'demands': [5, 0, 1]}, {'task': 'T9', 'start': 11, 'end': 12, 'duration': 1, 'demands': [0, 0, 4]}, {'task': 'T10', 'start': 14, 'end': 15, 'duration': 1, 'demands': [4, 1, 2]}, {'task': 'T11', 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 1, 4]}, {'task': 'T12', 'start': 17, 'end': 18, 'duration': 1, 'demands': [0, 0, 0]}]",45,csv,0
RCPSP,RCPSP,"Recently the lab filled up with overlapping student experiments, and the instructor needs to slot start times for each activity. Every step takes a fixed amount of time, requires some of our limited benches or instruments while it runs, and a few steps are chained behind others. The plan has to make sure every activity happens once, no bench is double-booked, and dependent steps wait their turn, so that all projects finish as soon as possible. To compare plans, simply check the finishing time of the last scheduled activity — a smaller finishing time means a tighter, better schedule. The concrete schedule inputs (tasks, durations, resources, dependencies) are shown below.
Here are those inputs: 14 activities, 3 resource types, capacities .
| resource_id | capacity |
|---|---|
| 1 | 7 |
| 2 | 8 |
| 3 | 7 |
| activity_id | activity_duration | resource_demands | successor_activities |
|---|---|---|---|
| T1 | 1 | 0, 0, 0 | T2, T3, T5 |
| T2 | 5 | 4, 3, 2 | T4, T5 |
| T3 | 9 | 4, 2, 2 | T8, T7 |
| T4 | 4 | 4, 1, 3 | T10, T14 |
| T5 | 3 | 3, 6, 2 | T6, T7, T11 |
| T6 | 6 | 2, 0, 3 | T11, T4, T3 |
| T7 | 5 | 2, 1, 2 | T14 |
| T8 | 6 | 4, 1, 2 | T9 |
| T9 | 9 | 3, 3, 3 | T13, T7, T4 |
| T10 | 5 | 2, 2, 3 | T11 |
| T11 | 4 | 4, 1, 0 | T12, T13 |
| T12 | 3 | 7, 7, 1 | T13 |
| T13 | 1 | 0, 0, 0 | none |
| T14 | 3 | 0, 0, 0 | none |
We must schedule all 14 activities without exceeding capacities so the final finishing time is as small as possible.
Oh, and when you send the schedule back, please use this simple JSON shape so it's easy to parse and compare:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just shows a list of scheduled activities: each entry assigns a task its start time and end time. Think of ""task"" as the exact activity label from the plan, and ""start""/""end"" as the times (in the same units used in the instance) when that activity begins and finishes. The block above is just a sketch of the expected shape — don't treat it as the actual schedule.
Please make sure you use the exact task identifiers given 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”.","{'nr_tasks': 14, 'nr_resources': 3, 'capacities': [7, 8, 7], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 4]}, {'duration': 5, 'demands': [4, 3, 2], 'successors': [3, 4]}, {'duration': 9, 'demands': [4, 2, 2], 'successors': [7, 6]}, {'duration': 4, 'demands': [4, 1, 3], 'successors': [9, 13]}, {'duration': 3, 'demands': [3, 6, 2], 'successors': [5, 6, 10]}, {'duration': 6, 'demands': [2, 0, 3], 'successors': [10, 3, 2]}, {'duration': 5, 'demands': [2, 1, 2], 'successors': [13]}, {'duration': 6, 'demands': [4, 1, 2], 'successors': [8]}, {'duration': 9, 'demands': [3, 3, 3], 'successors': [12, 6, 3]}, {'duration': 5, 'demands': [2, 2, 3], 'successors': [10]}, {'duration': 4, 'demands': [4, 1, 0], 'successors': [11, 12]}, {'duration': 3, 'demands': [7, 7, 1], 'successors': [12]}, {'duration': 1, 'demands': [0, 0, 0], 'successors': []}, {'duration': 3, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 1, 'end': 6, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 2, 'start': 15, 'end': 24, 'duration': 9, 'demands': [4, 2, 2]}, {'task': 3, 'start': 39, 'end': 43, 'duration': 4, 'demands': [4, 1, 3]}, {'task': 4, 'start': 6, 'end': 9, 'duration': 3, 'demands': [3, 6, 2]}, {'task': 5, 'start': 9, 'end': 15, 'duration': 6, 'demands': [2, 0, 3]}, {'task': 6, 'start': 39, 'end': 44, 'duration': 5, 'demands': [2, 1, 2]}, {'task': 7, 'start': 24, 'end': 30, 'duration': 6, 'demands': [4, 1, 2]}, {'task': 8, 'start': 30, 'end': 39, 'duration': 9, 'demands': [3, 3, 3]}, {'task': 9, 'start': 43, 'end': 48, 'duration': 5, 'demands': [2, 2, 3]}, {'task': 10, 'start': 48, 'end': 52, 'duration': 4, 'demands': [4, 1, 0]}, {'task': 11, 'start': 52, 'end': 55, 'duration': 3, 'demands': [7, 7, 1]}, {'task': 12, 'start': 55, 'end': 56, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 13, 'start': 53, 'end': 56, 'duration': 3, 'demands': [0, 0, 0]}]",56.0,"{'problem_type': 'RCPSP', 'nr_tasks': 14, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 7}, {'resource_id': 2, 'capacity': 8}, {'resource_id': 3, 'capacity': 7}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T5']}, {'task_id': 'T2', 'duration': 5, 'demands': [4, 3, 2], 'successors': ['T4', 'T5']}, {'task_id': 'T3', 'duration': 9, 'demands': [4, 2, 2], 'successors': ['T8', 'T7']}, {'task_id': 'T4', 'duration': 4, 'demands': [4, 1, 3], 'successors': ['T10', 'T14']}, {'task_id': 'T5', 'duration': 3, 'demands': [3, 6, 2], 'successors': ['T6', 'T7', 'T11']}, {'task_id': 'T6', 'duration': 6, 'demands': [2, 0, 3], 'successors': ['T11', 'T4', 'T3']}, {'task_id': 'T7', 'duration': 5, 'demands': [2, 1, 2], 'successors': ['T14']}, {'task_id': 'T8', 'duration': 6, 'demands': [4, 1, 2], 'successors': ['T9']}, {'task_id': 'T9', 'duration': 9, 'demands': [3, 3, 3], 'successors': ['T13', 'T7', 'T4']}, {'task_id': 'T10', 'duration': 5, 'demands': [2, 2, 3], 'successors': ['T11']}, {'task_id': 'T11', 'duration': 4, 'demands': [4, 1, 0], 'successors': ['T12', 'T13']}, {'task_id': 'T12', 'duration': 3, 'demands': [7, 7, 1], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [0, 0, 0], 'successors': []}, {'task_id': 'T14', 'duration': 3, 'demands': [0, 0, 0], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 1, 'end': 6, 'duration': 5, 'demands': [4, 3, 2]}, {'task': 'T3', 'start': 15, 'end': 24, 'duration': 9, 'demands': [4, 2, 2]}, {'task': 'T4', 'start': 39, 'end': 43, 'duration': 4, 'demands': [4, 1, 3]}, {'task': 'T5', 'start': 6, 'end': 9, 'duration': 3, 'demands': [3, 6, 2]}, {'task': 'T6', 'start': 9, 'end': 15, 'duration': 6, 'demands': [2, 0, 3]}, {'task': 'T7', 'start': 39, 'end': 44, 'duration': 5, 'demands': [2, 1, 2]}, {'task': 'T8', 'start': 24, 'end': 30, 'duration': 6, 'demands': [4, 1, 2]}, {'task': 'T9', 'start': 30, 'end': 39, 'duration': 9, 'demands': [3, 3, 3]}, {'task': 'T10', 'start': 43, 'end': 48, 'duration': 5, 'demands': [2, 2, 3]}, {'task': 'T11', 'start': 48, 'end': 52, 'duration': 4, 'demands': [4, 1, 0]}, {'task': 'T12', 'start': 52, 'end': 55, 'duration': 3, 'demands': [7, 7, 1]}, {'task': 'T13', 'start': 55, 'end': 56, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T14', 'start': 53, 'end': 56, 'duration': 3, 'demands': [0, 0, 0]}]",46,markdown_table,1
RCPSP,RCPSP,"Someone needs to line up the whole test campaign by setting start times for each run. Each run has a fixed duration and consumes one or more of the lab’s limited chambers or rigs while it’s running, and some runs are dependent on earlier ones finishing first. The aim is simple: get the last test done as early as possible — the campaign’s length is the time when that final run ends, and shorter is better. All tests must be scheduled exactly once and the equipment must never be oversubscribed. The specific runs, durations, dependencies and resource limits are shown below.
Here are the 12 test runs, the 3 equipment types, and the equipment capacities per type: .
Run T1 runs for 8 time units, consumes 2, 5, 2 of the equipment, and must finish before successor runs T3, T4, T6 can start.
Run T2 runs for 3 time units, consumes 7, 1, 3 of the equipment, and must finish before successor runs T6, T7, T12 can start.
Run T3 runs for 8 time units, consumes 6, 4, 3 of the equipment, and must finish before successor runs T5, T6, T4 can start.
Run T4 runs for 1 time units, consumes 3, 7, 6 of the equipment, and must finish before successor runs T5, T7, T11 can start.
Run T5 runs for 3 time units, consumes 4, 1, 1 of the equipment, and must finish before successor runs T8, T9 can start.
Run T6 runs for 1 time units, consumes 2, 4, 6 of the equipment, and must finish before successor runs T9 can start.
Run T7 runs for 6 time units, consumes 5, 2, 3 of the equipment, and must finish before successor runs none can start.
Run T8 runs for 10 time units, consumes 3, 1, 2 of the equipment, and must finish before successor runs T11, T9 can start.
Run T9 runs for 3 time units, consumes 1, 6, 3 of the equipment, and must finish before successor runs T10 can start.
Run T10 runs for 2 time units, consumes 4, 3, 8 of the equipment, and must finish before successor runs T12 can start.
Run T11 runs for 1 time units, consumes 5, 3, 3 of the equipment, and must finish before successor runs T10 can start.
Run T12 runs for 1 time units, consumes 2, 11, 3 of the equipment, and must finish before successor runs T7 can start.
Someone must schedule each run exactly once without oversubscribing equipment; the aim is to complete the campaign (finish the last run) as early as possible.
Quick note on how I’d like the schedule returned: please use this simple JSON layout for the reply so it’s easy to read and check.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of that JSON like a little form: ""solution"" is the list of all the scheduled runs; each entry names the run (""task""), when it begins (""start"") and when it finishes (""end""). Keep it light — this block is just the shape I expect, not the actual schedule.
Please use the exact identifiers from the instance input — don’t rename anything and don’t introduce 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”.""","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [13, 13, 13], 'tasks': [{'duration': 8, 'demands': [2, 5, 2], 'successors': [2, 3, 5]}, {'duration': 3, 'demands': [7, 1, 3], 'successors': [5, 6, 11]}, {'duration': 8, 'demands': [6, 4, 3], 'successors': [4, 5, 3]}, {'duration': 1, 'demands': [3, 7, 6], 'successors': [4, 6, 10]}, {'duration': 3, 'demands': [4, 1, 1], 'successors': [7, 8]}, {'duration': 1, 'demands': [2, 4, 6], 'successors': [8]}, {'duration': 6, 'demands': [5, 2, 3], 'successors': []}, {'duration': 10, 'demands': [3, 1, 2], 'successors': [10, 8]}, {'duration': 3, 'demands': [1, 6, 3], 'successors': [9]}, {'duration': 2, 'demands': [4, 3, 8], 'successors': [11]}, {'duration': 1, 'demands': [5, 3, 3], 'successors': [9]}, {'duration': 1, 'demands': [2, 11, 3], 'successors': [6]}]}","[{'task': 0, 'start': 0, 'end': 8, 'duration': 8, 'demands': [2, 5, 2]}, {'task': 1, 'start': 0, 'end': 3, 'duration': 3, 'demands': [7, 1, 3]}, {'task': 2, 'start': 8, 'end': 16, 'duration': 8, 'demands': [6, 4, 3]}, {'task': 3, 'start': 16, 'end': 17, 'duration': 1, 'demands': [3, 7, 6]}, {'task': 4, 'start': 17, 'end': 20, 'duration': 3, 'demands': [4, 1, 1]}, {'task': 5, 'start': 16, 'end': 17, 'duration': 1, 'demands': [2, 4, 6]}, {'task': 6, 'start': 36, 'end': 42, 'duration': 6, 'demands': [5, 2, 3]}, {'task': 7, 'start': 20, 'end': 30, 'duration': 10, 'demands': [3, 1, 2]}, {'task': 8, 'start': 30, 'end': 33, 'duration': 3, 'demands': [1, 6, 3]}, {'task': 9, 'start': 33, 'end': 35, 'duration': 2, 'demands': [4, 3, 8]}, {'task': 10, 'start': 30, 'end': 31, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 11, 'start': 35, 'end': 36, 'duration': 1, 'demands': [2, 11, 3]}]",42.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 13}, {'resource_id': 2, 'capacity': 13}, {'resource_id': 3, 'capacity': 13}], 'task_records': [{'task_id': 'T1', 'duration': 8, 'demands': [2, 5, 2], 'successors': ['T3', 'T4', 'T6']}, {'task_id': 'T2', 'duration': 3, 'demands': [7, 1, 3], 'successors': ['T6', 'T7', 'T12']}, {'task_id': 'T3', 'duration': 8, 'demands': [6, 4, 3], 'successors': ['T5', 'T6', 'T4']}, {'task_id': 'T4', 'duration': 1, 'demands': [3, 7, 6], 'successors': ['T5', 'T7', 'T11']}, {'task_id': 'T5', 'duration': 3, 'demands': [4, 1, 1], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [2, 4, 6], 'successors': ['T9']}, {'task_id': 'T7', 'duration': 6, 'demands': [5, 2, 3], 'successors': []}, {'task_id': 'T8', 'duration': 10, 'demands': [3, 1, 2], 'successors': ['T11', 'T9']}, {'task_id': 'T9', 'duration': 3, 'demands': [1, 6, 3], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 2, 'demands': [4, 3, 8], 'successors': ['T12']}, {'task_id': 'T11', 'duration': 1, 'demands': [5, 3, 3], 'successors': ['T10']}, {'task_id': 'T12', 'duration': 1, 'demands': [2, 11, 3], 'successors': ['T7']}]}","[{'task': 'T1', 'start': 0, 'end': 8, 'duration': 8, 'demands': [2, 5, 2]}, {'task': 'T2', 'start': 0, 'end': 3, 'duration': 3, 'demands': [7, 1, 3]}, {'task': 'T3', 'start': 8, 'end': 16, 'duration': 8, 'demands': [6, 4, 3]}, {'task': 'T4', 'start': 16, 'end': 17, 'duration': 1, 'demands': [3, 7, 6]}, {'task': 'T5', 'start': 17, 'end': 20, 'duration': 3, 'demands': [4, 1, 1]}, {'task': 'T6', 'start': 16, 'end': 17, 'duration': 1, 'demands': [2, 4, 6]}, {'task': 'T7', 'start': 36, 'end': 42, 'duration': 6, 'demands': [5, 2, 3]}, {'task': 'T8', 'start': 20, 'end': 30, 'duration': 10, 'demands': [3, 1, 2]}, {'task': 'T9', 'start': 30, 'end': 33, 'duration': 3, 'demands': [1, 6, 3]}, {'task': 'T10', 'start': 33, 'end': 35, 'duration': 2, 'demands': [4, 3, 8]}, {'task': 'T11', 'start': 30, 'end': 31, 'duration': 1, 'demands': [5, 3, 3]}, {'task': 'T12', 'start': 35, 'end': 36, 'duration': 1, 'demands': [2, 11, 3]}]",47,nl,1
RCPSP,RCPSP,"There’s a planner at the plant who needs to line up every workstation’s start time: each job has a set duration, uses certain stations or tools while in progress, and can’t start until earlier steps are done. The planner must place every job once on the timeline so no tool is used by too many jobs at the same time and the handoffs happen in the right order. A good plan is the one where the final job finishes as early as possible — simply check the finishing time of the last task to compare plans. The specific jobs, their durations, dependencies, and resource limits are listed below.
The planner must place 12 workstation tasks across 3 resource types with capacities .
| resource_id | capacity |
|---|---|
| 1 | 11 |
| 2 | 14 |
| 3 | 12 |
| workstation_task_id | task_duration | resource_requirements | dependent_successor_tasks |
|---|---|---|---|
| T1 | 5 | 4, 2, 2 | T3, T5 |
| T2 | 6 | 6, 5, 4 | T4, T6, T9, T3 |
| T3 | 9 | 2, 3, 2 | T7, T5 |
| T4 | 3 | 4, 4, 6 | T8 |
| T5 | 4 | 4, 4, 3 | T8, T4, T6 |
| T6 | 1 | 7, 2, 5 | T7 |
| T7 | 2 | 1, 7, 6 | T11 |
| T8 | 8 | 3, 2, 1 | T9, T10 |
| T9 | 2 | 5, 8, 8 | T12 |
| T10 | 3 | 5, 2, 4 | T12, T7 |
| T11 | 1 | 8, 6, 6 | T12 |
| T12 | 5 | 2, 2, 11 | none |
The planner compares plans by the finishing time of the last task.
Also, when you send the schedule back, please use this simple JSON layout so it's easy to parse and double-check.
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
This just shows the shape I need: a ""solution"" is a list of task entries, and each entry is a little timetable row — which task it is, when it starts, and when it finishes. Think of it like filling out a simple form: task, start time, end time. It's only a sketch of the expected shape, not the actual schedule itself.
Please make sure every identifier you use matches exactly what's in the instance input — no renaming, no 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”.","{'nr_tasks': 12, 'nr_resources': 3, 'capacities': [11, 14, 12], 'tasks': [{'duration': 5, 'demands': [4, 2, 2], 'successors': [2, 4]}, {'duration': 6, 'demands': [6, 5, 4], 'successors': [3, 5, 8, 2]}, {'duration': 9, 'demands': [2, 3, 2], 'successors': [6, 4]}, {'duration': 3, 'demands': [4, 4, 6], 'successors': [7]}, {'duration': 4, 'demands': [4, 4, 3], 'successors': [7, 3, 5]}, {'duration': 1, 'demands': [7, 2, 5], 'successors': [6]}, {'duration': 2, 'demands': [1, 7, 6], 'successors': [10]}, {'duration': 8, 'demands': [3, 2, 1], 'successors': [8, 9]}, {'duration': 2, 'demands': [5, 8, 8], 'successors': [11]}, {'duration': 3, 'demands': [5, 2, 4], 'successors': [11, 6]}, {'duration': 1, 'demands': [8, 6, 6], 'successors': [11]}, {'duration': 5, 'demands': [2, 2, 11], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 5, 'duration': 5, 'demands': [4, 2, 2]}, {'task': 1, 'start': 0, 'end': 6, 'duration': 6, 'demands': [6, 5, 4]}, {'task': 2, 'start': 6, 'end': 15, 'duration': 9, 'demands': [2, 3, 2]}, {'task': 3, 'start': 19, 'end': 22, 'duration': 3, 'demands': [4, 4, 6]}, {'task': 4, 'start': 15, 'end': 19, 'duration': 4, 'demands': [4, 4, 3]}, {'task': 5, 'start': 19, 'end': 20, 'duration': 1, 'demands': [7, 2, 5]}, {'task': 6, 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 7, 6]}, {'task': 7, 'start': 22, 'end': 30, 'duration': 8, 'demands': [3, 2, 1]}, {'task': 8, 'start': 30, 'end': 32, 'duration': 2, 'demands': [5, 8, 8]}, {'task': 9, 'start': 30, 'end': 33, 'duration': 3, 'demands': [5, 2, 4]}, {'task': 10, 'start': 35, 'end': 36, 'duration': 1, 'demands': [8, 6, 6]}, {'task': 11, 'start': 36, 'end': 41, 'duration': 5, 'demands': [2, 2, 11]}]",41.0,"{'problem_type': 'RCPSP', 'nr_tasks': 12, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 11}, {'resource_id': 2, 'capacity': 14}, {'resource_id': 3, 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 5, 'demands': [4, 2, 2], 'successors': ['T3', 'T5']}, {'task_id': 'T2', 'duration': 6, 'demands': [6, 5, 4], 'successors': ['T4', 'T6', 'T9', 'T3']}, {'task_id': 'T3', 'duration': 9, 'demands': [2, 3, 2], 'successors': ['T7', 'T5']}, {'task_id': 'T4', 'duration': 3, 'demands': [4, 4, 6], 'successors': ['T8']}, {'task_id': 'T5', 'duration': 4, 'demands': [4, 4, 3], 'successors': ['T8', 'T4', 'T6']}, {'task_id': 'T6', 'duration': 1, 'demands': [7, 2, 5], 'successors': ['T7']}, {'task_id': 'T7', 'duration': 2, 'demands': [1, 7, 6], 'successors': ['T11']}, {'task_id': 'T8', 'duration': 8, 'demands': [3, 2, 1], 'successors': ['T9', 'T10']}, {'task_id': 'T9', 'duration': 2, 'demands': [5, 8, 8], 'successors': ['T12']}, {'task_id': 'T10', 'duration': 3, 'demands': [5, 2, 4], 'successors': ['T12', 'T7']}, {'task_id': 'T11', 'duration': 1, 'demands': [8, 6, 6], 'successors': ['T12']}, {'task_id': 'T12', 'duration': 5, 'demands': [2, 2, 11], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 5, 'duration': 5, 'demands': [4, 2, 2]}, {'task': 'T2', 'start': 0, 'end': 6, 'duration': 6, 'demands': [6, 5, 4]}, {'task': 'T3', 'start': 6, 'end': 15, 'duration': 9, 'demands': [2, 3, 2]}, {'task': 'T4', 'start': 19, 'end': 22, 'duration': 3, 'demands': [4, 4, 6]}, {'task': 'T5', 'start': 15, 'end': 19, 'duration': 4, 'demands': [4, 4, 3]}, {'task': 'T6', 'start': 19, 'end': 20, 'duration': 1, 'demands': [7, 2, 5]}, {'task': 'T7', 'start': 33, 'end': 35, 'duration': 2, 'demands': [1, 7, 6]}, {'task': 'T8', 'start': 22, 'end': 30, 'duration': 8, 'demands': [3, 2, 1]}, {'task': 'T9', 'start': 30, 'end': 32, 'duration': 2, 'demands': [5, 8, 8]}, {'task': 'T10', 'start': 30, 'end': 33, 'duration': 3, 'demands': [5, 2, 4]}, {'task': 'T11', 'start': 35, 'end': 36, 'duration': 1, 'demands': [8, 6, 6]}, {'task': 'T12', 'start': 36, 'end': 41, 'duration': 5, 'demands': [2, 2, 11]}]",48,markdown_table,1
RCPSP,RCPSP,"I’m helping plan a celebration where a handful of setup crews and catering teams all have to get their jobs done in the right order. The planners need to pick a start time for every setup and food task so that things that depend on others don’t start too early, each job runs for its given length and uses the staff and gear assigned to it, and no team or piece of equipment is asked to do more than it has capacity for. The better plan is the one that gets the whole venue ready the fastest — in practice that means looking at when the last job finishes and making that time as early as possible (or, if you prefer, shrinking the time span from the first start to that final finish). Every task has to appear exactly once, can’t be split or duplicated, and the exact list of jobs, durations, staff and equipment available are shown below.
There are 15 jobs to schedule, using 3 resource types with capacities .
Job T1 lasts 9, requires 5, 7, 4 while it runs, and lists T4, T5, T6 as jobs that may only start after it finishes.
Job T2 lasts 6, requires 10, 3, 4 while it runs, and lists T3, T4 as jobs that may only start after it finishes.
Job T3 lasts 5, requires 5, 1, 5 while it runs, and lists T8, T9 as jobs that may only start after it finishes.
Job T4 lasts 5, requires 3, 3, 3 while it runs, and lists T7, T8 as jobs that may only start after it finishes.
Job T5 lasts 2, requires 5, 3, 3 while it runs, and lists T8, T9 as jobs that may only start after it finishes.
Job T6 lasts 1, requires 1, 3, 3 while it runs, and lists T7, T9 as jobs that may only start after it finishes.
Job T7 lasts 3, requires 2, 3, 3 while it runs, and lists T10, T11 as jobs that may only start after it finishes.
Job T8 lasts 4, requires 6, 1, 4 while it runs, and lists T12 as jobs that may only start after it finishes.
Job T9 lasts 8, requires 4, 5, 3 while it runs, and lists T10 as jobs that may only start after it finishes.
Job T10 lasts 9, requires 1, 5, 8 while it runs, and lists T14 as jobs that may only start after it finishes.
Job T11 lasts 9, requires 3, 2, 4 while it runs, and lists T14 as jobs that may only start after it finishes.
Job T12 lasts 5, requires 1, 6, 3 while it runs, and lists T13 as jobs that may only start after it finishes.
Job T13 lasts 1, requires 5, 9, 7 while it runs, and lists T15 as jobs that may only start after it finishes.
Job T14 lasts 2, requires 3, 3, 5 while it runs, and lists none as jobs that may only start after it finishes.
Job T15 lasts 4, requires 1, 7, 3 while it runs, and lists none as jobs that may only start after it finishes.
Each job must appear exactly once; we’ll use these lines to build the fastest feasible plan.
You can just send the schedule back in a tiny JSON shape like this — nothing fancy, just a list of tasks with their start and end times:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of it like a little table: each object in the ""solution"" list is one job, ""task"" is the task identifier from the instance, and ""start"" and ""end"" are the times when that job begins and finishes. This is only a sketch of the expected shape — not the actual schedule — so don’t fill it in here unless you’re ready to submit the real timings.
Please use the exact task identifiers from the instance input — no renaming and 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”.""","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [14, 11, 12], 'tasks': [{'duration': 9, 'demands': [5, 7, 4], 'successors': [3, 4, 5]}, {'duration': 6, 'demands': [10, 3, 4], 'successors': [2, 3]}, {'duration': 5, 'demands': [5, 1, 5], 'successors': [7, 8]}, {'duration': 5, 'demands': [3, 3, 3], 'successors': [6, 7]}, {'duration': 2, 'demands': [5, 3, 3], 'successors': [7, 8]}, {'duration': 1, 'demands': [1, 3, 3], 'successors': [6, 8]}, {'duration': 3, 'demands': [2, 3, 3], 'successors': [9, 10]}, {'duration': 4, 'demands': [6, 1, 4], 'successors': [11]}, {'duration': 8, 'demands': [4, 5, 3], 'successors': [9]}, {'duration': 9, 'demands': [1, 5, 8], 'successors': [13]}, {'duration': 9, 'demands': [3, 2, 4], 'successors': [13]}, {'duration': 5, 'demands': [1, 6, 3], 'successors': [12]}, {'duration': 1, 'demands': [5, 9, 7], 'successors': [14]}, {'duration': 2, 'demands': [3, 3, 5], 'successors': []}, {'duration': 4, 'demands': [1, 7, 3], 'successors': []}]}","[{'task': 0, 'start': 6, 'end': 15, 'duration': 9, 'demands': [5, 7, 4]}, {'task': 1, 'start': 0, 'end': 6, 'duration': 6, 'demands': [10, 3, 4]}, {'task': 2, 'start': 6, 'end': 11, 'duration': 5, 'demands': [5, 1, 5]}, {'task': 3, 'start': 15, 'end': 20, 'duration': 5, 'demands': [3, 3, 3]}, {'task': 4, 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 3, 3]}, {'task': 5, 'start': 15, 'end': 16, 'duration': 1, 'demands': [1, 3, 3]}, {'task': 6, 'start': 20, 'end': 23, 'duration': 3, 'demands': [2, 3, 3]}, {'task': 7, 'start': 20, 'end': 24, 'duration': 4, 'demands': [6, 1, 4]}, {'task': 8, 'start': 17, 'end': 25, 'duration': 8, 'demands': [4, 5, 3]}, {'task': 9, 'start': 25, 'end': 34, 'duration': 9, 'demands': [1, 5, 8]}, {'task': 10, 'start': 29, 'end': 38, 'duration': 9, 'demands': [3, 2, 4]}, {'task': 11, 'start': 24, 'end': 29, 'duration': 5, 'demands': [1, 6, 3]}, {'task': 12, 'start': 34, 'end': 35, 'duration': 1, 'demands': [5, 9, 7]}, {'task': 13, 'start': 38, 'end': 40, 'duration': 2, 'demands': [3, 3, 5]}, {'task': 14, 'start': 35, 'end': 39, 'duration': 4, 'demands': [1, 7, 3]}]",40.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [0, 1, 2], 'resource_capacities': [{'resource_id': 0, 'capacity': 14}, {'resource_id': 1, 'capacity': 11}, {'resource_id': 2, 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 9, 'demands': [5, 7, 4], 'successors': ['T4', 'T5', 'T6']}, {'task_id': 'T2', 'duration': 6, 'demands': [10, 3, 4], 'successors': ['T3', 'T4']}, {'task_id': 'T3', 'duration': 5, 'demands': [5, 1, 5], 'successors': ['T8', 'T9']}, {'task_id': 'T4', 'duration': 5, 'demands': [3, 3, 3], 'successors': ['T7', 'T8']}, {'task_id': 'T5', 'duration': 2, 'demands': [5, 3, 3], 'successors': ['T8', 'T9']}, {'task_id': 'T6', 'duration': 1, 'demands': [1, 3, 3], 'successors': ['T7', 'T9']}, {'task_id': 'T7', 'duration': 3, 'demands': [2, 3, 3], 'successors': ['T10', 'T11']}, {'task_id': 'T8', 'duration': 4, 'demands': [6, 1, 4], 'successors': ['T12']}, {'task_id': 'T9', 'duration': 8, 'demands': [4, 5, 3], 'successors': ['T10']}, {'task_id': 'T10', 'duration': 9, 'demands': [1, 5, 8], 'successors': ['T14']}, {'task_id': 'T11', 'duration': 9, 'demands': [3, 2, 4], 'successors': ['T14']}, {'task_id': 'T12', 'duration': 5, 'demands': [1, 6, 3], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 1, 'demands': [5, 9, 7], 'successors': ['T15']}, {'task_id': 'T14', 'duration': 2, 'demands': [3, 3, 5], 'successors': []}, {'task_id': 'T15', 'duration': 4, 'demands': [1, 7, 3], 'successors': []}]}","[{'task': 'T1', 'start': 6, 'end': 15, 'duration': 9, 'demands': [5, 7, 4]}, {'task': 'T2', 'start': 0, 'end': 6, 'duration': 6, 'demands': [10, 3, 4]}, {'task': 'T3', 'start': 6, 'end': 11, 'duration': 5, 'demands': [5, 1, 5]}, {'task': 'T4', 'start': 15, 'end': 20, 'duration': 5, 'demands': [3, 3, 3]}, {'task': 'T5', 'start': 15, 'end': 17, 'duration': 2, 'demands': [5, 3, 3]}, {'task': 'T6', 'start': 15, 'end': 16, 'duration': 1, 'demands': [1, 3, 3]}, {'task': 'T7', 'start': 20, 'end': 23, 'duration': 3, 'demands': [2, 3, 3]}, {'task': 'T8', 'start': 20, 'end': 24, 'duration': 4, 'demands': [6, 1, 4]}, {'task': 'T9', 'start': 17, 'end': 25, 'duration': 8, 'demands': [4, 5, 3]}, {'task': 'T10', 'start': 25, 'end': 34, 'duration': 9, 'demands': [1, 5, 8]}, {'task': 'T11', 'start': 29, 'end': 38, 'duration': 9, 'demands': [3, 2, 4]}, {'task': 'T12', 'start': 24, 'end': 29, 'duration': 5, 'demands': [1, 6, 3]}, {'task': 'T13', 'start': 34, 'end': 35, 'duration': 1, 'demands': [5, 9, 7]}, {'task': 'T14', 'start': 38, 'end': 40, 'duration': 2, 'demands': [3, 3, 5]}, {'task': 'T15', 'start': 35, 'end': 39, 'duration': 4, 'demands': [1, 7, 3]}]",49,nl,0
RCPSP,RCPSP,"Recently the engineering crew faced a staged rollout where every stage runs for a known stretch of time and consumes some servers and network capacity while active, and certain stages have to wait for earlier ones to finish. The planner’s job was to pick start moments for each stage so the whole rollout completes as quickly as possible — success is simply the finish time of the final stage, so a smaller finish time is better. It’s important that every stage appears once and only once, no stage begins before its prerequisites are done, and the combined server and bandwidth usage at any second never exceeds what’s available. The detailed instance (tasks, times, resources) follows below.
# nr_stages=15
# nr_resource_types=3
# resources=1, 2, 3
resource_id,capacity
1,11
2,10
3,12
stage_id,stage_duration,stage_resource_demands,successor_stage_ids
T1,1,""0, 0, 0"",""T2, T3, T4""
T2,4,""5, 6, 2"",""T5, T6""
T3,2,""4, 7, 5"",""T5, T8, T2""
T4,7,""8, 2, 1"",""T6, T7""
T5,12,""7, 2, 6"",""T9, T10""
T6,10,""5, 8, 7"",""T11, T12""
T7,3,""6, 7, 3"",""T9, T10""
T8,3,""2, 3, 6"",""T9, T10""
T9,2,""4, 3, 4"",""T13""
T10,3,""4, 4, 7"",""none""
T11,5,""4, 2, 3"",""T13""
T12,2,""6, 1, 7"",""T13""
T13,2,""1, 7, 7"",""T14""
T14,6,""2, 1, 5"",""T15""
T15,4,""4, 5, 5"",""none""
Also, to keep things tidy when you send back the schedule, please follow this simple JSON layout — just a little template to show how I expect the answer to be shaped:
{
""solution"": [
{
""task"": <task_id>,
""start"": <start_time>,
""end"": <end_time>
}
]
}
Think of this like a little form: ""solution"" is a list of stages, and each entry says which task it is and when it begins and finishes. Super casual — just fill in each task once with its start and end times from the instance. This block is only a sketch of the shape I want, not the actual schedule.
Please be sure to use the exact identifiers as they appear in the instance input — do not rename tasks 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”.","{'nr_tasks': 15, 'nr_resources': 3, 'capacities': [11, 10, 12], 'tasks': [{'duration': 1, 'demands': [0, 0, 0], 'successors': [1, 2, 3]}, {'duration': 4, 'demands': [5, 6, 2], 'successors': [4, 5]}, {'duration': 2, 'demands': [4, 7, 5], 'successors': [4, 7, 1]}, {'duration': 7, 'demands': [8, 2, 1], 'successors': [5, 6]}, {'duration': 12, 'demands': [7, 2, 6], 'successors': [8, 9]}, {'duration': 10, 'demands': [5, 8, 7], 'successors': [10, 11]}, {'duration': 3, 'demands': [6, 7, 3], 'successors': [8, 9]}, {'duration': 3, 'demands': [2, 3, 6], 'successors': [8, 9]}, {'duration': 2, 'demands': [4, 3, 4], 'successors': [12]}, {'duration': 3, 'demands': [4, 4, 7], 'successors': []}, {'duration': 5, 'demands': [4, 2, 3], 'successors': [12]}, {'duration': 2, 'demands': [6, 1, 7], 'successors': [12]}, {'duration': 2, 'demands': [1, 7, 7], 'successors': [13]}, {'duration': 6, 'demands': [2, 1, 5], 'successors': [14]}, {'duration': 4, 'demands': [4, 5, 5], 'successors': []}]}","[{'task': 0, 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 1, 'start': 3, 'end': 7, 'duration': 4, 'demands': [5, 6, 2]}, {'task': 2, 'start': 1, 'end': 3, 'duration': 2, 'demands': [4, 7, 5]}, {'task': 3, 'start': 7, 'end': 14, 'duration': 7, 'demands': [8, 2, 1]}, {'task': 4, 'start': 24, 'end': 36, 'duration': 12, 'demands': [7, 2, 6]}, {'task': 5, 'start': 14, 'end': 24, 'duration': 10, 'demands': [5, 8, 7]}, {'task': 6, 'start': 36, 'end': 39, 'duration': 3, 'demands': [6, 7, 3]}, {'task': 7, 'start': 3, 'end': 6, 'duration': 3, 'demands': [2, 3, 6]}, {'task': 8, 'start': 39, 'end': 41, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 9, 'start': 43, 'end': 46, 'duration': 3, 'demands': [4, 4, 7]}, {'task': 10, 'start': 24, 'end': 29, 'duration': 5, 'demands': [4, 2, 3]}, {'task': 11, 'start': 39, 'end': 41, 'duration': 2, 'demands': [6, 1, 7]}, {'task': 12, 'start': 41, 'end': 43, 'duration': 2, 'demands': [1, 7, 7]}, {'task': 13, 'start': 43, 'end': 49, 'duration': 6, 'demands': [2, 1, 5]}, {'task': 14, 'start': 49, 'end': 53, 'duration': 4, 'demands': [4, 5, 5]}]",53.0,"{'problem_type': 'RCPSP', 'nr_tasks': 15, 'nr_resources': 3, 'tasks': ['T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15'], 'resources': [1, 2, 3], 'resource_capacities': [{'resource_id': 1, 'capacity': 11}, {'resource_id': 2, 'capacity': 10}, {'resource_id': 3, 'capacity': 12}], 'task_records': [{'task_id': 'T1', 'duration': 1, 'demands': [0, 0, 0], 'successors': ['T2', 'T3', 'T4']}, {'task_id': 'T2', 'duration': 4, 'demands': [5, 6, 2], 'successors': ['T5', 'T6']}, {'task_id': 'T3', 'duration': 2, 'demands': [4, 7, 5], 'successors': ['T5', 'T8', 'T2']}, {'task_id': 'T4', 'duration': 7, 'demands': [8, 2, 1], 'successors': ['T6', 'T7']}, {'task_id': 'T5', 'duration': 12, 'demands': [7, 2, 6], 'successors': ['T9', 'T10']}, {'task_id': 'T6', 'duration': 10, 'demands': [5, 8, 7], 'successors': ['T11', 'T12']}, {'task_id': 'T7', 'duration': 3, 'demands': [6, 7, 3], 'successors': ['T9', 'T10']}, {'task_id': 'T8', 'duration': 3, 'demands': [2, 3, 6], 'successors': ['T9', 'T10']}, {'task_id': 'T9', 'duration': 2, 'demands': [4, 3, 4], 'successors': ['T13']}, {'task_id': 'T10', 'duration': 3, 'demands': [4, 4, 7], 'successors': []}, {'task_id': 'T11', 'duration': 5, 'demands': [4, 2, 3], 'successors': ['T13']}, {'task_id': 'T12', 'duration': 2, 'demands': [6, 1, 7], 'successors': ['T13']}, {'task_id': 'T13', 'duration': 2, 'demands': [1, 7, 7], 'successors': ['T14']}, {'task_id': 'T14', 'duration': 6, 'demands': [2, 1, 5], 'successors': ['T15']}, {'task_id': 'T15', 'duration': 4, 'demands': [4, 5, 5], 'successors': []}]}","[{'task': 'T1', 'start': 0, 'end': 1, 'duration': 1, 'demands': [0, 0, 0]}, {'task': 'T2', 'start': 3, 'end': 7, 'duration': 4, 'demands': [5, 6, 2]}, {'task': 'T3', 'start': 1, 'end': 3, 'duration': 2, 'demands': [4, 7, 5]}, {'task': 'T4', 'start': 7, 'end': 14, 'duration': 7, 'demands': [8, 2, 1]}, {'task': 'T5', 'start': 24, 'end': 36, 'duration': 12, 'demands': [7, 2, 6]}, {'task': 'T6', 'start': 14, 'end': 24, 'duration': 10, 'demands': [5, 8, 7]}, {'task': 'T7', 'start': 36, 'end': 39, 'duration': 3, 'demands': [6, 7, 3]}, {'task': 'T8', 'start': 3, 'end': 6, 'duration': 3, 'demands': [2, 3, 6]}, {'task': 'T9', 'start': 39, 'end': 41, 'duration': 2, 'demands': [4, 3, 4]}, {'task': 'T10', 'start': 43, 'end': 46, 'duration': 3, 'demands': [4, 4, 7]}, {'task': 'T11', 'start': 24, 'end': 29, 'duration': 5, 'demands': [4, 2, 3]}, {'task': 'T12', 'start': 39, 'end': 41, 'duration': 2, 'demands': [6, 1, 7]}, {'task': 'T13', 'start': 41, 'end': 43, 'duration': 2, 'demands': [1, 7, 7]}, {'task': 'T14', 'start': 43, 'end': 49, 'duration': 6, 'demands': [2, 1, 5]}, {'task': 'T15', 'start': 49, 'end': 53, 'duration': 4, 'demands': [4, 5, 5]}]",50,csv,1
|