id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_Threading_Schedule/busdriverschedulings_177_0.txt | 209 | |
Python_Threading_Schedule/busdriverschedulings_1512_0.txt | [ 210 , "07:04" , "07:44" , 424 , 464 , 40 ], | |
Python_Threading_Schedule/busdriverschedulings_22_0.txt | Search or jump to... | |
Python_Threading_Schedule/busdriverschedulings_1112_0.txt | [ 12 , "05:54" , "07:20" , 354 , 440 , 86 ], | |
Python_Threading_Schedule/busdriverschedulings_1061_0.txt | [ 13 , "08:11" , "09:41" , 491 , 581 , 90 ], | |
Python_Threading_Schedule/busdriverschedulings_1885_0.txt | [ 583 , "12:00" , "12:16" , 720 , 736 , 16 ], | |
Python_Threading_Schedule/busdriverschedulings_1862_0.txt | [ 560 , "11:44" , "11:55" , 704 , 715 , 11 ], | |
Python_Threading_Schedule/busdriverschedulings_1215_0.txt | [ 115 , "14:40" , "15:51" , 880 , 951 , 71 ], | |
Python_Threading_Schedule/busdriverschedulings_1287_0.txt | [ 187 , "21:40" , "22:17" , 1300 , 1337 , 37 ], | |
Python_Threading_Schedule/busdriverschedulings_1723_0.txt | [ 421 , "09:30" , "09:40" , 570 , 580 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_21_0.txt | * [ Pricing ](https://github.com/pricing) | |
Python_Threading_Schedule/busdriverschedulings_181_0.txt | 213 | |
Python_Threading_Schedule/1722_65_0.txt | ### | |
Python_Threading_Schedule/busdriverschedulings_1306_0.txt | [ 4 , "04:30" , "04:53" , 270 , 293 , 23 ], | |
Python_Threading_Schedule/busdriverschedulings_587_0.txt | 619 | |
Python_Threading_Schedule/busdriverschedulings_910_0.txt | 942 | |
Python_Threading_Schedule/busdriverschedulings_1636_0.txt | [ 334 , "08:24" , "09:48" , 504 , 588 , 84 ], | |
Python_Threading_Schedule/busdriverschedulings_463_0.txt | 495 | |
Python_Threading_Schedule/busdriverschedulings_1494_0.txt | [ 192 , "06:54" , "08:20" , 414 , 500 , 86 ], | |
Python_Threading_Schedule/busdriverschedulings_1088_0.txt | [ 40 , "16:50" , "17:00" , 1010 , 1020 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_9_0.txt | * Solutions | |
Python_Threading_Schedule/busdriverschedulings_1657_0.txt | [ 355 , "08:38" , "09:14" , 518 , 554 , 36 ], | |
Python_Threading_Schedule/busdriverschedulings_1827_0.txt | [ 525 , "11:11" , "11:38" , 671 , 698 , 27 ], | |
Python_Threading_Schedule/busdriverschedulings_1783_0.txt | [ 481 , "10:29" , "11:20" , 629 , 680 , 51 ], | |
Python_Threading_Schedule/busdriverschedulings_695_0.txt | 727 | |
Python_Threading_Schedule/busdriverschedulings_1308_0.txt | [ 6 , "04:31" , "04:53" , 271 , 293 , 22 ], | |
Python_Threading_Schedule/busdriverschedulings_80_0.txt | 112 | |
Python_Threading_Schedule/busdriverschedulings_1732_0.txt | [ 430 , "09:40" , "09:50" , 580 , 590 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_637_0.txt | 669 | |
Python_Threading_Schedule/busdriverschedulings_289_0.txt | 321 | |
Python_Threading_Schedule/busdriverschedulings_266_0.txt | 298 | |
Python_Threading_Schedule/busdriverschedulings_1071_0.txt | [ 23 , "11:00" , "11:10" , 660 , 670 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_980_0.txt | """This model implements a bus driver scheduling problem. | |
Python_Threading_Schedule/busdriverschedulings_1139_0.txt | [ 39 , "07:27" , "08:15" , 447 , 495 , 48 ], | |
Python_Threading_Schedule/busdriverschedulings_1684_0.txt | [ 382 , "08:59" , "09:50" , 539 , 590 , 51 ], | |
Python_Threading_Schedule/busdriverschedulings_682_0.txt | 714 | |
Python_Threading_Schedule/busdriverschedulings_1054_0.txt | [ 6 , "06:48" , "08:15" , 408 , 495 , 87 ], | |
Python_Threading_Schedule/busdriverschedulings_1408_0.txt | [ 106 , "05:58" , "06:08" , 358 , 368 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_724_0.txt | 756 | |
Python_Threading_Schedule/busdriverschedulings_722_0.txt | 754 | |
Python_Threading_Schedule/pythonjobscheduling_17_0.txt | Icon
File Transfer Automation
Manage critical data transfers inside and outside your enterprise securely and easily. | |
Python_Threading_Schedule/busdriverschedulings_412_0.txt | 444 | |
Python_Threading_Schedule/busdriverschedulings_1108_0.txt | [ 8 , "05:30" , "05:40" , 330 , 340 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_160_0.txt | 192 | |
Python_Threading_Schedule/busdriverschedulings_1725_0.txt | [ 423 , "09:33" , "10:58" , 573 , 658 , 85 ], | |
Python_Threading_Schedule/busdriverschedulings_554_0.txt | 586 | |
Python_Threading_Schedule/1722_156_0.txt | Development | |
Python_Threading_Schedule/busdriverschedulings_214_0.txt | 246 | |
Python_Threading_Schedule/busdriverschedulings_319_0.txt | 351 | |
Python_Threading_Schedule/busdriverschedulings_1468_0.txt | [ 166 , "06:39" , "07:33" , 399 , 453 , 54 ], | |
Python_Threading_Schedule/pythonjobscheduling_58_0.txt | With Python crontab, you can specify the interval, specific time of day, day of the week, or month of the year a particular script or program should run. The scheduling is done by defining a set of rules using the crontab syntax, which specifies the exact timing of when a task should be executed. | |
Python_Threading_Schedule/busdriverschedulings_196_0.txt | 228 | |
Python_Threading_Schedule/busdriverschedulings_1565_0.txt | [ 263 , "07:36" , "08:17" , 456 , 497 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_1523_0.txt | [ 221 , "07:09" , "08:03" , 429 , 483 , 54 ], | |
Python_Threading_Schedule/1722_129_0.txt | # Redundant constraints: sum of driving times = sum of shift driving times
model.Add(sum(driving_times) == total_driving_time)
if not minimize_drivers:
model.Add(
sum(working_times) == total_driving_time +
num_drivers * (setup_time + cleanup_time) +
cp_model.LinearExpr.ScalProd(delay_literals, delay_weights)) | |
Python_Threading_Schedule/busdriverschedulings_501_0.txt | 533 | |
Python_Threading_Schedule/busdriverschedulings_304_0.txt | 336 | |
Python_Threading_Schedule/busdriverschedulings_357_0.txt | 389 | |
Python_Threading_Schedule/busdriverschedulings_1886_0.txt | [ 584 , "12:00" , "12:10" , 720 , 730 , 10 ], | |
Python_Threading_Schedule/1722_126_0.txt | # Symmetry breaking | |
Python_Threading_Schedule/busdriverschedulings_1001_0.txt | "Sat solver parameters." , | |
Python_Threading_Schedule/1722_34_0.txt | Query | |
Python_Threading_Schedule/busdriverschedulings_988_0.txt | \- 2 min waiting time after each shift for passenger boarding and alighting | |
Python_Threading_Schedule/busdriverschedulings_279_0.txt | 311 | |
Python_Threading_Schedule/1722_125_0.txt | # Each shift is covered.
for s in range(num_shifts):
model.Add(sum(performed[d, s] for d in range(num_drivers)) == 1)
# Globally, each node has one incoming and one outgoing literal
model.Add(sum(shared_incoming_literals[s]) == 1)
model.Add(sum(shared_outgoing_literals[s]) == 1) | |
Python_Threading_Schedule/pythonjobscheduling_35_0.txt | def my_job():
# function to run as a job
print("This is my job") | |
Python_Threading_Schedule/busdriverschedulings_1173_0.txt | [ 73 , "11:20" , "11:30" , 680 , 690 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1847_0.txt | [ 545 , "11:29" , "12:23" , 689 , 743 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_1186_0.txt | [ 86 , "12:25" , "13:10" , 745 , 790 , 45 ], | |
Python_Threading_Schedule/busdriverschedulings_1807_0.txt | [ 505 , "10:51" , "11:17" , 651 , 677 , 26 ], | |
Python_Threading_Schedule/busdriverschedulings_550_0.txt | 582 | |
Python_Threading_Schedule/busdriverschedulings_36_0.txt | Cancel Create saved search | |
Python_Threading_Schedule/1722_25_0.txt | Clear | |
Python_Threading_Schedule/busdriverschedulings_1736_0.txt | [ 434 , "09:44" , "11:11" , 584 , 671 , 87 ], | |
Python_Threading_Schedule/busdriverschedulings_258_0.txt | 290 | |
Python_Threading_Schedule/busdriverschedulings_1815_0.txt | [ 513 , "10:59" , "11:53" , 659 , 713 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_807_0.txt | 839 | |
Python_Threading_Schedule/busdriverschedulings_1410_0.txt | [ 108 , "06:00" , "06:10" , 360 , 370 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1129_0.txt | [ 29 , "06:46" , "06:58" , 406 , 418 , 12 ], | |
Python_Threading_Schedule/busdriverschedulings_68_0.txt | 100 | |
Python_Threading_Schedule/busdriverschedulings_476_0.txt | 508 | |
Python_Threading_Schedule/busdriverschedulings_911_0.txt | 943 | |
Python_Threading_Schedule/busdriverschedulings_1486_0.txt | [ 184 , "06:48" , "07:37" , 408 , 457 , 49 ], | |
Python_Threading_Schedule/busdriverschedulings_758_0.txt | 790 | |
Python_Threading_Schedule/busdriverschedulings_1324_0.txt | [ 22 , "04:49" , "05:41" , 289 , 341 , 52 ], | |
Python_Threading_Schedule/1722_9_0.txt | * Solutions | |
Python_Threading_Schedule/busdriverschedulings_559_0.txt | 591 | |
Python_Threading_Schedule/busdriverschedulings_451_0.txt | 483 | |
Python_Threading_Schedule/workflowyschedulingi_26_0.txt | cls.browser.close() | |
Python_Threading_Schedule/busdriverschedulings_42_0.txt | * [ Notifications ](/login?return_to=%2Fgoogle%2For-tools)
* [ Fork 2.1k ](/login?return_to=%2Fgoogle%2For-tools)
* [ Star 10.5k ](/login?return_to=%2Fgoogle%2For-tools) | |
Python_Threading_Schedule/busdriverschedulings_948_0.txt | 980 | |
Python_Threading_Schedule/busdriverschedulings_1377_0.txt | [ 75 , "05:38" , "06:04" , 338 , 364 , 26 ], | |
Python_Threading_Schedule/busdriverschedulings_139_0.txt | 171 | |
Python_Threading_Schedule/busdriverschedulings_863_0.txt | 895 | |
Python_Threading_Schedule/busdriverschedulings_655_0.txt | 687 | |
Python_Threading_Schedule/busdriverschedulings_363_0.txt | 395 | |
Python_Threading_Schedule/busdriverschedulings_438_0.txt | 470 | |
Python_Threading_Schedule/busdriverschedulings_1646_0.txt | [ 344 , "08:30" , "09:35" , 510 , 575 , 65 ], | |
Python_Threading_Schedule/busdriverschedulings_1331_0.txt | [ 29 , "04:55" , "05:27" , 295 , 327 , 32 ], | |
Python_Threading_Schedule/busdriverschedulings_1005_0.txt | # column description: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.