File size: 469,426 Bytes
aff484f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base
OSP,OSP,"Recently the kitchen got a big batch of complex orders: each plate needs several different stations, one visit to each, but there’s no set order for those visits. The need is to pick a sequence and start times for each step so stations don’t overlap on different dishes and no dish is split between stations at once — and every required step is done once and only once. The aim is simple in practice: finish the last order as soon as possible, so the schedule is judged by the time the final dish is ready. The detailed breakdown of orders and stations is below.

Batch details: 8 orders across 3 stations — orders: J1, J2, J3, J4, J5, J6, J7, J8; stations: 1, 2, 3.

| order_id | step_index | station_id | prep_time |
|---|---|---|---|
| J1 | 0 | 1 | 1 |
| J1 | 1 | 2 | 52 |
| J1 | 2 | 3 | 73 |
| J2 | 0 | 1 | 27 |
| J2 | 1 | 2 | 38 |
| J2 | 2 | 3 | 20 |
| J3 | 0 | 1 | 97 |
| J3 | 1 | 2 | 51 |
| J3 | 2 | 3 | 53 |
| J4 | 0 | 1 | 26 |
| J4 | 1 | 2 | 11 |
| J4 | 2 | 3 | 81 |
| J5 | 0 | 1 | 90 |
| J5 | 1 | 2 | 45 |
| J5 | 2 | 3 | 25 |
| J6 | 0 | 1 | 25 |
| J6 | 1 | 2 | 19 |
| J6 | 2 | 3 | 33 |
| J7 | 0 | 1 | 11 |
| J7 | 1 | 2 | 80 |
| J7 | 2 | 3 | 53 |
| J8 | 0 | 1 | 84 |
| J8 | 1 | 2 | 73 |
| J8 | 2 | 3 | 8 |

Goal remains to finish the last of the 8 orders as soon as possible.

Also, just so the reply is easy to parse, please follow this simple JSON layout when you give the schedule — nothing fancy, just a predictable shape. For our kitchen story the placeholders for identifiers have been tweaked to match the language of plates and stations, but otherwise the layout is the same:

{
  ""solution"": [
    {
      ""job"": <plate_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I need: ""solution"" is a list of orders (plates), each entry has the plate identifier in ""job"" and a ""tasks"" list. Each task entry lists the task/step index, when it starts, which station (machine) it uses, and how long it takes. Keep it light and straightforward — it's just a form to fill in the schedule.

One more thing: use the identifiers exactly as they appear in the instance input — do not rename them or introduce new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'nr_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 52], [2, 73]], [[0, 27], [1, 38], [2, 20]], [[0, 97], [1, 51], [2, 53]], [[0, 26], [1, 11], [2, 81]], [[0, 90], [1, 45], [2, 25]], [[0, 25], [1, 19], [2, 33]], [[0, 11], [1, 80], [2, 53]], [[0, 84], [1, 73], [2, 8]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 360, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 204, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 81, 'machine': 2, 'duration': 73}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 271, 'machine': 0, 'duration': 27}, {'task': 1, 'start': 301, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 339, 'machine': 2, 'duration': 20}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 153, 'machine': 1, 'duration': 51}, {'task': 2, 'start': 207, 'machine': 2, 'duration': 53}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 298, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 339, 'machine': 1, 'duration': 11}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 81}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 256, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 301, 'machine': 2, 'duration': 25}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 324, 'machine': 0, 'duration': 25}, {'task': 1, 'start': 350, 'machine': 1, 'duration': 19}, {'task': 2, 'start': 260, 'machine': 2, 'duration': 33}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 349, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 80}, {'task': 2, 'start': 154, 'machine': 2, 'duration': 53}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 187, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 80, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 293, 'machine': 2, 'duration': 8}]}]",369.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 52}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 73}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 27}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 38}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 20}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 97}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 51}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 53}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 26}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 11}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 81}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 90}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 45}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 25}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 25}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 19}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 33}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 1, 'duration': 11}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 2, 'duration': 80}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 3, 'duration': 53}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 1, 'duration': 84}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 2, 'duration': 73}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 3, 'duration': 8}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 360, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 204, 'machine': 2, 'duration': 52}, {'task': 2, 'start': 81, 'machine': 3, 'duration': 73}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 271, 'machine': 1, 'duration': 27}, {'task': 1, 'start': 301, 'machine': 2, 'duration': 38}, {'task': 2, 'start': 339, 'machine': 3, 'duration': 20}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 97}, {'task': 1, 'start': 153, 'machine': 2, 'duration': 51}, {'task': 2, 'start': 207, 'machine': 3, 'duration': 53}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 298, 'machine': 1, 'duration': 26}, {'task': 1, 'start': 339, 'machine': 2, 'duration': 11}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 81}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 97, 'machine': 1, 'duration': 90}, {'task': 1, 'start': 256, 'machine': 2, 'duration': 45}, {'task': 2, 'start': 301, 'machine': 3, 'duration': 25}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 324, 'machine': 1, 'duration': 25}, {'task': 1, 'start': 350, 'machine': 2, 'duration': 19}, {'task': 2, 'start': 260, 'machine': 3, 'duration': 33}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 349, 'machine': 1, 'duration': 11}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 80}, {'task': 2, 'start': 154, 'machine': 3, 'duration': 53}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 187, 'machine': 1, 'duration': 84}, {'task': 1, 'start': 80, 'machine': 2, 'duration': 73}, {'task': 2, 'start': 293, 'machine': 3, 'duration': 8}]}]",1,markdown_table,1
OSP,OSP,"There’s a wedding planner juggling multiple sites, each site expecting a fixed group of vendors to come through exactly once — but the order of those visits is up for grabs. The job is to pick the sequence and start times for each vendor at each site so vendors don’t overlap between venues and no site has two teams working at the same instant. Success is measured by the moment the last site is wrapped up: the earlier that time, the better the schedule. The specific venue requirements and vendor details appear below.

{
  ""nr_venues"": 6,
  ""nr_vendors"": 5,
  ""venue_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""vendor_ids"": [
    0,
    1,
    2,
    3,
    4
  ],
  ""tasks"": [
    {
      ""venue_id"": ""J1"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 1
    },
    {
      ""venue_id"": ""J1"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 65
    },
    {
      ""venue_id"": ""J1"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 49
    },
    {
      ""venue_id"": ""J1"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 72
    },
    {
      ""venue_id"": ""J1"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 90
    },
    {
      ""venue_id"": ""J2"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 42
    },
    {
      ""venue_id"": ""J2"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 3
    },
    {
      ""venue_id"": ""J2"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 19
    },
    {
      ""venue_id"": ""J2"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 21
    },
    {
      ""venue_id"": ""J2"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 19
    },
    {
      ""venue_id"": ""J3"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 49
    },
    {
      ""venue_id"": ""J3"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 34
    },
    {
      ""venue_id"": ""J3"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 73
    },
    {
      ""venue_id"": ""J3"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 49
    },
    {
      ""venue_id"": ""J3"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 30
    },
    {
      ""venue_id"": ""J4"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 77
    },
    {
      ""venue_id"": ""J4"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 86
    },
    {
      ""venue_id"": ""J4"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 33
    },
    {
      ""venue_id"": ""J4"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 49
    },
    {
      ""venue_id"": ""J4"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 87
    },
    {
      ""venue_id"": ""J5"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 95
    },
    {
      ""venue_id"": ""J5"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 53
    },
    {
      ""venue_id"": ""J5"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 33
    },
    {
      ""venue_id"": ""J5"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 1
    },
    {
      ""venue_id"": ""J5"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 39
    },
    {
      ""venue_id"": ""J6"",
      ""task_index"": 0,
      ""vendor_id"": 0,
      ""service_duration"": 66
    },
    {
      ""venue_id"": ""J6"",
      ""task_index"": 1,
      ""vendor_id"": 1,
      ""service_duration"": 95
    },
    {
      ""venue_id"": ""J6"",
      ""task_index"": 2,
      ""vendor_id"": 2,
      ""service_duration"": 12
    },
    {
      ""venue_id"": ""J6"",
      ""task_index"": 3,
      ""vendor_id"": 3,
      ""service_duration"": 88
    },
    {
      ""venue_id"": ""J6"",
      ""task_index"": 4,
      ""vendor_id"": 4,
      ""service_duration"": 15
    }
  ]
}

And just so we're on the same page about how I’d like the answer formatted, here’s a little sketch of the JSON shape I expect — nothing fancy, just the layout so it’s easy to plug your schedule into.

{
  ""solution"": [
    {
      ""job"": <site_id>,
      ""tasks"": [
        {
          ""task"": <vendor_task_index>,
          ""start"": <start_time>,
          ""machine"": <vendor_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of each entry as one site (job) and its list of vendor visits (tasks). The ""task"" entry names the specific vendor visit, ""start"" is when that visit begins, ""machine"" is the vendor/team handling the task, and ""duration"" is how long they stay. This JSON is just a shape guide — not the actual schedule.

Please be sure to use the exact identifiers from the instance input — don’t rename or invent labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'nr_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 65], [2, 49], [3, 72], [4, 90]], [[0, 42], [1, 3], [2, 19], [3, 21], [4, 19]], [[0, 49], [1, 34], [2, 73], [3, 49], [4, 30]], [[0, 77], [1, 86], [2, 33], [3, 49], [4, 87]], [[0, 95], [1, 53], [2, 33], [3, 1], [4, 39]], [[0, 66], [1, 95], [2, 12], [3, 88], [4, 15]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 335, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 88, 'machine': 2, 'duration': 49}, {'task': 3, 'start': 258, 'machine': 3, 'duration': 72}, {'task': 4, 'start': 168, 'machine': 4, 'duration': 90}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 81, 'machine': 0, 'duration': 42}, {'task': 1, 'start': 152, 'machine': 1, 'duration': 3}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 19}, {'task': 3, 'start': 155, 'machine': 3, 'duration': 21}, {'task': 4, 'start': 304, 'machine': 4, 'duration': 19}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 125, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 65, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 201, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 49}, {'task': 4, 'start': 274, 'machine': 4, 'duration': 30}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 4, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 250, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 168, 'machine': 2, 'duration': 33}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 49}, {'task': 4, 'start': 81, 'machine': 4, 'duration': 87}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 174, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 99, 'machine': 1, 'duration': 53}, {'task': 2, 'start': 55, 'machine': 2, 'duration': 33}, {'task': 3, 'start': 54, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 15, 'machine': 4, 'duration': 39}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 269, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 155, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 143, 'machine': 2, 'duration': 12}, {'task': 3, 'start': 55, 'machine': 3, 'duration': 88}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 15}]}]",336.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 65}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 49}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 72}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 90}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 42}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 3}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 19}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 21}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 19}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 49}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 34}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 73}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 49}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 30}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 77}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 86}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 33}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 49}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 87}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 95}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 53}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 33}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 1}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 39}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 66}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 95}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 12}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 88}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 15}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 335, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 88, 'machine': 2, 'duration': 49}, {'task': 3, 'start': 258, 'machine': 3, 'duration': 72}, {'task': 4, 'start': 168, 'machine': 4, 'duration': 90}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 81, 'machine': 0, 'duration': 42}, {'task': 1, 'start': 152, 'machine': 1, 'duration': 3}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 19}, {'task': 3, 'start': 155, 'machine': 3, 'duration': 21}, {'task': 4, 'start': 304, 'machine': 4, 'duration': 19}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 125, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 65, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 201, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 49}, {'task': 4, 'start': 274, 'machine': 4, 'duration': 30}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 4, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 250, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 168, 'machine': 2, 'duration': 33}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 49}, {'task': 4, 'start': 81, 'machine': 4, 'duration': 87}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 174, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 99, 'machine': 1, 'duration': 53}, {'task': 2, 'start': 55, 'machine': 2, 'duration': 33}, {'task': 3, 'start': 54, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 15, 'machine': 4, 'duration': 39}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 269, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 155, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 143, 'machine': 2, 'duration': 12}, {'task': 3, 'start': 55, 'machine': 3, 'duration': 88}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 15}]}]",2,json,0
OSP,OSP,"I got a note from the post crew asking for a plan: several reels need to go through a handful of stations (color, sound, VFX, whatever), and for each reel every assigned station has to touch it once — no skipping, no doing the same station twice. The work order for a given reel can be any order, so the trick is picking which station each reel goes to first, second, etc., and when to start each handoff. Better plans are the ones that get the entire batch finished sooner — measured by the clock time when the last reel comes out of its final station. Stations can only work on one reel at a time, and a reel can’t be in two stations at once. Concrete details about the reels and stations are listed below.

# num_reels=7
# num_stations=3
# reel_ids=J1, J2, J3, J4, J5, J6, J7
# station_ids=A, B, C
reel_id,task_index,station_id,processing_duration
J1,0,A,1
J1,1,B,78
J1,2,C,25
J2,0,A,18
J2,1,B,44
J2,2,C,63
J3,0,A,7
J3,1,B,87
J3,2,C,89
J4,0,A,13
J4,1,B,87
J4,2,C,85
J5,0,A,56
J5,1,B,52
J5,2,C,35
J6,0,A,31
J6,1,B,53
J6,2,C,34
J7,0,A,87
J7,1,B,94
J7,2,C,37

Also, when you hand me the plan, please use a simple JSON layout like this — just a relaxed sketch of the shape I want so it's easy to read and parse:

{
  ""solution"": [
    {
      ""job"": <reel_id>,
      ""tasks"": [
        {
          ""task"": <touch_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a tiny form for each reel: ""job"" is the reel identifier, ""tasks"" is the ordered list of touches that reel will get, and each task shows which touch it is, when it starts, which station handles it, and how long that touch takes. Super informal — just fill each reel's schedule the same way.

This JSON is only a sketch of the expected shape, not the actual schedule — I'll need the real values to produce the plan.

Please make sure all identifiers are 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_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 78], [2, 25]], [[0, 18], [1, 44], [2, 63]], [[0, 7], [1, 87], [2, 89]], [[0, 13], [1, 87], [2, 85]], [[0, 56], [1, 52], [2, 35]], [[0, 31], [1, 53], [2, 34]], [[0, 87], [1, 94], [2, 37]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 199, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 268, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 346, 'machine': 2, 'duration': 25}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 87, 'machine': 0, 'duration': 18}, {'task': 1, 'start': 451, 'machine': 1, 'duration': 44}, {'task': 2, 'start': 174, 'machine': 2, 'duration': 63}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 192, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 89}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 268, 'machine': 0, 'duration': 13}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 89, 'machine': 2, 'duration': 85}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 56}, {'task': 1, 'start': 399, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 274, 'machine': 2, 'duration': 35}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 56, 'machine': 0, 'duration': 31}, {'task': 1, 'start': 346, 'machine': 1, 'duration': 53}, {'task': 2, 'start': 309, 'machine': 2, 'duration': 34}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 105, 'machine': 0, 'duration': 87}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 237, 'machine': 2, 'duration': 37}]}]",495.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 78}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 25}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 18}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 44}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 63}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 7}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 87}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 13}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 87}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 85}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 56}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 52}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 35}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 31}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 53}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 34}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 87}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 94}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 37}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 199, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 268, 'machine': 'B', 'duration': 78}, {'task': 2, 'start': 346, 'machine': 'C', 'duration': 25}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 87, 'machine': 'A', 'duration': 18}, {'task': 1, 'start': 451, 'machine': 'B', 'duration': 44}, {'task': 2, 'start': 174, 'machine': 'C', 'duration': 63}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 192, 'machine': 'A', 'duration': 7}, {'task': 1, 'start': 94, 'machine': 'B', 'duration': 87}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 89}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 268, 'machine': 'A', 'duration': 13}, {'task': 1, 'start': 181, 'machine': 'B', 'duration': 87}, {'task': 2, 'start': 89, 'machine': 'C', 'duration': 85}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 56}, {'task': 1, 'start': 399, 'machine': 'B', 'duration': 52}, {'task': 2, 'start': 274, 'machine': 'C', 'duration': 35}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 56, 'machine': 'A', 'duration': 31}, {'task': 1, 'start': 346, 'machine': 'B', 'duration': 53}, {'task': 2, 'start': 309, 'machine': 'C', 'duration': 34}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 105, 'machine': 'A', 'duration': 87}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 94}, {'task': 2, 'start': 237, 'machine': 'C', 'duration': 37}]}]",3,csv,names
OSP,OSP,"Back at the depot there’s a practical puzzle: a fleet needs servicing and each truck must visit a few specified bays once apiece, but nobody has fixed the order of those visits. The person scheduling has to pick both the order for each truck and the start times for every service so that bays aren’t double-booked and trucks don’t overlap locations. The success of any plan is measured by the moment the final truck leaves — that latest departure time is what the schedule should minimize. Concrete details are shown below.

There are 6 trucks and 3 bays — trucks: J1, J2, J3, J4, J5, J6; bays: 0, 1, 2.
Truck J1, service entry 0, requires bay 0 for 1.
Truck J1, service entry 1, requires bay 1 for 92.
Truck J1, service entry 2, requires bay 2 for 1.
Truck J2, service entry 0, requires bay 0 for 64.
Truck J2, service entry 1, requires bay 1 for 97.
Truck J2, service entry 2, requires bay 2 for 85.
Truck J3, service entry 0, requires bay 0 for 12.
Truck J3, service entry 1, requires bay 1 for 55.
Truck J3, service entry 2, requires bay 2 for 57.
Truck J4, service entry 0, requires bay 0 for 7.
Truck J4, service entry 1, requires bay 1 for 26.
Truck J4, service entry 2, requires bay 2 for 37.
Truck J5, service entry 0, requires bay 0 for 39.
Truck J5, service entry 1, requires bay 1 for 56.
Truck J5, service entry 2, requires bay 2 for 41.
Truck J6, service entry 0, requires bay 0 for 83.
Truck J6, service entry 1, requires bay 1 for 20.
Truck J6, service entry 2, requires bay 2 for 35.
The person scheduling should pick orders and start times so the latest departure time is minimized.

You can just reply with a little JSON sketch in the shape below — nothing fancy, just that structure so I know which truck (job) and which bay visits (tasks) go where and when.

{
  ""solution"": [
    {
      ""job"": <truck_id>,
      ""tasks"": [
        {
          ""task"": <service_index>,
          ""start"": <start_time>,
          ""machine"": <bay_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a simple form: each ""job"" is one truck, ""tasks"" is the list of services that truck needs to visit, ""task"" is just the index or label for that visit, ""start"" is when that service begins, ""machine"" is the bay where it happens, and ""duration"" is how long it takes. This JSON is just a sketch of the expected shape — not the actual answer.

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_machines': 3, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 92], [2, 1]], [[0, 64], [1, 97], [2, 85]], [[0, 12], [1, 55], [2, 57]], [[0, 7], [1, 26], [2, 37]], [[0, 39], [1, 56], [2, 41]], [[0, 83], [1, 20], [2, 35]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 247, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 97, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 255, 'machine': 2, 'duration': 1}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 183, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 85}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 83, 'machine': 0, 'duration': 12}, {'task': 1, 'start': 245, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 57}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 300, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 183, 'machine': 2, 'duration': 37}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 102, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 189, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 57, 'machine': 2, 'duration': 41}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 83}, {'task': 1, 'start': 326, 'machine': 1, 'duration': 20}, {'task': 2, 'start': 220, 'machine': 2, 'duration': 35}]}]",346.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 92}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 1}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 64}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 97}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 85}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 12}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 55}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 57}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 7}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 26}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 37}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 39}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 56}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 41}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 83}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 20}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 35}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 247, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 97, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 255, 'machine': 2, 'duration': 1}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 183, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 85}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 83, 'machine': 0, 'duration': 12}, {'task': 1, 'start': 245, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 57}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 300, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 183, 'machine': 2, 'duration': 37}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 102, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 189, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 57, 'machine': 2, 'duration': 41}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 83}, {'task': 1, 'start': 326, 'machine': 1, 'duration': 20}, {'task': 2, 'start': 220, 'machine': 2, 'duration': 35}]}]",4,nl,0
OSP,OSP,"Many people in the studio are juggling pieces that each require touches at several specialty stations; each piece must visit each listed station one time, but the order of visits can change from piece to piece. Someone needs to decide the order for every piece and when each station should start each step, ensuring stations aren’t double-booked and an item never sits in two places at once. The obvious aim is to have the whole pile done as soon as possible — the schedule’s score is the time the final piece is completed. The instance specifics are given below.

There are 8 pieces and 3 stations; the piece identifiers are J1, J2, J3, J4, J5, J6, J7, J8 and the station identifiers are 1, 2, 3.
Piece J1, step 0, must be processed on station 1 for 1 time units.
Piece J1, step 1, must be processed on station 2 for 6 time units.
Piece J1, step 2, must be processed on station 3 for 76 time units.
Piece J2, step 0, must be processed on station 1 for 10 time units.
Piece J2, step 1, must be processed on station 2 for 51 time units.
Piece J2, step 2, must be processed on station 3 for 8 time units.
Piece J3, step 0, must be processed on station 1 for 17 time units.
Piece J3, step 1, must be processed on station 2 for 23 time units.
Piece J3, step 2, must be processed on station 3 for 25 time units.
Piece J4, step 0, must be processed on station 1 for 99 time units.
Piece J4, step 1, must be processed on station 2 for 64 time units.
Piece J4, step 2, must be processed on station 3 for 89 time units.
Piece J5, step 0, must be processed on station 1 for 23 time units.
Piece J5, step 1, must be processed on station 2 for 59 time units.
Piece J5, step 2, must be processed on station 3 for 46 time units.
Piece J6, step 0, must be processed on station 1 for 37 time units.
Piece J6, step 1, must be processed on station 2 for 87 time units.
Piece J6, step 2, must be processed on station 3 for 36 time units.
Piece J7, step 0, must be processed on station 1 for 64 time units.
Piece J7, step 1, must be processed on station 2 for 8 time units.
Piece J7, step 2, must be processed on station 3 for 21 time units.
Piece J8, step 0, must be processed on station 1 for 59 time units.
Piece J8, step 1, must be processed on station 2 for 10 time units.
Piece J8, step 2, must be processed on station 3 for 80 time units.
Schedule decisions must prevent station double-booking and ensure no piece is in two places at once.

Also, to make it easy for whoever's filling this in, here's the little JSON shape I'd like the final schedule to follow — nothing fancy, just a clear outline of each piece (job) and all its steps. Use the exact layout below when you post the schedule.

{
  ""solution"": [
    {
      ""job"": <piece_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a simple form: each top-level object in ""solution"" is one piece (job). ""job"" is the piece identifier, ""tasks"" is the list of its steps. For each step, ""task"" is just the step index, ""start"" is when that step begins, ""machine"" is which station does the work, and ""duration"" is how long it takes. This is just a sketch of the expected shape — not the actual answer.

Please remember: when you fill in the real schedule, 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 6], [2, 76]], [[0, 10], [1, 51], [2, 8]], [[0, 17], [1, 23], [2, 25]], [[0, 99], [1, 64], [2, 89]], [[0, 23], [1, 59], [2, 46]], [[0, 37], [1, 87], [2, 36]], [[0, 64], [1, 8], [2, 21]], [[0, 59], [1, 10], [2, 80]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 309, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 302, 'machine': 1, 'duration': 6}, {'task': 2, 'start': 80, 'machine': 2, 'duration': 76}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 282, 'machine': 0, 'duration': 10}, {'task': 1, 'start': 210, 'machine': 1, 'duration': 51}, {'task': 2, 'start': 373, 'machine': 2, 'duration': 8}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 292, 'machine': 0, 'duration': 17}, {'task': 1, 'start': 261, 'machine': 1, 'duration': 23}, {'task': 2, 'start': 327, 'machine': 2, 'duration': 25}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 99}, {'task': 1, 'start': 146, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 238, 'machine': 2, 'duration': 89}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 222, 'machine': 0, 'duration': 23}, {'task': 1, 'start': 87, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 156, 'machine': 2, 'duration': 46}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 245, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 202, 'machine': 2, 'duration': 36}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 99, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 294, 'machine': 1, 'duration': 8}, {'task': 2, 'start': 352, 'machine': 2, 'duration': 21}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 163, 'machine': 0, 'duration': 59}, {'task': 1, 'start': 284, 'machine': 1, 'duration': 10}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 80}]}]",381.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 6}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 76}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 10}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 51}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 8}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 17}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 23}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 25}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 99}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 64}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 89}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 23}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 59}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 46}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 37}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 87}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 36}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 1, 'duration': 64}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 2, 'duration': 8}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 3, 'duration': 21}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 1, 'duration': 59}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 2, 'duration': 10}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 3, 'duration': 80}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 309, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 302, 'machine': 2, 'duration': 6}, {'task': 2, 'start': 80, 'machine': 3, 'duration': 76}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 282, 'machine': 1, 'duration': 10}, {'task': 1, 'start': 210, 'machine': 2, 'duration': 51}, {'task': 2, 'start': 373, 'machine': 3, 'duration': 8}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 292, 'machine': 1, 'duration': 17}, {'task': 1, 'start': 261, 'machine': 2, 'duration': 23}, {'task': 2, 'start': 327, 'machine': 3, 'duration': 25}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 99}, {'task': 1, 'start': 146, 'machine': 2, 'duration': 64}, {'task': 2, 'start': 238, 'machine': 3, 'duration': 89}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 222, 'machine': 1, 'duration': 23}, {'task': 1, 'start': 87, 'machine': 2, 'duration': 59}, {'task': 2, 'start': 156, 'machine': 3, 'duration': 46}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 245, 'machine': 1, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 87}, {'task': 2, 'start': 202, 'machine': 3, 'duration': 36}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 99, 'machine': 1, 'duration': 64}, {'task': 1, 'start': 294, 'machine': 2, 'duration': 8}, {'task': 2, 'start': 352, 'machine': 3, 'duration': 21}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 163, 'machine': 1, 'duration': 59}, {'task': 1, 'start': 284, 'machine': 2, 'duration': 10}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 80}]}]",5,nl,1
OSP,OSP,"I’m the one trying to pull together the testing schedule for a bunch of patients and a set of diagnostic machines — each patient needs to visit every machine they were assigned, exactly once, but there isn’t a fixed order for those visits. I’m deciding both the order their tests happen and the exact start times, making sure no machine handles two patients at once and no one is booked for two tests at the same moment; a better plan is simply the one where the clock time when the very last patient finishes all their tests is as early as possible. The concrete details of the patients, machines, and test lengths are listed below.

{
  ""nr_patients"": 8,
  ""nr_diagnostic_machines"": 5,
  ""patient_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""machine_ids"": [
    ""A"",
    ""B"",
    ""C"",
    ""D"",
    ""E""
  ],
  ""tasks"": [
    {
      ""patient_id"": ""J1"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 1
    },
    {
      ""patient_id"": ""J1"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 19
    },
    {
      ""patient_id"": ""J1"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 51
    },
    {
      ""patient_id"": ""J1"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 56
    },
    {
      ""patient_id"": ""J1"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 4
    },
    {
      ""patient_id"": ""J2"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 29
    },
    {
      ""patient_id"": ""J2"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 21
    },
    {
      ""patient_id"": ""J2"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 90
    },
    {
      ""patient_id"": ""J2"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 92
    },
    {
      ""patient_id"": ""J2"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 93
    },
    {
      ""patient_id"": ""J3"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 3
    },
    {
      ""patient_id"": ""J3"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 41
    },
    {
      ""patient_id"": ""J3"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 6
    },
    {
      ""patient_id"": ""J3"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 62
    },
    {
      ""patient_id"": ""J3"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 51
    },
    {
      ""patient_id"": ""J4"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 89
    },
    {
      ""patient_id"": ""J4"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 54
    },
    {
      ""patient_id"": ""J4"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 36
    },
    {
      ""patient_id"": ""J4"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 3
    },
    {
      ""patient_id"": ""J4"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 15
    },
    {
      ""patient_id"": ""J5"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 62
    },
    {
      ""patient_id"": ""J5"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 28
    },
    {
      ""patient_id"": ""J5"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 68
    },
    {
      ""patient_id"": ""J5"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 73
    },
    {
      ""patient_id"": ""J5"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 77
    },
    {
      ""patient_id"": ""J6"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 76
    },
    {
      ""patient_id"": ""J6"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 32
    },
    {
      ""patient_id"": ""J6"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 73
    },
    {
      ""patient_id"": ""J6"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 55
    },
    {
      ""patient_id"": ""J6"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 95
    },
    {
      ""patient_id"": ""J7"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 78
    },
    {
      ""patient_id"": ""J7"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 82
    },
    {
      ""patient_id"": ""J7"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 34
    },
    {
      ""patient_id"": ""J7"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 23
    },
    {
      ""patient_id"": ""J7"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 59
    },
    {
      ""patient_id"": ""J8"",
      ""test_index"": 0,
      ""required_machine_id"": ""A"",
      ""test_duration"": 43
    },
    {
      ""patient_id"": ""J8"",
      ""test_index"": 1,
      ""required_machine_id"": ""B"",
      ""test_duration"": 73
    },
    {
      ""patient_id"": ""J8"",
      ""test_index"": 2,
      ""required_machine_id"": ""C"",
      ""test_duration"": 55
    },
    {
      ""patient_id"": ""J8"",
      ""test_index"": 3,
      ""required_machine_id"": ""D"",
      ""test_duration"": 58
    },
    {
      ""patient_id"": ""J8"",
      ""test_index"": 4,
      ""required_machine_id"": ""E"",
      ""test_duration"": 17
    }
  ]
}

I'll put the planned schedule into a simple JSON shape like the one below — just a friendly way to show which patient (job) has which tests (tasks), when each test starts, which machine it's on, and how long it takes.

{
  ""solution"": [
    {
      ""job"": <patient_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <device_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I’ll use for the actual schedule output. In plain terms:
- ""solution"" is the top-level list of patient schedules.
- each object has ""job"" which is the patient identifier.
- ""tasks"" is a list of that patient’s tests; each task shows which test (task), when it starts (start), which diagnostic machine (machine/device), and how long the test lasts (duration).

Please treat the JSON above as an example of the format only, not the actual schedule. Also, use the exact identifiers from the instance input when you supply or expect values — do not rename or invent new identifiers. 

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_machines': 5, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 19], [2, 51], [3, 56], [4, 4]], [[0, 29], [1, 21], [2, 90], [3, 92], [4, 93]], [[0, 3], [1, 41], [2, 6], [3, 62], [4, 51]], [[0, 89], [1, 54], [2, 36], [3, 3], [4, 15]], [[0, 62], [1, 28], [2, 68], [3, 73], [4, 77]], [[0, 76], [1, 32], [2, 73], [3, 55], [4, 95]], [[0, 78], [1, 82], [2, 34], [3, 23], [4, 59]], [[0, 43], [1, 73], [2, 55], [3, 58], [4, 17]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 411, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 250, 'machine': 1, 'duration': 19}, {'task': 2, 'start': 356, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 285, 'machine': 3, 'duration': 56}, {'task': 4, 'start': 407, 'machine': 4, 'duration': 4}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 348, 'machine': 0, 'duration': 29}, {'task': 1, 'start': 286, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 196, 'machine': 2, 'duration': 90}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 92}, {'task': 4, 'start': 95, 'machine': 4, 'duration': 93}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 377, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 82, 'machine': 1, 'duration': 41}, {'task': 2, 'start': 407, 'machine': 2, 'duration': 6}, {'task': 3, 'start': 165, 'machine': 3, 'duration': 62}, {'task': 4, 'start': 324, 'machine': 4, 'duration': 51}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 89}, {'task': 1, 'start': 196, 'machine': 1, 'duration': 54}, {'task': 2, 'start': 286, 'machine': 2, 'duration': 36}, {'task': 3, 'start': 419, 'machine': 3, 'duration': 3}, {'task': 4, 'start': 392, 'machine': 4, 'duration': 15}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 167, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 339, 'machine': 1, 'duration': 28}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 68}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 73}, {'task': 4, 'start': 247, 'machine': 4, 'duration': 77}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 229, 'machine': 0, 'duration': 76}, {'task': 1, 'start': 307, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 123, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 341, 'machine': 3, 'duration': 55}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 95}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 89, 'machine': 0, 'duration': 78}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 2, 'start': 322, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 396, 'machine': 3, 'duration': 23}, {'task': 4, 'start': 188, 'machine': 4, 'duration': 59}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 305, 'machine': 0, 'duration': 43}, {'task': 1, 'start': 123, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 68, 'machine': 2, 'duration': 55}, {'task': 3, 'start': 227, 'machine': 3, 'duration': 58}, {'task': 4, 'start': 375, 'machine': 4, 'duration': 17}]}]",422.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 19}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 51}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 56}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 4}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 29}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 21}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 90}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 92}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 93}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 3}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 41}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 6}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 62}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 51}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 89}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 54}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 36}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 3}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 15}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 62}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 28}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 68}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 73}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 77}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 76}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 32}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 73}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 55}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 95}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 78}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 82}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 34}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 23}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 59}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 43}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 73}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 55}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 58}, {'job_id': 'J8', 'task_id': 4, 'machine_id': 'E', 'duration': 17}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 411, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 250, 'machine': 'B', 'duration': 19}, {'task': 2, 'start': 356, 'machine': 'C', 'duration': 51}, {'task': 3, 'start': 285, 'machine': 'D', 'duration': 56}, {'task': 4, 'start': 407, 'machine': 'E', 'duration': 4}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 348, 'machine': 'A', 'duration': 29}, {'task': 1, 'start': 286, 'machine': 'B', 'duration': 21}, {'task': 2, 'start': 196, 'machine': 'C', 'duration': 90}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 92}, {'task': 4, 'start': 95, 'machine': 'E', 'duration': 93}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 377, 'machine': 'A', 'duration': 3}, {'task': 1, 'start': 82, 'machine': 'B', 'duration': 41}, {'task': 2, 'start': 407, 'machine': 'C', 'duration': 6}, {'task': 3, 'start': 165, 'machine': 'D', 'duration': 62}, {'task': 4, 'start': 324, 'machine': 'E', 'duration': 51}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 89}, {'task': 1, 'start': 196, 'machine': 'B', 'duration': 54}, {'task': 2, 'start': 286, 'machine': 'C', 'duration': 36}, {'task': 3, 'start': 419, 'machine': 'D', 'duration': 3}, {'task': 4, 'start': 392, 'machine': 'E', 'duration': 15}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 167, 'machine': 'A', 'duration': 62}, {'task': 1, 'start': 339, 'machine': 'B', 'duration': 28}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 68}, {'task': 3, 'start': 92, 'machine': 'D', 'duration': 73}, {'task': 4, 'start': 247, 'machine': 'E', 'duration': 77}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 229, 'machine': 'A', 'duration': 76}, {'task': 1, 'start': 307, 'machine': 'B', 'duration': 32}, {'task': 2, 'start': 123, 'machine': 'C', 'duration': 73}, {'task': 3, 'start': 341, 'machine': 'D', 'duration': 55}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 95}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 89, 'machine': 'A', 'duration': 78}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 82}, {'task': 2, 'start': 322, 'machine': 'C', 'duration': 34}, {'task': 3, 'start': 396, 'machine': 'D', 'duration': 23}, {'task': 4, 'start': 188, 'machine': 'E', 'duration': 59}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 305, 'machine': 'A', 'duration': 43}, {'task': 1, 'start': 123, 'machine': 'B', 'duration': 73}, {'task': 2, 'start': 68, 'machine': 'C', 'duration': 55}, {'task': 3, 'start': 227, 'machine': 'D', 'duration': 58}, {'task': 4, 'start': 375, 'machine': 'E', 'duration': 17}]}]",6,json,names
OSP,OSP,"There’s a brewery trying to make the most of its tanks while several brews are in progress. Each brew must visit every process tank listed, once apiece, but the order isn’t fixed, so someone has to choose the order of visits and the timing of each transfer. Since a tank can only work on one brew at a time and a brew can’t be in two tanks at once, the goal is to have the last brew finish as soon as possible — check the time when the final transfer completes to see how good a plan is. The concrete details are shown below.

There are 8 batches and 3 tanks; the batch ids are J1, J2, J3, J4, J5, J6, J7, J8 and the tank ids are 0, 1, 2.

| batch_id | visit_index | tank_id | processing_time |
|---|---|---|---|
| J1 | 0 | 0 | 1 |
| J1 | 1 | 1 | 32 |
| J1 | 2 | 2 | 27 |
| J2 | 0 | 0 | 2 |
| J2 | 1 | 1 | 57 |
| J2 | 2 | 2 | 51 |
| J3 | 0 | 0 | 26 |
| J3 | 1 | 1 | 58 |
| J3 | 2 | 2 | 61 |
| J4 | 0 | 0 | 86 |
| J4 | 1 | 1 | 41 |
| J4 | 2 | 2 | 93 |
| J5 | 0 | 0 | 88 |
| J5 | 1 | 1 | 66 |
| J5 | 2 | 2 | 57 |
| J6 | 0 | 0 | 43 |
| J6 | 1 | 1 | 22 |
| J6 | 2 | 2 | 37 |
| J7 | 0 | 0 | 40 |
| J7 | 1 | 1 | 21 |
| J7 | 2 | 2 | 4 |
| J8 | 0 | 0 | 96 |
| J8 | 1 | 1 | 27 |
| J8 | 2 | 2 | 66 |

The goal remains to have the last brew finish as soon as possible; use these details to plan transfers accordingly.

Also, when you send back a plan, keep it in a simple JSON layout so it's easy to read and parse — something like this:

{
  ""solution"": [
    {
      ""job"": <brew_id>,
      ""tasks"": [
        {
          ""task"": <transfer_index>,
          ""start"": <start_time>,
          ""machine"": <tank_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This little sketch just shows the shape I’m expecting: each top-level entry is a brew (job), inside it you list the brew’s transfers (tasks) with a task index, a start time, which tank (machine) it uses, and how long that step takes. Think of it like a simple form you’d fill out for each brew’s itinerary.

The JSON above is just an example of the expected shape, not the actual schedule. Please also 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”.""","{'nr_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 32], [2, 27]], [[0, 2], [1, 57], [2, 51]], [[0, 26], [1, 58], [2, 61]], [[0, 86], [1, 41], [2, 93]], [[0, 88], [1, 66], [2, 57]], [[0, 43], [1, 22], [2, 37]], [[0, 40], [1, 21], [2, 4]], [[0, 96], [1, 27], [2, 66]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 381, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 328, 'machine': 2, 'duration': 27}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 379, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 124, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 277, 'machine': 2, 'duration': 51}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 353, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 66, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 216, 'machine': 2, 'duration': 61}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 96, 'machine': 0, 'duration': 86}, {'task': 1, 'start': 213, 'machine': 1, 'duration': 41}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 93}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 182, 'machine': 0, 'duration': 88}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 93, 'machine': 2, 'duration': 57}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 43}, {'task': 1, 'start': 313, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 355, 'machine': 2, 'duration': 37}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 313, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 281, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 392, 'machine': 2, 'duration': 4}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 254, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 150, 'machine': 2, 'duration': 66}]}]",396.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 32}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 27}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 2}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 57}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 51}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 26}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 58}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 61}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 86}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 41}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 93}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 88}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 66}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 57}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 43}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 22}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 37}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 40}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 21}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 4}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 96}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 27}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 66}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 381, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 328, 'machine': 2, 'duration': 27}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 379, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 124, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 277, 'machine': 2, 'duration': 51}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 353, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 66, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 216, 'machine': 2, 'duration': 61}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 96, 'machine': 0, 'duration': 86}, {'task': 1, 'start': 213, 'machine': 1, 'duration': 41}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 93}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 182, 'machine': 0, 'duration': 88}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 93, 'machine': 2, 'duration': 57}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 43}, {'task': 1, 'start': 313, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 355, 'machine': 2, 'duration': 37}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 313, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 281, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 392, 'machine': 2, 'duration': 4}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 254, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 150, 'machine': 2, 'duration': 66}]}]",7,markdown_table,0
OSP,OSP,"Many people don’t realize how much coordination goes into a dry-cleaner’s day: a batch of garments each needs to be processed on several machines exactly once, and the order of those visits can be freely chosen. The task here is to assign the sequence and start times so each machine only handles one garment at a time and no garment is processed in two places simultaneously. The plan is judged by how quickly the last piece is completed — that end time tells how good the schedule is — and every required visit must happen once, without omissions or duplicates. Details about the items and machines follow below.

{
  ""total_garments"": 8,
  ""total_machines"": 4,
  ""garment_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""machine_ids"": [
    0,
    1,
    2,
    3
  ],
  ""tasks"": [
    {
      ""garment_id"": ""J1"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 1
    },
    {
      ""garment_id"": ""J1"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 45
    },
    {
      ""garment_id"": ""J1"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 3
    },
    {
      ""garment_id"": ""J1"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 47
    },
    {
      ""garment_id"": ""J2"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 11
    },
    {
      ""garment_id"": ""J2"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 73
    },
    {
      ""garment_id"": ""J2"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 31
    },
    {
      ""garment_id"": ""J2"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 27
    },
    {
      ""garment_id"": ""J3"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 29
    },
    {
      ""garment_id"": ""J3"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 80
    },
    {
      ""garment_id"": ""J3"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 79
    },
    {
      ""garment_id"": ""J3"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 45
    },
    {
      ""garment_id"": ""J4"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 72
    },
    {
      ""garment_id"": ""J4"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 69
    },
    {
      ""garment_id"": ""J4"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 62
    },
    {
      ""garment_id"": ""J4"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 95
    },
    {
      ""garment_id"": ""J5"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 88
    },
    {
      ""garment_id"": ""J5"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 38
    },
    {
      ""garment_id"": ""J5"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 78
    },
    {
      ""garment_id"": ""J5"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 28
    },
    {
      ""garment_id"": ""J6"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 46
    },
    {
      ""garment_id"": ""J6"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 65
    },
    {
      ""garment_id"": ""J6"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 86
    },
    {
      ""garment_id"": ""J6"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 59
    },
    {
      ""garment_id"": ""J7"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 46
    },
    {
      ""garment_id"": ""J7"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 82
    },
    {
      ""garment_id"": ""J7"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 51
    },
    {
      ""garment_id"": ""J7"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 5
    },
    {
      ""garment_id"": ""J8"",
      ""task_index"": 0,
      ""required_machine"": 0,
      ""processing_time"": 39
    },
    {
      ""garment_id"": ""J8"",
      ""task_index"": 1,
      ""required_machine"": 1,
      ""processing_time"": 36
    },
    {
      ""garment_id"": ""J8"",
      ""task_index"": 2,
      ""required_machine"": 2,
      ""processing_time"": 60
    },
    {
      ""garment_id"": ""J8"",
      ""task_index"": 3,
      ""required_machine"": 3,
      ""processing_time"": 35
    }
  ]
}

Oh, and when you send back the plan, just use a simple JSON shape like this so it's easy to read and check:

{
  ""solution"": [
    {
      ""job"": <garment_id>,
      ""tasks"": [
        {
          ""task"": <visit_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This block is just a friendly template: ""solution"" holds a list of items (one per garment), each item has a ""job"" id and a ""tasks"" list. Each task entry says which visit it is, when it starts, which machine/station it goes to, and how long it takes. Think of it like a simple schedule form you fill in for each garment. It's only a sketch of the expected shape, not the final answer.

Please make sure you 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_machines': 4, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 45], [2, 3], [3, 47]], [[0, 11], [1, 73], [2, 31], [3, 27]], [[0, 29], [1, 80], [2, 79], [3, 45]], [[0, 72], [1, 69], [2, 62], [3, 95]], [[0, 88], [1, 38], [2, 78], [3, 28]], [[0, 46], [1, 65], [2, 86], [3, 59]], [[0, 46], [1, 82], [2, 51], [3, 5]], [[0, 39], [1, 36], [2, 60], [3, 35]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 320, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 235, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 447, 'machine': 2, 'duration': 3}, {'task': 3, 'start': 154, 'machine': 3, 'duration': 47}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 336, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 162, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 416, 'machine': 2, 'duration': 31}, {'task': 3, 'start': 309, 'machine': 3, 'duration': 27}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 252, 'machine': 0, 'duration': 29}, {'task': 1, 'start': 82, 'machine': 1, 'duration': 80}, {'task': 2, 'start': 286, 'machine': 2, 'duration': 79}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 45}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 134, 'machine': 0, 'duration': 72}, {'task': 1, 'start': 345, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 224, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 95}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 88}, {'task': 1, 'start': 414, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 146, 'machine': 2, 'duration': 78}, {'task': 3, 'start': 281, 'machine': 3, 'duration': 28}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 206, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 280, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 86}, {'task': 3, 'start': 95, 'machine': 3, 'duration': 59}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 88, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 2, 'start': 365, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 336, 'machine': 3, 'duration': 5}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 281, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 452, 'machine': 1, 'duration': 36}, {'task': 2, 'start': 86, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 246, 'machine': 3, 'duration': 35}]}]",488.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 45}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 3}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 47}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 11}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 73}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 31}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 27}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 29}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 80}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 79}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 45}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 72}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 69}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 62}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 95}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 88}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 38}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 78}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 28}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 46}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 65}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 86}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 59}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 46}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 82}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 51}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 3, 'duration': 5}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 39}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 36}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 60}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 3, 'duration': 35}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 320, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 235, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 447, 'machine': 2, 'duration': 3}, {'task': 3, 'start': 154, 'machine': 3, 'duration': 47}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 336, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 162, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 416, 'machine': 2, 'duration': 31}, {'task': 3, 'start': 309, 'machine': 3, 'duration': 27}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 252, 'machine': 0, 'duration': 29}, {'task': 1, 'start': 82, 'machine': 1, 'duration': 80}, {'task': 2, 'start': 286, 'machine': 2, 'duration': 79}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 45}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 134, 'machine': 0, 'duration': 72}, {'task': 1, 'start': 345, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 224, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 95}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 88}, {'task': 1, 'start': 414, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 146, 'machine': 2, 'duration': 78}, {'task': 3, 'start': 281, 'machine': 3, 'duration': 28}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 206, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 280, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 86}, {'task': 3, 'start': 95, 'machine': 3, 'duration': 59}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 88, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 2, 'start': 365, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 336, 'machine': 3, 'duration': 5}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 281, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 452, 'machine': 1, 'duration': 36}, {'task': 2, 'start': 86, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 246, 'machine': 3, 'duration': 35}]}]",8,json,0
OSP,OSP,"Back at the office, the release engineer sketched a plan for several builds that all need tests on the same pool of servers and wanted the whole set to finish as quickly as possible. Every build must be tested once on each server in its list, and the order and exact start times of those tests are up for decision. Servers can’t run more than one test at a time, and a build can’t be doing multiple tests simultaneously, so each required test happens exactly once. The timetable is judged by the clock time when the last build is done — take each build’s finish time and the maximum is the final time. The specific builds, servers, and timings are shown below.

{
  ""num_builds"": 6,
  ""num_servers"": 3,
  ""build_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""server_ids"": [
    0,
    1,
    2
  ],
  ""tasks"": [
    {
      ""build_id"": ""J1"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 1
    },
    {
      ""build_id"": ""J1"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 58
    },
    {
      ""build_id"": ""J1"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 78
    },
    {
      ""build_id"": ""J2"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 93
    },
    {
      ""build_id"": ""J2"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 64
    },
    {
      ""build_id"": ""J2"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 94
    },
    {
      ""build_id"": ""J3"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 35
    },
    {
      ""build_id"": ""J3"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 94
    },
    {
      ""build_id"": ""J3"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 96
    },
    {
      ""build_id"": ""J4"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 73
    },
    {
      ""build_id"": ""J4"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 18
    },
    {
      ""build_id"": ""J4"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 97
    },
    {
      ""build_id"": ""J5"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 55
    },
    {
      ""build_id"": ""J5"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 73
    },
    {
      ""build_id"": ""J5"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 67
    },
    {
      ""build_id"": ""J6"",
      ""test_index"": 0,
      ""server_id"": 0,
      ""test_duration"": 49
    },
    {
      ""build_id"": ""J6"",
      ""test_index"": 1,
      ""server_id"": 1,
      ""test_duration"": 56
    },
    {
      ""build_id"": ""J6"",
      ""test_index"": 2,
      ""server_id"": 2,
      ""test_duration"": 39
    }
  ]
}

And just so we're on the same page about how I'd like the answer formatted, here’s the little JSON shape I expect — nothing heavy, just a simple sketch of the layout you should follow.

{
  ""solution"": [
    {
      ""job"": <build_id>,
      ""tasks"": [
        {
          ""task"": <test_index>,
          ""start"": <start_time>,
          ""machine"": <server_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a filled-in form: each top-level entry in ""solution"" is one build, ""job"" is the build identifier, ""tasks"" is the list of tests that build needs, and each task line says which test (task), when it starts, which server it runs on, and how long it takes. Super casual — it's just to show the shape, not the real schedule.

Please remember that this JSON is only a sketch of the expected shape, not the actual answer. Also, all identifiers must be used exactly as they appear in the instance input — 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_machines': 3, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 58], [2, 78]], [[0, 93], [1, 64], [2, 94]], [[0, 35], [1, 94], [2, 96]], [[0, 73], [1, 18], [2, 97]], [[0, 55], [1, 73], [2, 67]], [[0, 49], [1, 56], [2, 39]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 305, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 231, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 354, 'machine': 2, 'duration': 78}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 93}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 94}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 35}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 97, 'machine': 2, 'duration': 96}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 345, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 97}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 287, 'machine': 2, 'duration': 67}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 221, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 289, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 432, 'machine': 2, 'duration': 39}]}]",471.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 58}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 78}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 93}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 64}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 94}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 35}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 94}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 96}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 73}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 18}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 97}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 55}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 73}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 67}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 49}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 56}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 39}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 305, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 231, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 354, 'machine': 2, 'duration': 78}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 93}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 94}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 35}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 97, 'machine': 2, 'duration': 96}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 345, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 97}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 287, 'machine': 2, 'duration': 67}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 221, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 289, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 432, 'machine': 2, 'duration': 39}]}]",9,json,0
OSP,OSP,"Someone at the lab wants a practical schedule: every print batch has its list of machines to visit exactly once, but there’s no fixed route, so the schedule-maker chooses the route and timing. Real-world limits apply — a machine can’t process two batches at once, and a batch can’t be processed on two machines at the same moment — and every required machine visit must happen exactly once. A better plan is the one that gets the entire set done sooner, i.e., the time on the clock when the final operation completes is lower. The exact instance data are shown below.

Instance data: 6 batches, 3 stations; batches = J1, J2, J3, J4, J5, J6; stations = A, B, C.
Batch J1, task 0 requires station A for 1 time units.
Batch J1, task 1 requires station B for 71 time units.
Batch J1, task 2 requires station C for 54 time units.
Batch J2, task 0 requires station A for 39 time units.
Batch J2, task 1 requires station B for 17 time units.
Batch J2, task 2 requires station C for 17 time units.
Batch J3, task 0 requires station A for 40 time units.
Batch J3, task 1 requires station B for 62 time units.
Batch J3, task 2 requires station C for 64 time units.
Batch J4, task 0 requires station A for 67 time units.
Batch J4, task 1 requires station B for 56 time units.
Batch J4, task 2 requires station C for 49 time units.
Batch J5, task 0 requires station A for 38 time units.
Batch J5, task 1 requires station B for 76 time units.
Batch J5, task 2 requires station C for 72 time units.
Batch J6, task 0 requires station A for 2 time units.
Batch J6, task 1 requires station B for 23 time units.
Batch J6, task 2 requires station C for 39 time units.
The schedule-maker must assign each required visit exactly once, respect station and batch exclusivity, and minimize the completion time.

Also, when you send the schedule back, just stick to this simple JSON layout so I can read it automatically:

{
  ""solution"": [
    {
      ""job"": <job_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <machine_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a short form: each top-level entry under ""solution"" is one print batch (job). ""tasks"" is the list of all required machine visits for that batch; within each task, ""task"" is just the task index/label, ""start"" is when that step begins (same time units as the instance), ""machine"" is which machine it visits, and ""duration"" is how long that visit takes. Super casual — this is just the shape I expect, not the actual schedule.

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_machines': 3, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 71], [2, 54]], [[0, 39], [1, 17], [2, 17]], [[0, 40], [1, 62], [2, 64]], [[0, 67], [1, 56], [2, 49]], [[0, 38], [1, 76], [2, 72]], [[0, 2], [1, 23], [2, 39]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 132, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 64, 'machine': 2, 'duration': 54}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 107, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 265, 'machine': 1, 'duration': 17}, {'task': 2, 'start': 282, 'machine': 2, 'duration': 17}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 67, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 203, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 64}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 67}, {'task': 1, 'start': 76, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 190, 'machine': 2, 'duration': 49}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 190, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 118, 'machine': 2, 'duration': 72}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 146, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 282, 'machine': 1, 'duration': 23}, {'task': 2, 'start': 239, 'machine': 2, 'duration': 39}]}]",305.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 71}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 54}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 39}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 17}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 17}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 40}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 62}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 64}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 67}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 56}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 49}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 38}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 76}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 72}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 2}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 23}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 39}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 228, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 132, 'machine': 'B', 'duration': 71}, {'task': 2, 'start': 64, 'machine': 'C', 'duration': 54}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 107, 'machine': 'A', 'duration': 39}, {'task': 1, 'start': 265, 'machine': 'B', 'duration': 17}, {'task': 2, 'start': 282, 'machine': 'C', 'duration': 17}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 67, 'machine': 'A', 'duration': 40}, {'task': 1, 'start': 203, 'machine': 'B', 'duration': 62}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 64}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 67}, {'task': 1, 'start': 76, 'machine': 'B', 'duration': 56}, {'task': 2, 'start': 190, 'machine': 'C', 'duration': 49}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 190, 'machine': 'A', 'duration': 38}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 76}, {'task': 2, 'start': 118, 'machine': 'C', 'duration': 72}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 146, 'machine': 'A', 'duration': 2}, {'task': 1, 'start': 282, 'machine': 'B', 'duration': 23}, {'task': 2, 'start': 239, 'machine': 'C', 'duration': 39}]}]",10,nl,names
OSP,OSP,"I was talking with a construction supervisor who needs a simple timetable: for each wall or room there’s a short list of trades that have to do work exactly once, and the supervisor wants someone to pick which trade goes first, second, etc., and what time each starts. The catch is that each workstation can only have one subcontractor on it at a time, and no single wall or room can be getting two trades at once. The idea is to arrange those orders and start times so the whole job wraps up as soon as possible — judged by the clock time when the last subcontractor finishes on site. The concrete details are shown below.

There are 6 building elements and 5 workstations, listed as J1, J2, J3, J4, J5, J6 and 0, 1, 2, 3, 4.

| building_element_id | task_index_within_element | required_workstation_id | task_duration |
|---|---|---|---|
| J1 | 0 | 0 | 1 |
| J1 | 1 | 1 | 84 |
| J1 | 2 | 2 | 29 |
| J1 | 3 | 3 | 85 |
| J1 | 4 | 4 | 70 |
| J2 | 0 | 0 | 39 |
| J2 | 1 | 1 | 45 |
| J2 | 2 | 2 | 30 |
| J2 | 3 | 3 | 33 |
| J2 | 4 | 4 | 60 |
| J3 | 0 | 0 | 94 |
| J3 | 1 | 1 | 1 |
| J3 | 2 | 2 | 21 |
| J3 | 3 | 3 | 79 |
| J3 | 4 | 4 | 78 |
| J4 | 0 | 0 | 54 |
| J4 | 1 | 1 | 90 |
| J4 | 2 | 2 | 40 |
| J4 | 3 | 3 | 93 |
| J4 | 4 | 4 | 48 |
| J5 | 0 | 0 | 71 |
| J5 | 1 | 1 | 71 |
| J5 | 2 | 2 | 63 |
| J5 | 3 | 3 | 38 |
| J5 | 4 | 4 | 1 |
| J6 | 0 | 0 | 40 |
| J6 | 1 | 1 | 78 |
| J6 | 2 | 2 | 1 |
| J6 | 3 | 3 | 63 |
| J6 | 4 | 4 | 46 |

I asked that they be arranged so the whole job wraps up as soon as possible.

If you want the answer in a tidy, machine-friendly form, just follow this small JSON layout — nothing fancy, just a clear shape I can fill in with the schedule.

{
  ""solution"": [
    {
      ""job"": <room_id>,
      ""tasks"": [
        {
          ""task"": <trade_index>,
          ""start"": <start_time>,
          ""machine"": <workstation_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Briefly, in plain words:
- ""job"" is the wall or room that needs work.
- ""tasks"" is the short list of trades that will visit that room.
- each task object shows which trade (task), when it starts (start), which workstation or resource it uses (machine), and how long it takes (duration).
Think of it as a simple form you can hand to the supervisor — it’s just the shape I expect, not the actual schedule.

Please keep every identifier exactly as they appear 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_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 84], [2, 29], [3, 85], [4, 70]], [[0, 39], [1, 45], [2, 30], [3, 33], [4, 60]], [[0, 94], [1, 1], [2, 21], [3, 79], [4, 78]], [[0, 54], [1, 90], [2, 40], [3, 93], [4, 48]], [[0, 71], [1, 71], [2, 63], [3, 38], [4, 1]], [[0, 40], [1, 78], [2, 1], [3, 63], [4, 46]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 207, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 178, 'machine': 2, 'duration': 29}, {'task': 3, 'start': 93, 'machine': 3, 'duration': 85}, {'task': 4, 'start': 235, 'machine': 4, 'duration': 70}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 325, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 63, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 216, 'machine': 3, 'duration': 33}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 60}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 233, 'machine': 1, 'duration': 1}, {'task': 2, 'start': 207, 'machine': 2, 'duration': 21}, {'task': 3, 'start': 249, 'machine': 3, 'duration': 79}, {'task': 4, 'start': 106, 'machine': 4, 'duration': 78}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 133, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 235, 'machine': 1, 'duration': 90}, {'task': 2, 'start': 93, 'machine': 2, 'duration': 40}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 93}, {'task': 4, 'start': 187, 'machine': 4, 'duration': 48}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 216, 'machine': 0, 'duration': 71}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 63}, {'task': 3, 'start': 178, 'machine': 3, 'duration': 38}, {'task': 4, 'start': 305, 'machine': 4, 'duration': 1}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 287, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 155, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 133, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 328, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 60, 'machine': 4, 'duration': 46}]}]",391.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 84}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 29}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 85}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 70}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 39}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 45}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 30}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 33}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 60}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 94}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 1}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 21}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 79}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 78}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 54}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 90}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 40}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 93}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 48}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 71}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 71}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 63}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 38}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 1}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 40}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 78}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 1}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 63}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 46}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 207, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 178, 'machine': 2, 'duration': 29}, {'task': 3, 'start': 93, 'machine': 3, 'duration': 85}, {'task': 4, 'start': 235, 'machine': 4, 'duration': 70}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 325, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 63, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 216, 'machine': 3, 'duration': 33}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 60}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 233, 'machine': 1, 'duration': 1}, {'task': 2, 'start': 207, 'machine': 2, 'duration': 21}, {'task': 3, 'start': 249, 'machine': 3, 'duration': 79}, {'task': 4, 'start': 106, 'machine': 4, 'duration': 78}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 133, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 235, 'machine': 1, 'duration': 90}, {'task': 2, 'start': 93, 'machine': 2, 'duration': 40}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 93}, {'task': 4, 'start': 187, 'machine': 4, 'duration': 48}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 216, 'machine': 0, 'duration': 71}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 63}, {'task': 3, 'start': 178, 'machine': 3, 'duration': 38}, {'task': 4, 'start': 305, 'machine': 4, 'duration': 1}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 287, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 155, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 133, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 328, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 60, 'machine': 4, 'duration': 46}]}]",11,markdown_table,0
OSP,OSP,"Recently the press got a backlog and every job needs to go through all the stations exactly once, but the route through those stations isn’t fixed. The planner’s job is to arrange both the order of station visits for each job and the start times, aiming to have the last job wrap up as early as possible. A schedule is better if that final-completion time is smaller. On top of that, each station can only handle one job at a time, a job can’t be split across two stations at once, and no required step can be missed or repeated. The full details are below.

There are 8 print jobs and 3 press stations; the jobs are J1, J2, J3, J4, J5, J6, J7, J8 and the stations are A, B, C.

| print_job_id | operation_id | station_id | processing_duration |
|---|---|---|---|
| J1 | 0 | A | 1 |
| J1 | 1 | B | 97 |
| J1 | 2 | C | 5 |
| J2 | 0 | A | 31 |
| J2 | 1 | B | 24 |
| J2 | 2 | C | 60 |
| J3 | 0 | A | 49 |
| J3 | 1 | B | 98 |
| J3 | 2 | C | 1 |
| J4 | 0 | A | 54 |
| J4 | 1 | B | 33 |
| J4 | 2 | C | 53 |
| J5 | 0 | A | 5 |
| J5 | 1 | B | 83 |
| J5 | 2 | C | 83 |
| J6 | 0 | A | 8 |
| J6 | 1 | B | 57 |
| J6 | 2 | C | 41 |
| J7 | 0 | A | 32 |
| J7 | 1 | B | 54 |
| J7 | 2 | C | 13 |
| J8 | 0 | A | 40 |
| J8 | 1 | B | 22 |
| J8 | 2 | C | 32 |

Minimize the final completion time across these 8 jobs on the 3 stations.

You can just send the answer in a little JSON sketch like this so it's easy to read and parse — nothing fancy, just that shape below.

{
  ""solution"": [
    {
      ""job"": <press_job_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a friendly template of the shape I expect: each top-level ""solution"" entry is one job, ""job"" holds that job's identifier, and ""tasks"" is a list of the steps that job will go through. Each task records which step it is (""task""), when it starts (""start""), which station handles it (""machine""), and how long it runs (""duration""). Super casual — think of it as filling out a simple form rather than a strict data model.

Note: that JSON is only a sketch of the expected shape, not the actual schedule. When you provide the real schedule, 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 97], [2, 5]], [[0, 31], [1, 24], [2, 60]], [[0, 49], [1, 98], [2, 1]], [[0, 54], [1, 33], [2, 53]], [[0, 5], [1, 83], [2, 83]], [[0, 8], [1, 57], [2, 41]], [[0, 32], [1, 54], [2, 13]], [[0, 40], [1, 22], [2, 32]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 206, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 98, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 282, 'machine': 2, 'duration': 5}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 175, 'machine': 0, 'duration': 31}, {'task': 1, 'start': 422, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 83, 'machine': 2, 'duration': 60}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 126, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 98}, {'task': 2, 'start': 287, 'machine': 2, 'duration': 1}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 389, 'machine': 1, 'duration': 33}, {'task': 2, 'start': 143, 'machine': 2, 'duration': 53}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 278, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 195, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 83}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 8}, {'task': 1, 'start': 278, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 196, 'machine': 2, 'duration': 41}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 32}, {'task': 1, 'start': 335, 'machine': 1, 'duration': 54}, {'task': 2, 'start': 269, 'machine': 2, 'duration': 13}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 54, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 446, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 237, 'machine': 2, 'duration': 32}]}]",468.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 97}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 5}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 31}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 24}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 60}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 49}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 98}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 1}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 54}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 33}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 53}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 5}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 83}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 83}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 8}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 57}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 41}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 32}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 54}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 13}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 40}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 22}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 32}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 206, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 98, 'machine': 'B', 'duration': 97}, {'task': 2, 'start': 282, 'machine': 'C', 'duration': 5}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 175, 'machine': 'A', 'duration': 31}, {'task': 1, 'start': 422, 'machine': 'B', 'duration': 24}, {'task': 2, 'start': 83, 'machine': 'C', 'duration': 60}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 126, 'machine': 'A', 'duration': 49}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 98}, {'task': 2, 'start': 287, 'machine': 'C', 'duration': 1}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 54}, {'task': 1, 'start': 389, 'machine': 'B', 'duration': 33}, {'task': 2, 'start': 143, 'machine': 'C', 'duration': 53}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 278, 'machine': 'A', 'duration': 5}, {'task': 1, 'start': 195, 'machine': 'B', 'duration': 83}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 83}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 237, 'machine': 'A', 'duration': 8}, {'task': 1, 'start': 278, 'machine': 'B', 'duration': 57}, {'task': 2, 'start': 196, 'machine': 'C', 'duration': 41}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 94, 'machine': 'A', 'duration': 32}, {'task': 1, 'start': 335, 'machine': 'B', 'duration': 54}, {'task': 2, 'start': 269, 'machine': 'C', 'duration': 13}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 54, 'machine': 'A', 'duration': 40}, {'task': 1, 'start': 446, 'machine': 'B', 'duration': 22}, {'task': 2, 'start': 237, 'machine': 'C', 'duration': 32}]}]",12,markdown_table,names
OSP,OSP,"We’re trying to sort out a day in the lab where several experiments all need a turn on several machines. Every experiment has a menu of instruments it must use exactly once, but there isn’t a preset step order — that ordering is up for grabs and can be different from one experiment to the next. The task is to pick the order and start times for each experiment’s visits so the whole set wraps up as soon as possible — basically, make the finishing time of the last experiment as small as it can be. Along the way, make sure no instrument is booked by two experiments at once, no experiment is split across instruments at the same moment, and nothing required is skipped or duplicated. The specific instruments, run lengths, and experiments are listed below.

They are listed as J1, J2, J3, J4, J5, J6, J7, J8 on A, B, C; in total there are 8 experiments and 3 instruments.

| experiment_id | visit_index | instrument_id | processing_duration |
|---|---|---|---|
| J1 | 0 | A | 1 |
| J1 | 1 | B | 11 |
| J1 | 2 | C | 80 |
| J2 | 0 | A | 76 |
| J2 | 1 | B | 77 |
| J2 | 2 | C | 82 |
| J3 | 0 | A | 54 |
| J3 | 1 | B | 66 |
| J3 | 2 | C | 68 |
| J4 | 0 | A | 47 |
| J4 | 1 | B | 71 |
| J4 | 2 | C | 5 |
| J5 | 0 | A | 87 |
| J5 | 1 | B | 86 |
| J5 | 2 | C | 88 |
| J6 | 0 | A | 60 |
| J6 | 1 | B | 24 |
| J6 | 2 | C | 42 |
| J7 | 0 | A | 70 |
| J7 | 1 | B | 61 |
| J7 | 2 | C | 54 |
| J8 | 0 | A | 9 |
| J8 | 1 | B | 80 |
| J8 | 2 | C | 25 |

We’ll schedule start times and visit orders to minimize the overall finishing time while avoiding overlapping instrument use or simultaneous activity for any experiment.

Also, when you send the schedule back, please use this JSON layout so I can read it easily — nothing fancy, just that shape.

{
  ""solution"": [
    {
      ""job"": <experiment_id>,
      ""tasks"": [
        {
          ""task"": <visit_index>,
          ""start"": <start_time>,
          ""machine"": <instrument_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of this like a little form: each ""job"" is an experiment, ""tasks"" is the list of instrument visits that experiment needs, each ""task"" is just the visit index, ""start"" is when that visit begins, ""machine"" names the instrument, and ""duration"" is how long the run takes. Super informal sketch — it shows the shape I expect, not the actual schedule.

Please use the exact identifiers from the instance input when you fill this in — don’t rename anything 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 11], [2, 80]], [[0, 76], [1, 77], [2, 82]], [[0, 54], [1, 66], [2, 68]], [[0, 47], [1, 71], [2, 5]], [[0, 87], [1, 86], [2, 88]], [[0, 60], [1, 24], [2, 42]], [[0, 70], [1, 61], [2, 54]], [[0, 9], [1, 80], [2, 25]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 349, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 465, 'machine': 1, 'duration': 11}, {'task': 2, 'start': 88, 'machine': 2, 'duration': 80}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 76}, {'task': 1, 'start': 80, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 168, 'machine': 2, 'duration': 82}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 372, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 228, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 304, 'machine': 2, 'duration': 68}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 293, 'machine': 0, 'duration': 47}, {'task': 1, 'start': 157, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 439, 'machine': 2, 'duration': 5}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 146, 'machine': 0, 'duration': 87}, {'task': 1, 'start': 294, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 88}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 233, 'machine': 0, 'duration': 60}, {'task': 1, 'start': 441, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 372, 'machine': 2, 'duration': 42}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 76, 'machine': 0, 'duration': 70}, {'task': 1, 'start': 380, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 250, 'machine': 2, 'duration': 54}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 340, 'machine': 0, 'duration': 9}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 80}, {'task': 2, 'start': 414, 'machine': 2, 'duration': 25}]}]",476.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 11}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 80}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 76}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 77}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 82}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 54}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 66}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 68}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 47}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 71}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 5}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 87}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 86}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 88}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 60}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 24}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 42}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 70}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 61}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 54}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 9}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 80}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 25}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 349, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 465, 'machine': 'B', 'duration': 11}, {'task': 2, 'start': 88, 'machine': 'C', 'duration': 80}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 76}, {'task': 1, 'start': 80, 'machine': 'B', 'duration': 77}, {'task': 2, 'start': 168, 'machine': 'C', 'duration': 82}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 372, 'machine': 'A', 'duration': 54}, {'task': 1, 'start': 228, 'machine': 'B', 'duration': 66}, {'task': 2, 'start': 304, 'machine': 'C', 'duration': 68}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 293, 'machine': 'A', 'duration': 47}, {'task': 1, 'start': 157, 'machine': 'B', 'duration': 71}, {'task': 2, 'start': 439, 'machine': 'C', 'duration': 5}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 146, 'machine': 'A', 'duration': 87}, {'task': 1, 'start': 294, 'machine': 'B', 'duration': 86}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 88}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 233, 'machine': 'A', 'duration': 60}, {'task': 1, 'start': 441, 'machine': 'B', 'duration': 24}, {'task': 2, 'start': 372, 'machine': 'C', 'duration': 42}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 76, 'machine': 'A', 'duration': 70}, {'task': 1, 'start': 380, 'machine': 'B', 'duration': 61}, {'task': 2, 'start': 250, 'machine': 'C', 'duration': 54}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 340, 'machine': 'A', 'duration': 9}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 80}, {'task': 2, 'start': 414, 'machine': 'C', 'duration': 25}]}]",13,markdown_table,names
OSP,OSP,"Recently the costume lead described a puzzle: dozens of pieces each need work from several specialty stations, once per station, but there’s no fixed sequence — the order for each piece is up to the planner and their start times must be scheduled. The key rules are that a station can’t work on more than one piece at once and a piece can’t be undergoing two operations simultaneously. What counts as a good plan is how early the entire collection is ready — check the clock when the final piece is finished; sooner is better. The concrete schedule inputs are listed below.

They are: 8 costume pieces, 5 specialty stations; piece IDs J1, J2, J3, J4, J5, J6, J7, J8; station IDs A, B, C, D, E.
Piece J1, operation 0: requires station A for 1 time units.
Piece J1, operation 1: requires station B for 24 time units.
Piece J1, operation 2: requires station C for 56 time units.
Piece J1, operation 3: requires station D for 23 time units.
Piece J1, operation 4: requires station E for 30 time units.
Piece J2, operation 0: requires station A for 5 time units.
Piece J2, operation 1: requires station B for 59 time units.
Piece J2, operation 2: requires station C for 34 time units.
Piece J2, operation 3: requires station D for 36 time units.
Piece J2, operation 4: requires station E for 41 time units.
Piece J3, operation 0: requires station A for 10 time units.
Piece J3, operation 1: requires station B for 57 time units.
Piece J3, operation 2: requires station C for 70 time units.
Piece J3, operation 3: requires station D for 90 time units.
Piece J3, operation 4: requires station E for 94 time units.
Piece J4, operation 0: requires station A for 14 time units.
Piece J4, operation 1: requires station B for 91 time units.
Piece J4, operation 2: requires station C for 42 time units.
Piece J4, operation 3: requires station D for 9 time units.
Piece J4, operation 4: requires station E for 67 time units.
Piece J5, operation 0: requires station A for 96 time units.
Piece J5, operation 1: requires station B for 77 time units.
Piece J5, operation 2: requires station C for 39 time units.
Piece J5, operation 3: requires station D for 18 time units.
Piece J5, operation 4: requires station E for 54 time units.
Piece J6, operation 0: requires station A for 98 time units.
Piece J6, operation 1: requires station B for 6 time units.
Piece J6, operation 2: requires station C for 96 time units.
Piece J6, operation 3: requires station D for 88 time units.
Piece J6, operation 4: requires station E for 56 time units.
Piece J7, operation 0: requires station A for 7 time units.
Piece J7, operation 1: requires station B for 92 time units.
Piece J7, operation 2: requires station C for 44 time units.
Piece J7, operation 3: requires station D for 61 time units.
Piece J7, operation 4: requires station E for 48 time units.
Piece J8, operation 0: requires station A for 6 time units.
Piece J8, operation 1: requires station B for 79 time units.
Piece J8, operation 2: requires station C for 60 time units.
Piece J8, operation 3: requires station D for 51 time units.
Piece J8, operation 4: requires station E for 10 time units.
The planner must schedule start times respecting station and piece constraints so the collection finishes as early as possible.

If you want to send over a candidate plan, you can just follow this simple JSON layout for each costume piece and its operations:

{
  ""solution"": [
    {
      ""job"": <piece_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This sketch means: ""solution"" is a list of pieces; each entry has a ""job"" (the piece identifier) and a ""tasks"" list. Each task lists its index, the planned start time, which station handles it, and how long it takes. Think of it like filling out a simple work order form for each piece.

This is just the shape I expect, not the final schedule — please keep the actual IDs exactly as they appear in the instance input, with no renaming or invented 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_machines': 5, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 24], [2, 56], [3, 23], [4, 30]], [[0, 5], [1, 59], [2, 34], [3, 36], [4, 41]], [[0, 10], [1, 57], [2, 70], [3, 90], [4, 94]], [[0, 14], [1, 91], [2, 42], [3, 9], [4, 67]], [[0, 96], [1, 77], [2, 39], [3, 18], [4, 54]], [[0, 98], [1, 6], [2, 96], [3, 88], [4, 56]], [[0, 7], [1, 92], [2, 44], [3, 61], [4, 48]], [[0, 6], [1, 79], [2, 60], [3, 51], [4, 10]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 120, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 455, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 60, 'machine': 2, 'duration': 56}, {'task': 3, 'start': 36, 'machine': 3, 'duration': 23}, {'task': 4, 'start': 304, 'machine': 4, 'duration': 30}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 115, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 339, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 407, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 36}, {'task': 4, 'start': 263, 'machine': 4, 'duration': 41}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 98, 'machine': 0, 'duration': 10}, {'task': 1, 'start': 398, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 256, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 128, 'machine': 3, 'duration': 90}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 94}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 263, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 326, 'machine': 2, 'duration': 42}, {'task': 3, 'start': 368, 'machine': 3, 'duration': 9}, {'task': 4, 'start': 196, 'machine': 4, 'duration': 67}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 262, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 368, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 59, 'machine': 3, 'duration': 18}, {'task': 4, 'start': 94, 'machine': 4, 'duration': 54}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 98}, {'task': 1, 'start': 479, 'machine': 1, 'duration': 6}, {'task': 2, 'start': 116, 'machine': 2, 'duration': 96}, {'task': 3, 'start': 218, 'machine': 3, 'duration': 88}, {'task': 4, 'start': 334, 'machine': 4, 'duration': 56}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 108, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 212, 'machine': 2, 'duration': 44}, {'task': 3, 'start': 306, 'machine': 3, 'duration': 61}, {'task': 4, 'start': 148, 'machine': 4, 'duration': 48}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 128, 'machine': 0, 'duration': 6}, {'task': 1, 'start': 183, 'machine': 1, 'duration': 79}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 77, 'machine': 3, 'duration': 51}, {'task': 4, 'start': 390, 'machine': 4, 'duration': 10}]}]",485.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 24}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 56}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 23}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 30}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 5}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 59}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 34}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 36}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 41}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 10}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 57}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 70}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 90}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 94}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 14}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 91}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 42}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 9}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 67}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 96}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 77}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 39}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 18}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 54}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 98}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 6}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 96}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 88}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 56}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 7}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 92}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 44}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 61}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 48}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 6}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 79}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 60}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 51}, {'job_id': 'J8', 'task_id': 4, 'machine_id': 'E', 'duration': 10}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 120, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 455, 'machine': 'B', 'duration': 24}, {'task': 2, 'start': 60, 'machine': 'C', 'duration': 56}, {'task': 3, 'start': 36, 'machine': 'D', 'duration': 23}, {'task': 4, 'start': 304, 'machine': 'E', 'duration': 30}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 115, 'machine': 'A', 'duration': 5}, {'task': 1, 'start': 339, 'machine': 'B', 'duration': 59}, {'task': 2, 'start': 407, 'machine': 'C', 'duration': 34}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 36}, {'task': 4, 'start': 263, 'machine': 'E', 'duration': 41}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 98, 'machine': 'A', 'duration': 10}, {'task': 1, 'start': 398, 'machine': 'B', 'duration': 57}, {'task': 2, 'start': 256, 'machine': 'C', 'duration': 70}, {'task': 3, 'start': 128, 'machine': 'D', 'duration': 90}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 94}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 263, 'machine': 'A', 'duration': 14}, {'task': 1, 'start': 92, 'machine': 'B', 'duration': 91}, {'task': 2, 'start': 326, 'machine': 'C', 'duration': 42}, {'task': 3, 'start': 368, 'machine': 'D', 'duration': 9}, {'task': 4, 'start': 196, 'machine': 'E', 'duration': 67}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 148, 'machine': 'A', 'duration': 96}, {'task': 1, 'start': 262, 'machine': 'B', 'duration': 77}, {'task': 2, 'start': 368, 'machine': 'C', 'duration': 39}, {'task': 3, 'start': 59, 'machine': 'D', 'duration': 18}, {'task': 4, 'start': 94, 'machine': 'E', 'duration': 54}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 98}, {'task': 1, 'start': 479, 'machine': 'B', 'duration': 6}, {'task': 2, 'start': 116, 'machine': 'C', 'duration': 96}, {'task': 3, 'start': 218, 'machine': 'D', 'duration': 88}, {'task': 4, 'start': 334, 'machine': 'E', 'duration': 56}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 108, 'machine': 'A', 'duration': 7}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 92}, {'task': 2, 'start': 212, 'machine': 'C', 'duration': 44}, {'task': 3, 'start': 306, 'machine': 'D', 'duration': 61}, {'task': 4, 'start': 148, 'machine': 'E', 'duration': 48}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 128, 'machine': 'A', 'duration': 6}, {'task': 1, 'start': 183, 'machine': 'B', 'duration': 79}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 60}, {'task': 3, 'start': 77, 'machine': 'D', 'duration': 51}, {'task': 4, 'start': 390, 'machine': 'E', 'duration': 10}]}]",14,nl,names
OSP,OSP,"We’ve got a batch of songs that all need passes in the same set of rooms and with the same set of engineers, exactly one session at each place per song, but there’s complete freedom in what order those sessions happen for each tune. The task is to arrange the sequence and start time of every session so studios and engineers aren’t handling more than one song at once and no song is scheduled in two places at once. A schedule is better if the whole album is done earlier — the clock stops when the last session ends, and the goal is to make that end time as early as possible. Concrete details follow below.

# nr_songs=8
# nr_resources=5
# song_ids=J1, J2, J3, J4, J5, J6, J7, J8
# resource_ids=0, 1, 2, 3, 4
song_id,session_index,resource_id,session_duration
J1,0,0,1
J1,1,1,37
J1,2,2,32
J1,3,3,68
J1,4,4,83
J2,0,0,26
J2,1,1,63
J2,2,2,2
J2,3,3,5
J2,4,4,34
J3,0,0,48
J3,1,1,9
J3,2,2,53
J3,3,3,93
J3,4,4,99
J4,0,0,66
J4,1,1,58
J4,2,2,43
J4,3,3,47
J4,4,4,74
J5,0,0,38
J5,1,1,46
J5,2,2,98
J5,3,3,11
J5,4,4,39
J6,0,0,51
J6,1,1,15
J6,2,2,62
J6,3,3,30
J6,4,4,27
J7,0,0,97
J7,1,1,68
J7,2,2,70
J7,3,3,66
J7,4,4,22
J8,0,0,38
J8,1,1,43
J8,2,2,36
J8,3,3,50
J8,4,4,46

Also, just so we're on the same page about how I’d like the reply formatted, slip your schedule into this simple JSON shape — nothing fancy, just a neat way to capture which song (job) has which sessions (tasks), when they start, which room they use, and how long each lasts:

{
  ""solution"": [
    {
      ""job"": <song_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <room_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a little form: ""job"" is the song identifier, ""tasks"" is the list of sessions that song needs, each ""task"" is a session index, ""start"" is when that session begins, ""machine"" is which room it's in, and ""duration"" is how long the session lasts. This block is just a sketch of the shape I expect — not the actual schedule.

Please make sure to 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_machines': 5, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 37], [2, 32], [3, 68], [4, 83]], [[0, 26], [1, 63], [2, 2], [3, 5], [4, 34]], [[0, 48], [1, 9], [2, 53], [3, 93], [4, 99]], [[0, 66], [1, 58], [2, 43], [3, 47], [4, 74]], [[0, 38], [1, 46], [2, 98], [3, 11], [4, 39]], [[0, 51], [1, 15], [2, 62], [3, 30], [4, 27]], [[0, 97], [1, 68], [2, 70], [3, 66], [4, 22]], [[0, 38], [1, 43], [2, 36], [3, 50], [4, 46]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 364, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 278, 'machine': 1, 'duration': 37}, {'task': 2, 'start': 230, 'machine': 2, 'duration': 32}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 68}, {'task': 4, 'start': 99, 'machine': 4, 'duration': 83}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 338, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 315, 'machine': 2, 'duration': 2}, {'task': 3, 'start': 211, 'machine': 3, 'duration': 5}, {'task': 4, 'start': 368, 'machine': 4, 'duration': 34}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 214, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 330, 'machine': 1, 'duration': 9}, {'task': 2, 'start': 262, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 118, 'machine': 3, 'duration': 93}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 99}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 63, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 374, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 216, 'machine': 3, 'duration': 47}, {'task': 4, 'start': 267, 'machine': 4, 'duration': 74}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 262, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 121, 'machine': 1, 'duration': 46}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 98}, {'task': 3, 'start': 359, 'machine': 3, 'duration': 11}, {'task': 4, 'start': 182, 'machine': 4, 'duration': 39}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 51}, {'task': 1, 'start': 315, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 168, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 263, 'machine': 3, 'duration': 30}, {'task': 4, 'start': 341, 'machine': 4, 'duration': 27}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 210, 'machine': 1, 'duration': 68}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 293, 'machine': 3, 'duration': 66}, {'task': 4, 'start': 402, 'machine': 4, 'duration': 22}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 300, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 167, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 338, 'machine': 2, 'duration': 36}, {'task': 3, 'start': 68, 'machine': 3, 'duration': 50}, {'task': 4, 'start': 221, 'machine': 4, 'duration': 46}]}]",424.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 37}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 32}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 68}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 83}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 26}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 63}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 2}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 5}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 34}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 48}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 9}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 53}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 93}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 99}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 66}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 58}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 43}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 47}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 74}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 38}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 46}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 98}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 11}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 39}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 51}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 15}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 62}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 30}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 27}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 97}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 68}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 70}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 3, 'duration': 66}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 4, 'duration': 22}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 38}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 43}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 36}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 3, 'duration': 50}, {'job_id': 'J8', 'task_id': 4, 'machine_id': 4, 'duration': 46}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 364, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 278, 'machine': 1, 'duration': 37}, {'task': 2, 'start': 230, 'machine': 2, 'duration': 32}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 68}, {'task': 4, 'start': 99, 'machine': 4, 'duration': 83}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 338, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 315, 'machine': 2, 'duration': 2}, {'task': 3, 'start': 211, 'machine': 3, 'duration': 5}, {'task': 4, 'start': 368, 'machine': 4, 'duration': 34}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 214, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 330, 'machine': 1, 'duration': 9}, {'task': 2, 'start': 262, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 118, 'machine': 3, 'duration': 93}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 99}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 63, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 374, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 216, 'machine': 3, 'duration': 47}, {'task': 4, 'start': 267, 'machine': 4, 'duration': 74}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 262, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 121, 'machine': 1, 'duration': 46}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 98}, {'task': 3, 'start': 359, 'machine': 3, 'duration': 11}, {'task': 4, 'start': 182, 'machine': 4, 'duration': 39}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 51}, {'task': 1, 'start': 315, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 168, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 263, 'machine': 3, 'duration': 30}, {'task': 4, 'start': 341, 'machine': 4, 'duration': 27}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 210, 'machine': 1, 'duration': 68}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 293, 'machine': 3, 'duration': 66}, {'task': 4, 'start': 402, 'machine': 4, 'duration': 22}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 300, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 167, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 338, 'machine': 2, 'duration': 36}, {'task': 3, 'start': 68, 'machine': 3, 'duration': 50}, {'task': 4, 'start': 221, 'machine': 4, 'duration': 46}]}]",15,csv,0
OSP,OSP,"At a small factory the planner has to put together a plan: a number of garments must each go through every machine one time, but there’s freedom about the order. The planner picks the order and when each step begins, ensuring every machine handles a single garment at a time and no garment is active on two machines at once. The aim is straightforward — get the last garment finished as early as possible, i.e., reduce the finishing time of the final task — and make sure every required operation happens exactly once. The concrete details are shown below.

There are 7 garments and 3 machines; garment identifiers are J1, J2, J3, J4, J5, J6, J7 and machine identifiers are 1, 2, 3.
Garment J1, operation 0: requires machine 1 for 1.
Garment J1, operation 1: requires machine 2 for 50.
Garment J1, operation 2: requires machine 3 for 7.
Garment J2, operation 0: requires machine 1 for 15.
Garment J2, operation 1: requires machine 2 for 37.
Garment J2, operation 2: requires machine 3 for 48.
Garment J3, operation 0: requires machine 1 for 68.
Garment J3, operation 1: requires machine 2 for 69.
Garment J3, operation 2: requires machine 3 for 72.
Garment J4, operation 0: requires machine 1 for 28.
Garment J4, operation 1: requires machine 2 for 86.
Garment J4, operation 2: requires machine 3 for 61.
Garment J5, operation 0: requires machine 1 for 37.
Garment J5, operation 1: requires machine 2 for 97.
Garment J5, operation 2: requires machine 3 for 5.
Garment J6, operation 0: requires machine 1 for 20.
Garment J6, operation 1: requires machine 2 for 26.
Garment J6, operation 2: requires machine 3 for 44.
Garment J7, operation 0: requires machine 1 for 85.
Garment J7, operation 1: requires machine 2 for 81.
Garment J7, operation 2: requires machine 3 for 79.
The planner should use these details to schedule every required operation once and minimize the time when the last garment finishes.

You can just return the plan in a little JSON shape like this — nothing fancy, just a predictable layout so the planner can read it automatically.

{
  ""solution"": [
    {
      ""job"": <garment_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <machine_station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Pretty much: each object in ""solution"" is one garment (the ""job""), ""tasks"" is the list of its operations, ""task"" is a task index so we can refer to each step, ""start"" is when that step begins, ""machine"" says which machine handles it, and ""duration"" is how long it runs. Super casual — think of it like filling in a form for each garment.

This JSON is only a sketch of the expected shape, not the actual schedule. 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_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 50], [2, 7]], [[0, 15], [1, 37], [2, 48]], [[0, 68], [1, 69], [2, 72]], [[0, 28], [1, 86], [2, 61]], [[0, 37], [1, 97], [2, 5]], [[0, 20], [1, 26], [2, 44]], [[0, 85], [1, 81], [2, 79]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 225, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 333, 'machine': 1, 'duration': 50}, {'task': 2, 'start': 304, 'machine': 2, 'duration': 7}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 210, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 383, 'machine': 1, 'duration': 37}, {'task': 2, 'start': 133, 'machine': 2, 'duration': 48}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 85, 'machine': 0, 'duration': 68}, {'task': 1, 'start': 264, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 72}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 264, 'machine': 0, 'duration': 28}, {'task': 1, 'start': 178, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 72, 'machine': 2, 'duration': 61}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 153, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 311, 'machine': 2, 'duration': 5}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 190, 'machine': 0, 'duration': 20}, {'task': 1, 'start': 420, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 260, 'machine': 2, 'duration': 44}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 85}, {'task': 1, 'start': 97, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 181, 'machine': 2, 'duration': 79}]}]",446.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 50}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 7}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 15}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 37}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 48}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 68}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 69}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 72}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 28}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 86}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 61}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 37}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 97}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 5}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 20}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 26}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 44}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 1, 'duration': 85}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 2, 'duration': 81}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 3, 'duration': 79}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 225, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 333, 'machine': 2, 'duration': 50}, {'task': 2, 'start': 304, 'machine': 3, 'duration': 7}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 210, 'machine': 1, 'duration': 15}, {'task': 1, 'start': 383, 'machine': 2, 'duration': 37}, {'task': 2, 'start': 133, 'machine': 3, 'duration': 48}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 85, 'machine': 1, 'duration': 68}, {'task': 1, 'start': 264, 'machine': 2, 'duration': 69}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 72}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 264, 'machine': 1, 'duration': 28}, {'task': 1, 'start': 178, 'machine': 2, 'duration': 86}, {'task': 2, 'start': 72, 'machine': 3, 'duration': 61}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 153, 'machine': 1, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 97}, {'task': 2, 'start': 311, 'machine': 3, 'duration': 5}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 190, 'machine': 1, 'duration': 20}, {'task': 1, 'start': 420, 'machine': 2, 'duration': 26}, {'task': 2, 'start': 260, 'machine': 3, 'duration': 44}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 85}, {'task': 1, 'start': 97, 'machine': 2, 'duration': 81}, {'task': 2, 'start': 181, 'machine': 3, 'duration': 79}]}]",16,nl,1
OSP,OSP,"On the day-of setup there’s a list of stages, and for each stage a set of technicians who each need to do a single task there — each tech must visit each assigned stage once, but which tech goes first is open, and the order can vary between stages. The task is to pick both the sequence of visits and the start times while keeping technicians from being scheduled in two places at once and preventing any stage from having more than one technician working there at the same instant. The plan is judged by how quickly everything is ready: take the finish times for all stages, find the latest one (when the last stage is done), and make that as early as possible; no required visit can be skipped or repeated. The concrete stage and technician details follow below.

# total_stages=7
# total_technicians=5
# stage_ids=J1, J2, J3, J4, J5, J6, J7
# technician_ids=1, 2, 3, 4, 5
stage_id,visit_index,technician_id,task_duration
J1,0,1,1
J1,1,2,63
J1,2,3,82
J1,3,4,60
J1,4,5,90
J2,0,1,70
J2,1,2,73
J2,2,3,38
J2,3,4,40
J2,4,5,22
J3,0,1,25
J3,1,2,13
J3,2,3,20
J3,3,4,1
J3,4,5,10
J4,0,1,72
J4,1,2,92
J4,2,3,45
J4,3,4,24
J4,4,5,87
J5,0,1,22
J5,1,2,83
J5,2,3,16
J5,3,4,96
J5,4,5,8
J6,0,1,56
J6,1,2,34
J6,2,3,92
J6,3,4,13
J6,4,5,67
J7,0,1,80
J7,1,2,21
J7,2,3,23
J7,3,4,75
J7,4,5,69

Also, just so everything is easy to read by people and tools, please reply using this simple JSON layout — nothing fancy, just the shape below.

{
  ""solution"": [
    {
      ""job"": <stage_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <technician_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I need, not the actual schedule. Plain-language: each top-level object under ""solution"" is one stage (put the stage identifier where it says <stage_id>), ""tasks"" is the list of visits that must happen at that stage, each visit gets a ""task"" index, a ""start"" time, the ""machine"" is the technician doing that visit, and ""duration"" is how long that visit lasts.

Please make sure you use the identifiers 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_machines': 5, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 63], [2, 82], [3, 60], [4, 90]], [[0, 70], [1, 73], [2, 38], [3, 40], [4, 22]], [[0, 25], [1, 13], [2, 20], [3, 1], [4, 10]], [[0, 72], [1, 92], [2, 45], [3, 24], [4, 87]], [[0, 22], [1, 83], [2, 16], [3, 96], [4, 8]], [[0, 56], [1, 34], [2, 92], [3, 13], [4, 67]], [[0, 80], [1, 21], [2, 23], [3, 75], [4, 69]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 300, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 316, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 92, 'machine': 2, 'duration': 82}, {'task': 3, 'start': 190, 'machine': 3, 'duration': 60}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 90}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 80, 'machine': 0, 'duration': 70}, {'task': 1, 'start': 243, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 197, 'machine': 2, 'duration': 38}, {'task': 3, 'start': 150, 'machine': 3, 'duration': 40}, {'task': 4, 'start': 321, 'machine': 4, 'duration': 22}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 301, 'machine': 0, 'duration': 25}, {'task': 1, 'start': 230, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 243, 'machine': 2, 'duration': 20}, {'task': 3, 'start': 120, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 343, 'machine': 4, 'duration': 10}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 150, 'machine': 0, 'duration': 72}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 313, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 96, 'machine': 3, 'duration': 24}, {'task': 4, 'start': 226, 'machine': 4, 'duration': 87}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 222, 'machine': 0, 'duration': 22}, {'task': 1, 'start': 126, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 263, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 96}, {'task': 4, 'start': 313, 'machine': 4, 'duration': 8}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 244, 'machine': 0, 'duration': 56}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 92}, {'task': 3, 'start': 126, 'machine': 3, 'duration': 13}, {'task': 4, 'start': 159, 'machine': 4, 'duration': 67}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 80}, {'task': 1, 'start': 209, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 174, 'machine': 2, 'duration': 23}, {'task': 3, 'start': 250, 'machine': 3, 'duration': 75}, {'task': 4, 'start': 90, 'machine': 4, 'duration': 69}]}]",379.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [1, 2, 3, 4, 5], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 63}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 82}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 4, 'duration': 60}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 5, 'duration': 90}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 70}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 73}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 38}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 4, 'duration': 40}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 5, 'duration': 22}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 25}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 13}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 20}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 4, 'duration': 1}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 5, 'duration': 10}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 72}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 92}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 45}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 4, 'duration': 24}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 5, 'duration': 87}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 22}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 83}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 16}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 4, 'duration': 96}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 5, 'duration': 8}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 56}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 34}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 92}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 4, 'duration': 13}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 5, 'duration': 67}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 1, 'duration': 80}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 2, 'duration': 21}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 3, 'duration': 23}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 4, 'duration': 75}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 5, 'duration': 69}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 300, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 316, 'machine': 2, 'duration': 63}, {'task': 2, 'start': 92, 'machine': 3, 'duration': 82}, {'task': 3, 'start': 190, 'machine': 4, 'duration': 60}, {'task': 4, 'start': 0, 'machine': 5, 'duration': 90}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 80, 'machine': 1, 'duration': 70}, {'task': 1, 'start': 243, 'machine': 2, 'duration': 73}, {'task': 2, 'start': 197, 'machine': 3, 'duration': 38}, {'task': 3, 'start': 150, 'machine': 4, 'duration': 40}, {'task': 4, 'start': 321, 'machine': 5, 'duration': 22}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 301, 'machine': 1, 'duration': 25}, {'task': 1, 'start': 230, 'machine': 2, 'duration': 13}, {'task': 2, 'start': 243, 'machine': 3, 'duration': 20}, {'task': 3, 'start': 120, 'machine': 4, 'duration': 1}, {'task': 4, 'start': 343, 'machine': 5, 'duration': 10}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 150, 'machine': 1, 'duration': 72}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 92}, {'task': 2, 'start': 313, 'machine': 3, 'duration': 45}, {'task': 3, 'start': 96, 'machine': 4, 'duration': 24}, {'task': 4, 'start': 226, 'machine': 5, 'duration': 87}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 222, 'machine': 1, 'duration': 22}, {'task': 1, 'start': 126, 'machine': 2, 'duration': 83}, {'task': 2, 'start': 263, 'machine': 3, 'duration': 16}, {'task': 3, 'start': 0, 'machine': 4, 'duration': 96}, {'task': 4, 'start': 313, 'machine': 5, 'duration': 8}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 244, 'machine': 1, 'duration': 56}, {'task': 1, 'start': 92, 'machine': 2, 'duration': 34}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 92}, {'task': 3, 'start': 126, 'machine': 4, 'duration': 13}, {'task': 4, 'start': 159, 'machine': 5, 'duration': 67}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 80}, {'task': 1, 'start': 209, 'machine': 2, 'duration': 21}, {'task': 2, 'start': 174, 'machine': 3, 'duration': 23}, {'task': 3, 'start': 250, 'machine': 4, 'duration': 75}, {'task': 4, 'start': 90, 'machine': 5, 'duration': 69}]}]",17,csv,1
OSP,OSP,"Recently the clinic manager asked for help with a tricky schedule: patients each need multiple procedures, each procedure must use a particular chair or machine exactly one time, and the steps can happen in any order. The work is to pick the sequence of procedures for each patient and when they start, while ensuring each chair or device only treats one person at a time and no patient is booked for two things at once. What makes one plan better than another is how early the whole batch is done — measure it by the time the final procedure finishes. The full set of patients and their required equipment is listed below.

There are 7 patients and 3 devices; the patients are J1, J2, J3, J4, J5, J6, J7 and the devices are A, B, C.
J1 requires procedure 0 on device A with duration 1.
J1 requires procedure 1 on device B with duration 76.
J1 requires procedure 2 on device C with duration 58.
J2 requires procedure 0 on device A with duration 6.
J2 requires procedure 1 on device B with duration 43.
J2 requires procedure 2 on device C with duration 91.
J3 requires procedure 0 on device A with duration 77.
J3 requires procedure 1 on device B with duration 6.
J3 requires procedure 2 on device C with duration 8.
J4 requires procedure 0 on device A with duration 15.
J4 requires procedure 1 on device B with duration 63.
J4 requires procedure 2 on device C with duration 64.
J5 requires procedure 0 on device A with duration 3.
J5 requires procedure 1 on device B with duration 4.
J5 requires procedure 2 on device C with duration 16.
J6 requires procedure 0 on device A with duration 25.
J6 requires procedure 1 on device B with duration 60.
J6 requires procedure 2 on device C with duration 45.
J7 requires procedure 0 on device A with duration 62.
J7 requires procedure 1 on device B with duration 94.
J7 requires procedure 2 on device C with duration 63.
The objective is to minimize the time the final procedure finishes.

Oh, and one quick note on the reply format — it'd be great if the actual schedule comes back in a simple JSON shape like this so it's easy to read and check:

{
  ""solution"": [
    {
      ""job"": <patient_id>,
      ""tasks"": [
        {
          ""task"": <procedure_index>,
          ""start"": <start_time>,
          ""machine"": <chair_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I expect: each top-level entry in ""solution"" is one patient (job), ""tasks"" lists their procedures, ""task"" is the procedure index, ""start"" is when that procedure begins, ""machine"" says which chair or device it's on, and ""duration"" is how long it takes. Think of it like filling out a little appointment form for each patient.

Please remember that when you fill this in you must use the exact identifiers given 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_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 76], [2, 58]], [[0, 6], [1, 43], [2, 91]], [[0, 77], [1, 6], [2, 8]], [[0, 15], [1, 63], [2, 64]], [[0, 3], [1, 4], [2, 16]], [[0, 25], [1, 60], [2, 45]], [[0, 62], [1, 94], [2, 63]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 182, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 58}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 213, 'machine': 0, 'duration': 6}, {'task': 1, 'start': 170, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 254, 'machine': 2, 'duration': 91}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 336, 'machine': 1, 'duration': 6}, {'task': 2, 'start': 246, 'machine': 2, 'duration': 8}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 164, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 213, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 58, 'machine': 2, 'duration': 64}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 179, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 342, 'machine': 1, 'duration': 4}, {'task': 2, 'start': 230, 'machine': 2, 'duration': 16}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 77, 'machine': 0, 'duration': 25}, {'task': 1, 'start': 276, 'machine': 1, 'duration': 60}, {'task': 2, 'start': 122, 'machine': 2, 'duration': 45}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 102, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 167, 'machine': 2, 'duration': 63}]}]",346.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 76}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 58}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 6}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 43}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 91}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 77}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 6}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 8}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 15}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 63}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 64}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 3}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 4}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 16}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 25}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 60}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 45}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 62}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 94}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 63}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 182, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 94, 'machine': 'B', 'duration': 76}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 58}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 213, 'machine': 'A', 'duration': 6}, {'task': 1, 'start': 170, 'machine': 'B', 'duration': 43}, {'task': 2, 'start': 254, 'machine': 'C', 'duration': 91}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 77}, {'task': 1, 'start': 336, 'machine': 'B', 'duration': 6}, {'task': 2, 'start': 246, 'machine': 'C', 'duration': 8}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 164, 'machine': 'A', 'duration': 15}, {'task': 1, 'start': 213, 'machine': 'B', 'duration': 63}, {'task': 2, 'start': 58, 'machine': 'C', 'duration': 64}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 179, 'machine': 'A', 'duration': 3}, {'task': 1, 'start': 342, 'machine': 'B', 'duration': 4}, {'task': 2, 'start': 230, 'machine': 'C', 'duration': 16}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 77, 'machine': 'A', 'duration': 25}, {'task': 1, 'start': 276, 'machine': 'B', 'duration': 60}, {'task': 2, 'start': 122, 'machine': 'C', 'duration': 45}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 102, 'machine': 'A', 'duration': 62}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 94}, {'task': 2, 'start': 167, 'machine': 'C', 'duration': 63}]}]",18,nl,names
OSP,OSP,"At the hub it’s like a small puzzle: every shipment needs to go through a set of docks exactly once, but there’s no required order for those stops. The supervisor must choose both the sequence and the start time of each dock visit, making sure each dock works on only one shipment at a time and no shipment is in two docks simultaneously. The scoreboard is the finishing time of the last shipment — the earlier that finishing time, the better the plan. The concrete shipment and dock information follows below.

There are 6 shipments and 5 docks; the shipments are J1, J2, J3, J4, J5, J6 and the docks are 0, 1, 2, 3, 4.

| shipment_id | dock_visit_index | dock_id | handling_time |
|---|---|---|---|
| J1 | 0 | 0 | 1 |
| J1 | 1 | 1 | 89 |
| J1 | 2 | 2 | 34 |
| J1 | 3 | 3 | 52 |
| J1 | 4 | 4 | 96 |
| J2 | 0 | 0 | 14 |
| J2 | 1 | 1 | 82 |
| J2 | 2 | 2 | 73 |
| J2 | 3 | 3 | 76 |
| J2 | 4 | 4 | 9 |
| J3 | 0 | 0 | 2 |
| J3 | 1 | 1 | 17 |
| J3 | 2 | 2 | 85 |
| J3 | 3 | 3 | 8 |
| J3 | 4 | 4 | 21 |
| J4 | 0 | 0 | 78 |
| J4 | 1 | 1 | 27 |
| J4 | 2 | 2 | 46 |
| J4 | 3 | 3 | 1 |
| J4 | 4 | 4 | 2 |
| J5 | 0 | 0 | 5 |
| J5 | 1 | 1 | 21 |
| J5 | 2 | 2 | 34 |
| J5 | 3 | 3 | 82 |
| J5 | 4 | 4 | 77 |
| J6 | 0 | 0 | 61 |
| J6 | 1 | 1 | 52 |
| J6 | 2 | 2 | 24 |
| J6 | 3 | 3 | 96 |
| J6 | 4 | 4 | 8 |

The supervisor will use this list to schedule the visits and start times so the last shipment finishes as early as possible.

Also, to keep things tidy, please give the plan in a small JSON shape like the one below — it’s just the form I’ll expect, nothing filled in with actual times yet.

{
  ""solution"": [
    {
      ""job"": <shipment_id>,
      ""tasks"": [
        {
          ""task"": <visit_index>,
          ""start"": <start_time>,
          ""machine"": <dock_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of this as a simple form: each top-level entry under ""solution"" is one shipment (""job""), ""tasks"" is the list of dock visits that shipment needs, each task has a little record showing which visit it is (""task""), when it starts (""start""), which dock it uses (""machine""), and how long that visit takes (""duration""). Again, this block is just a sketch of the shape I want — not the actual schedule.

Please use the exact identifiers from the instance input with no renaming or adding 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_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 89], [2, 34], [3, 52], [4, 96]], [[0, 14], [1, 82], [2, 73], [3, 76], [4, 9]], [[0, 2], [1, 17], [2, 85], [3, 8], [4, 21]], [[0, 78], [1, 27], [2, 46], [3, 1], [4, 2]], [[0, 5], [1, 21], [2, 34], [3, 82], [4, 77]], [[0, 61], [1, 52], [2, 24], [3, 96], [4, 8]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 160, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 210, 'machine': 1, 'duration': 89}, {'task': 2, 'start': 165, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 96, 'machine': 3, 'duration': 52}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 96}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 83, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 2, 'start': 234, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 148, 'machine': 3, 'duration': 76}, {'task': 4, 'start': 117, 'machine': 4, 'duration': 9}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 158, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 117, 'machine': 1, 'duration': 17}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 85}, {'task': 3, 'start': 224, 'machine': 3, 'duration': 8}, {'task': 4, 'start': 96, 'machine': 4, 'duration': 21}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 78}, {'task': 1, 'start': 82, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 119, 'machine': 2, 'duration': 46}, {'task': 3, 'start': 314, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 232, 'machine': 4, 'duration': 2}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 78, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 134, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 85, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 232, 'machine': 3, 'duration': 82}, {'task': 4, 'start': 155, 'machine': 4, 'duration': 77}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 210, 'machine': 2, 'duration': 24}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 96}, {'task': 4, 'start': 234, 'machine': 4, 'duration': 8}]}]",315.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 89}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 34}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 52}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 96}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 14}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 82}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 73}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 76}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 9}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 2}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 17}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 85}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 8}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 21}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 78}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 27}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 46}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 1}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 2}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 5}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 21}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 34}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 82}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 77}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 61}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 52}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 24}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 96}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 8}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 160, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 210, 'machine': 1, 'duration': 89}, {'task': 2, 'start': 165, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 96, 'machine': 3, 'duration': 52}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 96}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 83, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 2, 'start': 234, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 148, 'machine': 3, 'duration': 76}, {'task': 4, 'start': 117, 'machine': 4, 'duration': 9}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 158, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 117, 'machine': 1, 'duration': 17}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 85}, {'task': 3, 'start': 224, 'machine': 3, 'duration': 8}, {'task': 4, 'start': 96, 'machine': 4, 'duration': 21}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 78}, {'task': 1, 'start': 82, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 119, 'machine': 2, 'duration': 46}, {'task': 3, 'start': 314, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 232, 'machine': 4, 'duration': 2}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 78, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 134, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 85, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 232, 'machine': 3, 'duration': 82}, {'task': 4, 'start': 155, 'machine': 4, 'duration': 77}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 210, 'machine': 2, 'duration': 24}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 96}, {'task': 4, 'start': 234, 'machine': 4, 'duration': 8}]}]",19,markdown_table,0
OSP,OSP,"Someone dropped off a batch of alterations and the owner asked for a simple plan: each garment needs attention at several stations once each, but the order is up for grabs. The planner must pick the sequence and start times so that stations aren’t double-booked, nothing gets skipped or done twice, and no garment is in two stations at the same time. A better plan is the one that gets every garment finished sooner — look at the time the final garment finishes; the lower that number, the better. The concrete details will be shown below.

# nr_garments=7
# nr_stations=4
# garment_ids=J1, J2, J3, J4, J5, J6, J7
# station_ids=0, 1, 2, 3
garment_id,operation_index,station_id,processing_duration
J1,0,0,1
J1,1,1,3
J1,2,2,10
J1,3,3,97
J2,0,0,50
J2,1,1,36
J2,2,2,87
J2,3,3,41
J3,0,0,44
J3,1,1,2
J3,2,2,39
J3,3,3,68
J4,0,0,69
J4,1,1,11
J4,2,2,26
J4,3,3,31
J5,0,0,94
J5,1,1,47
J5,2,2,39
J5,3,3,8
J6,0,0,47
J6,1,1,89
J6,2,2,92
J6,3,3,75
J7,0,0,62
J7,1,1,15
J7,2,2,61
J7,3,3,89

If you want to give me a plan, use the little JSON shape below so everything lines up neatly on my end — it’s just a friendly template for the fields I expect.

{
  ""solution"": [
    {
      ""job"": <garment_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Quick note on what those bits mean in plain terms: each top-level object is one garment (job), ""tasks"" is the list of steps that garment needs, ""task"" is the step index for that garment, ""start"" is when that step begins, ""machine"" names the station that step runs at, and ""duration"" is how long it takes. Think of this JSON as a blank form — a sketch of the shape I expect, not the finished schedule.

Please don’t rename any identifiers from the input or invent new ones — use them exactly as they appear in the instance. 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_machines': 4, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 3], [2, 10], [3, 97]], [[0, 50], [1, 36], [2, 87], [3, 41]], [[0, 44], [1, 2], [2, 39], [3, 68]], [[0, 69], [1, 11], [2, 26], [3, 31]], [[0, 94], [1, 47], [2, 39], [3, 8]], [[0, 47], [1, 89], [2, 92], [3, 75]], [[0, 62], [1, 15], [2, 61], [3, 89]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 366, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 3}, {'task': 2, 'start': 344, 'machine': 2, 'duration': 10}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 97}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 269, 'machine': 0, 'duration': 50}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 36}, {'task': 2, 'start': 92, 'machine': 2, 'duration': 87}, {'task': 3, 'start': 329, 'machine': 3, 'duration': 41}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 163, 'machine': 0, 'duration': 44}, {'task': 1, 'start': 62, 'machine': 1, 'duration': 2}, {'task': 2, 'start': 218, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 261, 'machine': 3, 'duration': 68}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 51, 'machine': 1, 'duration': 11}, {'task': 2, 'start': 257, 'machine': 2, 'duration': 26}, {'task': 3, 'start': 370, 'machine': 3, 'duration': 31}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 218, 'machine': 1, 'duration': 47}, {'task': 2, 'start': 179, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 401, 'machine': 3, 'duration': 8}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 319, 'machine': 0, 'duration': 47}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 89}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 92}, {'task': 3, 'start': 186, 'machine': 3, 'duration': 75}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 207, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 36, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 283, 'machine': 2, 'duration': 61}, {'task': 3, 'start': 97, 'machine': 3, 'duration': 89}]}]",409.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 3}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 10}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 97}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 50}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 36}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 87}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 41}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 44}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 2}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 39}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 68}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 69}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 11}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 26}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 31}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 94}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 47}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 39}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 8}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 47}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 89}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 92}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 75}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 62}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 15}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 61}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 3, 'duration': 89}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 366, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 3}, {'task': 2, 'start': 344, 'machine': 2, 'duration': 10}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 97}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 269, 'machine': 0, 'duration': 50}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 36}, {'task': 2, 'start': 92, 'machine': 2, 'duration': 87}, {'task': 3, 'start': 329, 'machine': 3, 'duration': 41}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 163, 'machine': 0, 'duration': 44}, {'task': 1, 'start': 62, 'machine': 1, 'duration': 2}, {'task': 2, 'start': 218, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 261, 'machine': 3, 'duration': 68}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 51, 'machine': 1, 'duration': 11}, {'task': 2, 'start': 257, 'machine': 2, 'duration': 26}, {'task': 3, 'start': 370, 'machine': 3, 'duration': 31}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 218, 'machine': 1, 'duration': 47}, {'task': 2, 'start': 179, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 401, 'machine': 3, 'duration': 8}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 319, 'machine': 0, 'duration': 47}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 89}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 92}, {'task': 3, 'start': 186, 'machine': 3, 'duration': 75}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 207, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 36, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 283, 'machine': 2, 'duration': 61}, {'task': 3, 'start': 97, 'machine': 3, 'duration': 89}]}]",20,csv,0
OSP,OSP,"Picture this: a handful of patients each need several different imaging tests and there’s no set order they must follow. The task is to map out the order and exact start times for each person’s exams so each necessary machine performs each patient’s required test once, no machine sees more than one patient at a time, and no patient is scheduled to be in two places simultaneously. The schedule is judged by one simple clock reading — the time when the last patient is done — and the goal is to make that time as small as possible. The specific instance information is listed below.

# nr_patients=7
# nr_devices=3
# patients=J1, J2, J3, J4, J5, J6, J7
# devices=0, 1, 2
patient_id,test_index,device_id,test_duration
J1,0,0,1
J1,1,1,16
J1,2,2,84
J2,0,0,44
J2,1,1,4
J2,2,2,57
J3,0,0,91
J3,1,1,9
J3,2,2,12
J4,0,0,95
J4,1,1,77
J4,2,2,21
J5,0,0,52
J5,1,1,15
J5,2,2,32
J6,0,0,84
J6,1,1,61
J6,2,2,48
J7,0,0,77
J7,1,1,15
J7,2,2,88

Also, when you’re ready to give the schedule, please use a simple JSON shape like this — nothing fancy, just fill the slots with the right identifiers and times.

{
  ""solution"": [
    {
      ""job"": <patient_id>,
      ""tasks"": [
        {
          ""task"": <exam_index>,
          ""start"": <start_time>,
          ""machine"": <scanner_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Here’s what those fields mean in plain language: each top-level ""job"" entry is a patient, ""tasks"" is the list of that patient’s exams, each ""task"" is just the exam’s index or identifier, ""start"" is when that exam should begin, ""machine"" tells you which scanner or machine will be used, and ""duration"" is how long the exam takes. It’s just a lightweight template — a sketch of the shape I need, not your final filled-in answer.

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”.""","{'nr_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 16], [2, 84]], [[0, 44], [1, 4], [2, 57]], [[0, 91], [1, 9], [2, 12]], [[0, 95], [1, 77], [2, 21]], [[0, 52], [1, 15], [2, 32]], [[0, 84], [1, 61], [2, 48]], [[0, 77], [1, 15], [2, 88]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 443, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 61, 'machine': 1, 'duration': 16}, {'task': 2, 'start': 88, 'machine': 2, 'duration': 84}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 399, 'machine': 0, 'duration': 44}, {'task': 1, 'start': 229, 'machine': 1, 'duration': 4}, {'task': 2, 'start': 172, 'machine': 2, 'duration': 57}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 91}, {'task': 1, 'start': 186, 'machine': 1, 'duration': 9}, {'task': 2, 'start': 330, 'machine': 2, 'duration': 12}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 107, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 261, 'machine': 2, 'duration': 21}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 347, 'machine': 0, 'duration': 52}, {'task': 1, 'start': 77, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 229, 'machine': 2, 'duration': 32}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 186, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 282, 'machine': 2, 'duration': 48}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 88}]}]",444.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 16}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 84}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 44}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 4}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 57}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 91}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 9}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 12}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 95}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 77}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 21}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 52}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 15}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 32}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 84}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 61}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 48}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 77}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 15}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 88}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 443, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 61, 'machine': 1, 'duration': 16}, {'task': 2, 'start': 88, 'machine': 2, 'duration': 84}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 399, 'machine': 0, 'duration': 44}, {'task': 1, 'start': 229, 'machine': 1, 'duration': 4}, {'task': 2, 'start': 172, 'machine': 2, 'duration': 57}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 91}, {'task': 1, 'start': 186, 'machine': 1, 'duration': 9}, {'task': 2, 'start': 330, 'machine': 2, 'duration': 12}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 107, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 261, 'machine': 2, 'duration': 21}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 347, 'machine': 0, 'duration': 52}, {'task': 1, 'start': 77, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 229, 'machine': 2, 'duration': 32}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 186, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 282, 'machine': 2, 'duration': 48}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 270, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 88}]}]",21,csv,0
OSP,OSP,"I’m picturing a small darkroom where a stack of film rolls all need a handful of different treatments — each roll has to go through the same set of stations, but there’s no fixed recipe saying which station first. The team has to pick the order each roll visits the stations and decide when each step starts, making sure every roll hits each required station exactly once, no station handles two rolls at once, and no roll is in two places at the same time. The trick is to arrange those orders and start times so the whole batch is finished as soon as possible — we’ll keep an eye on the clock and the time when the last roll comes out is the number we want to make as small as possible. Concrete details of the rolls and stations are shown below.

Below we list the 6 rolls and the 4 stations as J1, J2, J3, J4, J5, J6 and 0, 1, 2, 3.
Roll J1, treatment 0 needs station 0 for 1 time units.
Roll J1, treatment 1 needs station 1 for 29 time units.
Roll J1, treatment 2 needs station 2 for 60 time units.
Roll J1, treatment 3 needs station 3 for 89 time units.
Roll J2, treatment 0 needs station 0 for 56 time units.
Roll J2, treatment 1 needs station 1 for 79 time units.
Roll J2, treatment 2 needs station 2 for 96 time units.
Roll J2, treatment 3 needs station 3 for 77 time units.
Roll J3, treatment 0 needs station 0 for 79 time units.
Roll J3, treatment 1 needs station 1 for 88 time units.
Roll J3, treatment 2 needs station 2 for 16 time units.
Roll J3, treatment 3 needs station 3 for 72 time units.
Roll J4, treatment 0 needs station 0 for 35 time units.
Roll J4, treatment 1 needs station 1 for 18 time units.
Roll J4, treatment 2 needs station 2 for 37 time units.
Roll J4, treatment 3 needs station 3 for 37 time units.
Roll J5, treatment 0 needs station 0 for 28 time units.
Roll J5, treatment 1 needs station 1 for 49 time units.
Roll J5, treatment 2 needs station 2 for 16 time units.
Roll J5, treatment 3 needs station 3 for 21 time units.
Roll J6, treatment 0 needs station 0 for 30 time units.
Roll J6, treatment 1 needs station 1 for 27 time units.
Roll J6, treatment 2 needs station 2 for 11 time units.
Roll J6, treatment 3 needs station 3 for 62 time units.
We'll use these entries to pick the order and start time for each treatment so the whole batch finishes as soon as possible.

I’ll ask for the schedule in a simple JSON shape so it’s easy to read and plug in — nothing fancy, just that structure below.

{
  ""solution"": [
    {
      ""job"": <roll_id>,
      ""tasks"": [
        {
          ""task"": <treatment_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it as a little form for each film roll: ""job"" is the roll identifier, ""tasks"" is the list of treatments that roll needs, and each task line says which step it is, when it starts, which station handles it, and how long it takes. Super informal — just a sketch of the shape I’m expecting, not the actual schedule.

Please remember to 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_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 29], [2, 60], [3, 89]], [[0, 56], [1, 79], [2, 96], [3, 77]], [[0, 79], [1, 88], [2, 16], [3, 72]], [[0, 35], [1, 18], [2, 37], [3, 37]], [[0, 28], [1, 49], [2, 16], [3, 21]], [[0, 30], [1, 27], [2, 11], [3, 62]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 164, 'machine': 1, 'duration': 29}, {'task': 2, 'start': 96, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 89}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 96, 'machine': 0, 'duration': 56}, {'task': 1, 'start': 238, 'machine': 1, 'duration': 79}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 96}, {'task': 3, 'start': 161, 'machine': 3, 'duration': 77}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 161, 'machine': 0, 'duration': 79}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 88}, {'task': 2, 'start': 240, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 89, 'machine': 3, 'duration': 72}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 35}, {'task': 1, 'start': 193, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 156, 'machine': 2, 'duration': 37}, {'task': 3, 'start': 300, 'machine': 3, 'duration': 37}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 65, 'machine': 0, 'duration': 28}, {'task': 1, 'start': 115, 'machine': 1, 'duration': 49}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 337, 'machine': 3, 'duration': 21}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 35, 'machine': 0, 'duration': 30}, {'task': 1, 'start': 88, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 209, 'machine': 2, 'duration': 11}, {'task': 3, 'start': 238, 'machine': 3, 'duration': 62}]}]",358.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 29}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 60}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 89}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 56}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 79}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 96}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 77}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 79}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 88}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 16}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 72}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 35}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 18}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 37}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 37}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 28}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 49}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 16}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 21}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 30}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 27}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 11}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 62}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 164, 'machine': 1, 'duration': 29}, {'task': 2, 'start': 96, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 89}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 96, 'machine': 0, 'duration': 56}, {'task': 1, 'start': 238, 'machine': 1, 'duration': 79}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 96}, {'task': 3, 'start': 161, 'machine': 3, 'duration': 77}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 161, 'machine': 0, 'duration': 79}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 88}, {'task': 2, 'start': 240, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 89, 'machine': 3, 'duration': 72}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 35}, {'task': 1, 'start': 193, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 156, 'machine': 2, 'duration': 37}, {'task': 3, 'start': 300, 'machine': 3, 'duration': 37}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 65, 'machine': 0, 'duration': 28}, {'task': 1, 'start': 115, 'machine': 1, 'duration': 49}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 337, 'machine': 3, 'duration': 21}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 35, 'machine': 0, 'duration': 30}, {'task': 1, 'start': 88, 'machine': 1, 'duration': 27}, {'task': 2, 'start': 209, 'machine': 2, 'duration': 11}, {'task': 3, 'start': 238, 'machine': 3, 'duration': 62}]}]",22,nl,0
OSP,OSP,"Someone in the shop needs to decide the running order and timing for a stack of cabinets that each require work at several stations, figuring out which cabinet goes where and when. Each cabinet has to hit each necessary station a single time, stations can’t process multiple cabinets simultaneously, and a cabinet can’t be at two stations at the same moment. The better the schedule, the earlier the entire batch is wrapped up — measured by the time the last cabinet is completed. The concrete schedule data and durations are shown below.

They are: the 6 cabinet ids J1, J2, J3, J4, J5, J6 and the 3 station ids 1, 2, 3.
Cabinet J1, operation 0, requires station 1 for 1 time units.
Cabinet J1, operation 1, requires station 2 for 42 time units.
Cabinet J1, operation 2, requires station 3 for 36 time units.
Cabinet J2, operation 0, requires station 1 for 36 time units.
Cabinet J2, operation 1, requires station 2 for 10 time units.
Cabinet J2, operation 2, requires station 3 for 2 time units.
Cabinet J3, operation 0, requires station 1 for 2 time units.
Cabinet J3, operation 1, requires station 2 for 45 time units.
Cabinet J3, operation 2, requires station 3 for 48 time units.
Cabinet J4, operation 0, requires station 1 for 82 time units.
Cabinet J4, operation 1, requires station 2 for 54 time units.
Cabinet J4, operation 2, requires station 3 for 25 time units.
Cabinet J5, operation 0, requires station 1 for 18 time units.
Cabinet J5, operation 1, requires station 2 for 22 time units.
Cabinet J5, operation 2, requires station 3 for 42 time units.
Cabinet J6, operation 0, requires station 1 for 90 time units.
Cabinet J6, operation 1, requires station 2 for 95 time units.
Cabinet J6, operation 2, requires station 3 for 49 time units.
Someone in the shop will assign order and start times from these lines to minimize the batch completion time.

You can just hand me the schedule in a simple JSON form like this — nothing fancy, just the fields we'll need to read and check.

{
  ""solution"": [
    {
      ""job"": <cabinet_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a little form: each ""job"" is one cabinet (use the same cabinet IDs from the input), ""tasks"" is the list of station visits for that cabinet, and each task row tells you which step it is, when it starts, which station it uses, and how long it takes. Super casual — just fill in the entries for each cabinet.

This JSON is only a sketch of the expected shape, not the final schedule itself. Please be careful 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_machines': 3, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 42], [2, 36]], [[0, 36], [1, 10], [2, 2]], [[0, 2], [1, 45], [2, 48]], [[0, 82], [1, 54], [2, 25]], [[0, 18], [1, 22], [2, 42]], [[0, 90], [1, 95], [2, 49]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 236, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 194, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 90, 'machine': 2, 'duration': 36}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 82, 'machine': 0, 'duration': 36}, {'task': 1, 'start': 258, 'machine': 1, 'duration': 10}, {'task': 2, 'start': 126, 'machine': 2, 'duration': 2}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 226, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 149, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 48}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 95, 'machine': 1, 'duration': 54}, {'task': 2, 'start': 149, 'machine': 2, 'duration': 25}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 208, 'machine': 0, 'duration': 18}, {'task': 1, 'start': 236, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 48, 'machine': 2, 'duration': 42}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 118, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 208, 'machine': 2, 'duration': 49}]}]",268.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 42}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 36}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 36}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 10}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 2}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 2}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 45}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 48}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 82}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 54}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 25}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 18}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 22}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 42}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 90}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 95}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 49}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 236, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 194, 'machine': 2, 'duration': 42}, {'task': 2, 'start': 90, 'machine': 3, 'duration': 36}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 82, 'machine': 1, 'duration': 36}, {'task': 1, 'start': 258, 'machine': 2, 'duration': 10}, {'task': 2, 'start': 126, 'machine': 3, 'duration': 2}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 226, 'machine': 1, 'duration': 2}, {'task': 1, 'start': 149, 'machine': 2, 'duration': 45}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 48}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 82}, {'task': 1, 'start': 95, 'machine': 2, 'duration': 54}, {'task': 2, 'start': 149, 'machine': 3, 'duration': 25}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 208, 'machine': 1, 'duration': 18}, {'task': 1, 'start': 236, 'machine': 2, 'duration': 22}, {'task': 2, 'start': 48, 'machine': 3, 'duration': 42}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 118, 'machine': 1, 'duration': 90}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 95}, {'task': 2, 'start': 208, 'machine': 3, 'duration': 49}]}]",23,nl,1
OSP,OSP,"Recently the QA team had to sort out how to run a batch of circuit boards through several testing machines: pick the order of tests for each board and schedule exact start times so there are no conflicts. Every board needs each specified tester exactly once, testers can’t handle more than one board at a stretch, and a board can’t be tested in two places at once. The success of a schedule is judged by when the very last board finishes its final required test — the earlier that moment, the better. The concrete details will be shown below.

# nr_boards=7
# nr_testers=3
# board_ids=J1, J2, J3, J4, J5, J6, J7
# tester_ids=0, 1, 2
board_id,board_test_index,tester_id,test_duration
J1,0,0,1
J1,1,1,55
J1,2,2,12
J2,0,0,81
J2,1,1,63
J2,2,2,24
J3,0,0,6
J3,1,1,13
J3,2,2,16
J4,0,0,75
J4,1,1,92
J4,2,2,76
J5,0,0,2
J5,1,1,25
J5,2,2,48
J6,0,0,43
J6,1,1,62
J6,2,2,50
J7,0,0,92
J7,1,1,35
J7,2,2,14

Also, when you send the schedule back, just use a small JSON shape so it's easy to parse. Something like this:

{
  ""solution"": [
    {
      ""job"": <board_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <tester_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This sketch just shows the expected parts: each top-level entry under ""solution"" is one board (job), ""tasks"" lists that board’s tests, each task line has which test it is, when it starts, which tester (machine) it uses, and how long that test lasts. It’s just a template for the shape I need, not the actual scheduled values.

Please be sure to use the exact identifiers from the instance input — don’t invent new labels or rename existing 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_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 55], [2, 12]], [[0, 81], [1, 63], [2, 24]], [[0, 6], [1, 13], [2, 16]], [[0, 75], [1, 92], [2, 76]], [[0, 2], [1, 25], [2, 48]], [[0, 43], [1, 62], [2, 50]], [[0, 92], [1, 35], [2, 14]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 299, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 154, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 228, 'machine': 2, 'duration': 12}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 92, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 209, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 174, 'machine': 2, 'duration': 24}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 291, 'machine': 0, 'duration': 6}, {'task': 1, 'start': 332, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 198, 'machine': 2, 'duration': 16}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 216, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 76}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 297, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 307, 'machine': 1, 'duration': 25}, {'task': 2, 'start': 50, 'machine': 2, 'duration': 48}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 173, 'machine': 0, 'duration': 43}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 50}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 92}, {'task': 1, 'start': 272, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 214, 'machine': 2, 'duration': 14}]}]",345.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 55}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 12}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 81}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 63}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 24}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 6}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 13}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 16}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 75}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 92}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 76}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 2}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 25}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 48}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 43}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 62}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 50}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 92}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 35}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 14}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 299, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 154, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 228, 'machine': 2, 'duration': 12}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 92, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 209, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 174, 'machine': 2, 'duration': 24}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 291, 'machine': 0, 'duration': 6}, {'task': 1, 'start': 332, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 198, 'machine': 2, 'duration': 16}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 216, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 76}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 297, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 307, 'machine': 1, 'duration': 25}, {'task': 2, 'start': 50, 'machine': 2, 'duration': 48}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 173, 'machine': 0, 'duration': 43}, {'task': 1, 'start': 92, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 50}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 92}, {'task': 1, 'start': 272, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 214, 'machine': 2, 'duration': 14}]}]",24,csv,0
OSP,OSP,"Many people booked several services and the salon scheduler needed to line up the order and the starting times for each person’s appointments so the day would run smoothly. Each client has to visit each required station exactly once, stations can’t serve more than one client at a time, and no one can be scheduled in two places simultaneously. The better the plan, the sooner the last client walks out; so compare schedules by the time the final appointment finishes and choose the earliest. The exact bookings and times are shown below.

# nr_clients=7
# nr_stations=4
# clients=J1, J2, J3, J4, J5, J6, J7
# stations=A, B, C, D
client_id,service_index,station_id,service_duration
J1,0,A,1
J1,1,B,68
J1,2,C,87
J1,3,D,27
J2,0,A,17
J2,1,B,45
J2,2,C,11
J2,3,D,80
J3,0,A,83
J3,1,B,69
J3,2,C,31
J3,3,D,28
J4,0,A,84
J4,1,B,28
J4,2,C,53
J4,3,D,96
J5,0,A,30
J5,1,B,51
J5,2,C,31
J5,3,D,41
J6,0,A,55
J6,1,B,33
J6,2,C,87
J6,3,D,41
J7,0,A,84
J7,1,B,77
J7,2,C,7
J7,3,D,16

When I give you the actual schedule, I'll keep it in a simple JSON shape so it's easy to read and reuse. Here's the shape I’ll follow:

{
  ""solution"": [
    {
      ""job"": <client_id>,
      ""tasks"": [
        {
          ""task"": <service_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the fields — think of ""job"" as the client, ""tasks"" as that client's list of appointments, ""task"" as the specific service slot, ""start"" as when the appointment begins, ""machine"" as the salon station or chair being used, and ""duration"" as how long that service takes. It’s informal, like filling out a little form.

Please remember that when filling in the actual schedule you must 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_machines': 4, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 68], [2, 87], [3, 27]], [[0, 17], [1, 45], [2, 11], [3, 80]], [[0, 83], [1, 69], [2, 31], [3, 28]], [[0, 84], [1, 28], [2, 53], [3, 96]], [[0, 30], [1, 51], [2, 31], [3, 41]], [[0, 55], [1, 33], [2, 87], [3, 41]], [[0, 84], [1, 77], [2, 7], [3, 16]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 353, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 197, 'machine': 1, 'duration': 68}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 87}, {'task': 3, 'start': 286, 'machine': 3, 'duration': 27}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 251, 'machine': 0, 'duration': 17}, {'task': 1, 'start': 298, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 205, 'machine': 2, 'duration': 11}, {'task': 3, 'start': 96, 'machine': 3, 'duration': 80}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 84, 'machine': 0, 'duration': 83}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 174, 'machine': 2, 'duration': 31}, {'task': 3, 'start': 258, 'machine': 3, 'duration': 28}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 167, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 343, 'machine': 1, 'duration': 28}, {'task': 2, 'start': 254, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 96}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 268, 'machine': 0, 'duration': 30}, {'task': 1, 'start': 69, 'machine': 1, 'duration': 51}, {'task': 2, 'start': 223, 'machine': 2, 'duration': 31}, {'task': 3, 'start': 176, 'machine': 3, 'duration': 41}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 298, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 265, 'machine': 1, 'duration': 33}, {'task': 2, 'start': 87, 'machine': 2, 'duration': 87}, {'task': 3, 'start': 217, 'machine': 3, 'duration': 41}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 120, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 216, 'machine': 2, 'duration': 7}, {'task': 3, 'start': 313, 'machine': 3, 'duration': 16}]}]",371.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 68}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 87}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 27}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 17}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 45}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 11}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 80}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 83}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 69}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 31}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 28}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 84}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 28}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 53}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 96}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 30}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 51}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 31}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 41}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 55}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 33}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 87}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 41}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 84}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 77}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 7}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 16}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 353, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 197, 'machine': 'B', 'duration': 68}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 87}, {'task': 3, 'start': 286, 'machine': 'D', 'duration': 27}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 251, 'machine': 'A', 'duration': 17}, {'task': 1, 'start': 298, 'machine': 'B', 'duration': 45}, {'task': 2, 'start': 205, 'machine': 'C', 'duration': 11}, {'task': 3, 'start': 96, 'machine': 'D', 'duration': 80}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 84, 'machine': 'A', 'duration': 83}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 69}, {'task': 2, 'start': 174, 'machine': 'C', 'duration': 31}, {'task': 3, 'start': 258, 'machine': 'D', 'duration': 28}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 167, 'machine': 'A', 'duration': 84}, {'task': 1, 'start': 343, 'machine': 'B', 'duration': 28}, {'task': 2, 'start': 254, 'machine': 'C', 'duration': 53}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 96}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 268, 'machine': 'A', 'duration': 30}, {'task': 1, 'start': 69, 'machine': 'B', 'duration': 51}, {'task': 2, 'start': 223, 'machine': 'C', 'duration': 31}, {'task': 3, 'start': 176, 'machine': 'D', 'duration': 41}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 298, 'machine': 'A', 'duration': 55}, {'task': 1, 'start': 265, 'machine': 'B', 'duration': 33}, {'task': 2, 'start': 87, 'machine': 'C', 'duration': 87}, {'task': 3, 'start': 217, 'machine': 'D', 'duration': 41}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 84}, {'task': 1, 'start': 120, 'machine': 'B', 'duration': 77}, {'task': 2, 'start': 216, 'machine': 'C', 'duration': 7}, {'task': 3, 'start': 313, 'machine': 'D', 'duration': 16}]}]",25,csv,names
OSP,OSP,"In a small bindery the team needs to process a batch where each book needs several different operations, but there’s no preset order for those steps. The task is to choose the order and timing for each book’s operations so each required station is visited once, no station works on two books at the same time, and no book is worked on in two places at once. The “best” way is simply the one that gets the final book done first — compute every book’s finish time and take the latest as the batch’s completion time. The concrete details are shown below.

There are 8 books to schedule across 4 stations; the book identifiers are J1, J2, J3, J4, J5, J6, J7, J8 and the station identifiers are A, B, C, D.
Book J1, operation 0, requires station A for 1 time units.
Book J1, operation 1, requires station B for 81 time units.
Book J1, operation 2, requires station C for 62 time units.
Book J1, operation 3, requires station D for 73 time units.
Book J2, operation 0, requires station A for 69 time units.
Book J2, operation 1, requires station B for 67 time units.
Book J2, operation 2, requires station C for 16 time units.
Book J2, operation 3, requires station D for 48 time units.
Book J3, operation 0, requires station A for 51 time units.
Book J3, operation 1, requires station B for 62 time units.
Book J3, operation 2, requires station C for 69 time units.
Book J3, operation 3, requires station D for 80 time units.
Book J4, operation 0, requires station A for 67 time units.
Book J4, operation 1, requires station B for 32 time units.
Book J4, operation 2, requires station C for 58 time units.
Book J4, operation 3, requires station D for 49 time units.
Book J5, operation 0, requires station A for 96 time units.
Book J5, operation 1, requires station B for 52 time units.
Book J5, operation 2, requires station C for 69 time units.
Book J5, operation 3, requires station D for 48 time units.
Book J6, operation 0, requires station A for 97 time units.
Book J6, operation 1, requires station B for 2 time units.
Book J6, operation 2, requires station C for 46 time units.
Book J6, operation 3, requires station D for 34 time units.
Book J7, operation 0, requires station A for 69 time units.
Book J7, operation 1, requires station B for 31 time units.
Book J7, operation 2, requires station C for 17 time units.
Book J7, operation 3, requires station D for 81 time units.
Book J8, operation 0, requires station A for 87 time units.
Book J8, operation 1, requires station B for 97 time units.
Book J8, operation 2, requires station C for 99 time units.
Book J8, operation 3, requires station D for 7 time units.
Use these operation lines to compute each book's finish time and take the latest as the batch completion time.

Also, when you send the schedule back, just use a relaxed JSON layout like this so it's easy to parse and read:

{
  ""solution"": [
    {
      ""job"": <book_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of that as a little form: each item in ""solution"" is one book, and ""tasks"" is the list of operations that book needs. For every operation you give an operation index, a start time, which station (machine) it visits, and how long that step takes. Super informal — just a sketch of the shape I want, not the final schedule.

Please make sure to use the exact identifiers that appear in 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_machines': 4, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 81], [2, 62], [3, 73]], [[0, 69], [1, 67], [2, 16], [3, 48]], [[0, 51], [1, 62], [2, 69], [3, 80]], [[0, 67], [1, 32], [2, 58], [3, 49]], [[0, 96], [1, 52], [2, 69], [3, 48]], [[0, 97], [1, 2], [2, 46], [3, 34]], [[0, 69], [1, 31], [2, 17], [3, 81]], [[0, 87], [1, 97], [2, 99], [3, 7]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 536, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 99, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 161, 'machine': 3, 'duration': 73}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 193, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 81, 'machine': 1, 'duration': 67}, {'task': 2, 'start': 357, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 283, 'machine': 3, 'duration': 48}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 485, 'machine': 0, 'duration': 51}, {'task': 1, 'start': 245, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 161, 'machine': 2, 'duration': 69}, {'task': 3, 'start': 81, 'machine': 3, 'duration': 80}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 418, 'machine': 0, 'duration': 67}, {'task': 1, 'start': 359, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 299, 'machine': 2, 'duration': 58}, {'task': 3, 'start': 234, 'machine': 3, 'duration': 49}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 307, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 230, 'machine': 2, 'duration': 69}, {'task': 3, 'start': 365, 'machine': 3, 'duration': 48}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 449, 'machine': 1, 'duration': 2}, {'task': 2, 'start': 373, 'machine': 2, 'duration': 46}, {'task': 3, 'start': 331, 'machine': 3, 'duration': 34}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 349, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 418, 'machine': 1, 'duration': 31}, {'task': 2, 'start': 449, 'machine': 2, 'duration': 17}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 81}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 262, 'machine': 0, 'duration': 87}, {'task': 1, 'start': 148, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 99}, {'task': 3, 'start': 413, 'machine': 3, 'duration': 7}]}]",537.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 81}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 62}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 73}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 69}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 67}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 16}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 48}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 51}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 62}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 69}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 80}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 67}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 32}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 58}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 49}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 96}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 52}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 69}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 48}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 97}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 2}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 46}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 34}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 69}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 31}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 17}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 81}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 87}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 97}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 99}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 7}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 536, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 81}, {'task': 2, 'start': 99, 'machine': 'C', 'duration': 62}, {'task': 3, 'start': 161, 'machine': 'D', 'duration': 73}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 193, 'machine': 'A', 'duration': 69}, {'task': 1, 'start': 81, 'machine': 'B', 'duration': 67}, {'task': 2, 'start': 357, 'machine': 'C', 'duration': 16}, {'task': 3, 'start': 283, 'machine': 'D', 'duration': 48}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 485, 'machine': 'A', 'duration': 51}, {'task': 1, 'start': 245, 'machine': 'B', 'duration': 62}, {'task': 2, 'start': 161, 'machine': 'C', 'duration': 69}, {'task': 3, 'start': 81, 'machine': 'D', 'duration': 80}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 418, 'machine': 'A', 'duration': 67}, {'task': 1, 'start': 359, 'machine': 'B', 'duration': 32}, {'task': 2, 'start': 299, 'machine': 'C', 'duration': 58}, {'task': 3, 'start': 234, 'machine': 'D', 'duration': 49}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 97, 'machine': 'A', 'duration': 96}, {'task': 1, 'start': 307, 'machine': 'B', 'duration': 52}, {'task': 2, 'start': 230, 'machine': 'C', 'duration': 69}, {'task': 3, 'start': 365, 'machine': 'D', 'duration': 48}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 97}, {'task': 1, 'start': 449, 'machine': 'B', 'duration': 2}, {'task': 2, 'start': 373, 'machine': 'C', 'duration': 46}, {'task': 3, 'start': 331, 'machine': 'D', 'duration': 34}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 349, 'machine': 'A', 'duration': 69}, {'task': 1, 'start': 418, 'machine': 'B', 'duration': 31}, {'task': 2, 'start': 449, 'machine': 'C', 'duration': 17}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 81}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 262, 'machine': 'A', 'duration': 87}, {'task': 1, 'start': 148, 'machine': 'B', 'duration': 97}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 99}, {'task': 3, 'start': 413, 'machine': 'D', 'duration': 7}]}]",26,nl,names
OSP,OSP,"Someone dropped off a dozen phones, each needing several distinct operations across the shop’s benches, and those operations can be done in any order for each phone. The challenge is to decide when and in which order each phone sees each bench, ensuring every required operation is performed exactly once, each bench handles a single phone at a time, and no phone is scheduled at two benches simultaneously. The best way to judge any plan is simple: look at the clock time when the last phone is done — the earlier, the better. Details about the phones and benches appear below.

{
  ""nr_phones"": 6,
  ""nr_benches"": 5,
  ""phones"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""benches"": [
    1,
    2,
    3,
    4,
    5
  ],
  ""tasks"": [
    {
      ""phone_id"": ""J1"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 1
    },
    {
      ""phone_id"": ""J1"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 94
    },
    {
      ""phone_id"": ""J1"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 38
    },
    {
      ""phone_id"": ""J1"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 19
    },
    {
      ""phone_id"": ""J1"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 23
    },
    {
      ""phone_id"": ""J2"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 89
    },
    {
      ""phone_id"": ""J2"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 20
    },
    {
      ""phone_id"": ""J2"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 17
    },
    {
      ""phone_id"": ""J2"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 20
    },
    {
      ""phone_id"": ""J2"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 56
    },
    {
      ""phone_id"": ""J3"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 8
    },
    {
      ""phone_id"": ""J3"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 32
    },
    {
      ""phone_id"": ""J3"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 51
    },
    {
      ""phone_id"": ""J3"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 35
    },
    {
      ""phone_id"": ""J3"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 63
    },
    {
      ""phone_id"": ""J4"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 2
    },
    {
      ""phone_id"": ""J4"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 64
    },
    {
      ""phone_id"": ""J4"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 52
    },
    {
      ""phone_id"": ""J4"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 8
    },
    {
      ""phone_id"": ""J4"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 54
    },
    {
      ""phone_id"": ""J5"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 39
    },
    {
      ""phone_id"": ""J5"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 70
    },
    {
      ""phone_id"": ""J5"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 5
    },
    {
      ""phone_id"": ""J5"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 27
    },
    {
      ""phone_id"": ""J5"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 54
    },
    {
      ""phone_id"": ""J6"",
      ""operation_index"": 0,
      ""bench_id"": 1,
      ""operation_duration"": 83
    },
    {
      ""phone_id"": ""J6"",
      ""operation_index"": 1,
      ""bench_id"": 2,
      ""operation_duration"": 26
    },
    {
      ""phone_id"": ""J6"",
      ""operation_index"": 2,
      ""bench_id"": 3,
      ""operation_duration"": 47
    },
    {
      ""phone_id"": ""J6"",
      ""operation_index"": 3,
      ""bench_id"": 4,
      ""operation_duration"": 29
    },
    {
      ""phone_id"": ""J6"",
      ""operation_index"": 4,
      ""bench_id"": 5,
      ""operation_duration"": 68
    }
  ]
}

I’ll lay out the shape I expect the answer to take so it’s easy to fill in: think of it as a little form you’ll populate. Use this JSON layout, keeping the keys exactly the same, and swapping the angle-bracket placeholders for the real values from the instance.

{
  ""solution"": [
    {
      ""job"": <phone_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <bench_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Pretty straightforward: each top-level ""job"" entry is one phone, ""tasks"" is the list of operations that phone needs. For each task you give its index, the start time, which bench (machine) it goes to, and how long that task takes. This is just the expected shape — a sketch, not the filled-in schedule.

Please make sure to use the exact identifiers from the instance input — 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_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 94], [2, 38], [3, 19], [4, 23]], [[0, 89], [1, 20], [2, 17], [3, 20], [4, 56]], [[0, 8], [1, 32], [2, 51], [3, 35], [4, 63]], [[0, 2], [1, 64], [2, 52], [3, 8], [4, 54]], [[0, 39], [1, 70], [2, 5], [3, 27], [4, 54]], [[0, 83], [1, 26], [2, 47], [3, 29], [4, 68]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 103, 'machine': 2, 'duration': 38}, {'task': 3, 'start': 141, 'machine': 3, 'duration': 19}, {'task': 4, 'start': 295, 'machine': 4, 'duration': 23}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 89}, {'task': 1, 'start': 286, 'machine': 1, 'duration': 20}, {'task': 2, 'start': 141, 'machine': 2, 'duration': 17}, {'task': 3, 'start': 99, 'machine': 3, 'duration': 20}, {'task': 4, 'start': 185, 'machine': 4, 'duration': 56}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 185, 'machine': 0, 'duration': 8}, {'task': 1, 'start': 228, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 52, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 35}, {'task': 4, 'start': 122, 'machine': 4, 'duration': 63}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 89, 'machine': 0, 'duration': 2}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 52}, {'task': 3, 'start': 62, 'machine': 3, 'duration': 8}, {'task': 4, 'start': 241, 'machine': 4, 'duration': 54}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 39}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 267, 'machine': 2, 'duration': 5}, {'task': 3, 'start': 35, 'machine': 3, 'duration': 27}, {'task': 4, 'start': 68, 'machine': 4, 'duration': 54}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 99, 'machine': 0, 'duration': 83}, {'task': 1, 'start': 260, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 182, 'machine': 2, 'duration': 47}, {'task': 3, 'start': 70, 'machine': 3, 'duration': 29}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 68}]}]",318.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [1, 2, 3, 4, 5], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 94}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 38}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 4, 'duration': 19}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 5, 'duration': 23}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 89}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 20}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 17}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 4, 'duration': 20}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 5, 'duration': 56}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 8}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 32}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 51}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 4, 'duration': 35}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 5, 'duration': 63}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 2}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 64}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 52}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 4, 'duration': 8}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 5, 'duration': 54}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 39}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 70}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 5}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 4, 'duration': 27}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 5, 'duration': 54}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 83}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 26}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 47}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 4, 'duration': 29}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 5, 'duration': 68}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 94, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 94}, {'task': 2, 'start': 103, 'machine': 3, 'duration': 38}, {'task': 3, 'start': 141, 'machine': 4, 'duration': 19}, {'task': 4, 'start': 295, 'machine': 5, 'duration': 23}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 89}, {'task': 1, 'start': 286, 'machine': 2, 'duration': 20}, {'task': 2, 'start': 141, 'machine': 3, 'duration': 17}, {'task': 3, 'start': 99, 'machine': 4, 'duration': 20}, {'task': 4, 'start': 185, 'machine': 5, 'duration': 56}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 185, 'machine': 1, 'duration': 8}, {'task': 1, 'start': 228, 'machine': 2, 'duration': 32}, {'task': 2, 'start': 52, 'machine': 3, 'duration': 51}, {'task': 3, 'start': 0, 'machine': 4, 'duration': 35}, {'task': 4, 'start': 122, 'machine': 5, 'duration': 63}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 89, 'machine': 1, 'duration': 2}, {'task': 1, 'start': 94, 'machine': 2, 'duration': 64}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 52}, {'task': 3, 'start': 62, 'machine': 4, 'duration': 8}, {'task': 4, 'start': 241, 'machine': 5, 'duration': 54}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 228, 'machine': 1, 'duration': 39}, {'task': 1, 'start': 158, 'machine': 2, 'duration': 70}, {'task': 2, 'start': 267, 'machine': 3, 'duration': 5}, {'task': 3, 'start': 35, 'machine': 4, 'duration': 27}, {'task': 4, 'start': 68, 'machine': 5, 'duration': 54}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 99, 'machine': 1, 'duration': 83}, {'task': 1, 'start': 260, 'machine': 2, 'duration': 26}, {'task': 2, 'start': 182, 'machine': 3, 'duration': 47}, {'task': 3, 'start': 70, 'machine': 4, 'duration': 29}, {'task': 4, 'start': 0, 'machine': 5, 'duration': 68}]}]",27,json,1
OSP,OSP,"Someone at the shipping dock is trying to clear a backlog: every parcel has a short checklist of packing stations it must visit, exactly one visit per station, but there’s no required order. The job is to schedule when each parcel hits each station and in what order, with the simple rules that a station only works on one parcel at a time and a parcel can’t be in two stations at once. Better schedules are those that complete the whole batch earlier — you read success as the time when the very last parcel finishes. The detailed list of parcels and station times is given below.

There are 7 parcels and 5 packing stations; parcel ids are J1, J2, J3, J4, J5, J6, J7 and station ids are A, B, C, D, E.
Parcel J1, visit 0: requires station A for 1 time units.
Parcel J1, visit 1: requires station B for 8 time units.
Parcel J1, visit 2: requires station C for 14 time units.
Parcel J1, visit 3: requires station D for 65 time units.
Parcel J1, visit 4: requires station E for 76 time units.
Parcel J2, visit 0: requires station A for 11 time units.
Parcel J2, visit 1: requires station B for 25 time units.
Parcel J2, visit 2: requires station C for 84 time units.
Parcel J2, visit 3: requires station D for 87 time units.
Parcel J2, visit 4: requires station E for 49 time units.
Parcel J3, visit 0: requires station A for 46 time units.
Parcel J3, visit 1: requires station B for 84 time units.
Parcel J3, visit 2: requires station C for 34 time units.
Parcel J3, visit 3: requires station D for 39 time units.
Parcel J3, visit 4: requires station E for 69 time units.
Parcel J4, visit 0: requires station A for 55 time units.
Parcel J4, visit 1: requires station B for 31 time units.
Parcel J4, visit 2: requires station C for 53 time units.
Parcel J4, visit 3: requires station D for 46 time units.
Parcel J4, visit 4: requires station E for 61 time units.
Parcel J5, visit 0: requires station A for 80 time units.
Parcel J5, visit 1: requires station B for 39 time units.
Parcel J5, visit 2: requires station C for 64 time units.
Parcel J5, visit 3: requires station D for 20 time units.
Parcel J5, visit 4: requires station E for 39 time units.
Parcel J6, visit 0: requires station A for 36 time units.
Parcel J6, visit 1: requires station B for 35 time units.
Parcel J6, visit 2: requires station C for 12 time units.
Parcel J6, visit 3: requires station D for 70 time units.
Parcel J6, visit 4: requires station E for 38 time units.
Parcel J7, visit 0: requires station A for 81 time units.
Parcel J7, visit 1: requires station B for 59 time units.
Parcel J7, visit 2: requires station C for 11 time units.
Parcel J7, visit 3: requires station D for 28 time units.
Parcel J7, visit 4: requires station E for 79 time units.
Better schedules finish the whole batch earlier — you read success as the time when the very last parcel finishes.

Oh, and when you return the schedule, it helps to follow a simple JSON layout so everything's easy to read. Here's the shape I expect:

{
  ""solution"": [
    {
      ""job"": <parcel_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a little form: ""solution"" holds a list of parcels, each parcel's ""job"" is its ID, ""tasks"" is the checklist of station visits, and for each task you give the task index, when it starts, which station it goes to, and how long it takes. Super casual — just the shape, not the actual schedule.

Please remember: all identifiers must be 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_machines': 5, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 8], [2, 14], [3, 65], [4, 76]], [[0, 11], [1, 25], [2, 84], [3, 87], [4, 49]], [[0, 46], [1, 84], [2, 34], [3, 39], [4, 69]], [[0, 55], [1, 31], [2, 53], [3, 46], [4, 61]], [[0, 80], [1, 39], [2, 64], [3, 20], [4, 39]], [[0, 36], [1, 35], [2, 12], [3, 70], [4, 38]], [[0, 81], [1, 59], [2, 11], [3, 28], [4, 79]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 254, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 178, 'machine': 1, 'duration': 8}, {'task': 2, 'start': 201, 'machine': 2, 'duration': 14}, {'task': 3, 'start': 87, 'machine': 3, 'duration': 65}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 76}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 243, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 312, 'machine': 1, 'duration': 25}, {'task': 2, 'start': 117, 'machine': 2, 'duration': 84}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 87}, {'task': 4, 'start': 263, 'machine': 4, 'duration': 49}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 197, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 243, 'machine': 2, 'duration': 34}, {'task': 3, 'start': 296, 'machine': 3, 'duration': 39}, {'task': 4, 'start': 115, 'machine': 4, 'duration': 69}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 267, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 236, 'machine': 1, 'duration': 31}, {'task': 2, 'start': 64, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 152, 'machine': 3, 'duration': 46}, {'task': 4, 'start': 350, 'machine': 4, 'duration': 61}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 117, 'machine': 0, 'duration': 80}, {'task': 1, 'start': 197, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 64}, {'task': 3, 'start': 335, 'machine': 3, 'duration': 20}, {'task': 4, 'start': 76, 'machine': 4, 'duration': 39}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 81, 'machine': 0, 'duration': 36}, {'task': 1, 'start': 143, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 277, 'machine': 2, 'duration': 12}, {'task': 3, 'start': 198, 'machine': 3, 'duration': 70}, {'task': 4, 'start': 312, 'machine': 4, 'duration': 38}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 296, 'machine': 2, 'duration': 11}, {'task': 3, 'start': 268, 'machine': 3, 'duration': 28}, {'task': 4, 'start': 184, 'machine': 4, 'duration': 79}]}]",411.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 8}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 14}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 65}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 76}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 11}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 25}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 84}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 87}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 49}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 46}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 84}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 34}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 39}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 69}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 55}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 31}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 53}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 46}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 61}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 80}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 39}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 64}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 20}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 39}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 36}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 35}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 12}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 70}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 38}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 81}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 59}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 11}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 28}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 79}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 254, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 178, 'machine': 'B', 'duration': 8}, {'task': 2, 'start': 201, 'machine': 'C', 'duration': 14}, {'task': 3, 'start': 87, 'machine': 'D', 'duration': 65}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 76}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 243, 'machine': 'A', 'duration': 11}, {'task': 1, 'start': 312, 'machine': 'B', 'duration': 25}, {'task': 2, 'start': 117, 'machine': 'C', 'duration': 84}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 87}, {'task': 4, 'start': 263, 'machine': 'E', 'duration': 49}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 197, 'machine': 'A', 'duration': 46}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 84}, {'task': 2, 'start': 243, 'machine': 'C', 'duration': 34}, {'task': 3, 'start': 296, 'machine': 'D', 'duration': 39}, {'task': 4, 'start': 115, 'machine': 'E', 'duration': 69}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 267, 'machine': 'A', 'duration': 55}, {'task': 1, 'start': 236, 'machine': 'B', 'duration': 31}, {'task': 2, 'start': 64, 'machine': 'C', 'duration': 53}, {'task': 3, 'start': 152, 'machine': 'D', 'duration': 46}, {'task': 4, 'start': 350, 'machine': 'E', 'duration': 61}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 117, 'machine': 'A', 'duration': 80}, {'task': 1, 'start': 197, 'machine': 'B', 'duration': 39}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 64}, {'task': 3, 'start': 335, 'machine': 'D', 'duration': 20}, {'task': 4, 'start': 76, 'machine': 'E', 'duration': 39}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 81, 'machine': 'A', 'duration': 36}, {'task': 1, 'start': 143, 'machine': 'B', 'duration': 35}, {'task': 2, 'start': 277, 'machine': 'C', 'duration': 12}, {'task': 3, 'start': 198, 'machine': 'D', 'duration': 70}, {'task': 4, 'start': 312, 'machine': 'E', 'duration': 38}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 81}, {'task': 1, 'start': 84, 'machine': 'B', 'duration': 59}, {'task': 2, 'start': 296, 'machine': 'C', 'duration': 11}, {'task': 3, 'start': 268, 'machine': 'D', 'duration': 28}, {'task': 4, 'start': 184, 'machine': 'E', 'duration': 79}]}]",28,nl,names
OSP,OSP,"Someone at the front desk is trying to plan a day where every animal gets all its required treatments across several rooms, exactly once per room, and no room repeats work on the same pet. That person must choose both the order pets move between rooms and when each treatment starts, making sure rooms aren’t double-booked and pets aren’t double-tasked. The measure of a good plan is how soon the whole day ends — it’s simply the time when the final procedure finishes, and earlier is better. The specific animals, rooms and procedure lengths appear below.

They must schedule 6 pets across 4 rooms, with pet identifiers J1, J2, J3, J4, J5, J6 and room identifiers A, B, C, D.
They note pet J1 requires procedure 0 in room A lasting 1.
They note pet J1 requires procedure 1 in room B lasting 21.
They note pet J1 requires procedure 2 in room C lasting 89.
They note pet J1 requires procedure 3 in room D lasting 11.
They note pet J2 requires procedure 0 in room A lasting 30.
They note pet J2 requires procedure 1 in room B lasting 33.
They note pet J2 requires procedure 2 in room C lasting 30.
They note pet J2 requires procedure 3 in room D lasting 52.
They note pet J3 requires procedure 0 in room A lasting 55.
They note pet J3 requires procedure 1 in room B lasting 43.
They note pet J3 requires procedure 2 in room C lasting 84.
They note pet J3 requires procedure 3 in room D lasting 36.
They note pet J4 requires procedure 0 in room A lasting 17.
They note pet J4 requires procedure 1 in room B lasting 42.
They note pet J4 requires procedure 2 in room C lasting 74.
They note pet J4 requires procedure 3 in room D lasting 8.
They note pet J5 requires procedure 0 in room A lasting 98.
They note pet J5 requires procedure 1 in room B lasting 54.
They note pet J5 requires procedure 2 in room C lasting 84.
They note pet J5 requires procedure 3 in room D lasting 68.
They note pet J6 requires procedure 0 in room A lasting 23.
They note pet J6 requires procedure 1 in room B lasting 8.
They note pet J6 requires procedure 2 in room C lasting 23.
They note pet J6 requires procedure 3 in room D lasting 13.
These entries list the required procedures so the front-desk person can arrange them to have all 6 pets finish as early as possible.

Also, to keep things tidy, it's easiest if the plan you send back follows a small JSON layout — just a simple list of pets and their treatments with start times and rooms. Something like this:

{
  ""solution"": [
    {
      ""job"": <pet_id>,
      ""tasks"": [
        {
          ""task"": <procedure_id>,
          ""start"": <start_time>,
          ""machine"": <room_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of that as a little form: each top-level object under ""solution"" is one pet (""job""), ""tasks"" is the list of procedures that pet needs, and each procedure shows which room (""machine"") it uses, when it starts (""start"") and how long it takes (""duration""). This JSON is just a sketch of the shape I expect — not your actual answer.

Please make sure you 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_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 21], [2, 89], [3, 11]], [[0, 30], [1, 33], [2, 30], [3, 52]], [[0, 55], [1, 43], [2, 84], [3, 36]], [[0, 17], [1, 42], [2, 74], [3, 8]], [[0, 98], [1, 54], [2, 84], [3, 68]], [[0, 23], [1, 8], [2, 23], [3, 13]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 168, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 118, 'machine': 1, 'duration': 21}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 89}, {'task': 3, 'start': 169, 'machine': 3, 'duration': 11}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 138, 'machine': 0, 'duration': 30}, {'task': 1, 'start': 85, 'machine': 1, 'duration': 33}, {'task': 2, 'start': 331, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 52}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 173, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 89, 'machine': 2, 'duration': 84}, {'task': 3, 'start': 52, 'machine': 3, 'duration': 36}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 98, 'machine': 0, 'duration': 17}, {'task': 1, 'start': 43, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 173, 'machine': 2, 'duration': 74}, {'task': 3, 'start': 247, 'machine': 3, 'duration': 8}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 98}, {'task': 1, 'start': 169, 'machine': 1, 'duration': 54}, {'task': 2, 'start': 247, 'machine': 2, 'duration': 84}, {'task': 3, 'start': 101, 'machine': 3, 'duration': 68}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 115, 'machine': 0, 'duration': 23}, {'task': 1, 'start': 139, 'machine': 1, 'duration': 8}, {'task': 2, 'start': 361, 'machine': 2, 'duration': 23}, {'task': 3, 'start': 88, 'machine': 3, 'duration': 13}]}]",384.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 21}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 11}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 30}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 33}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 30}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 52}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 55}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 43}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 84}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 36}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 17}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 42}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 74}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 8}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 98}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 54}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 84}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 68}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 23}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 8}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 23}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 13}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 168, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 118, 'machine': 'B', 'duration': 21}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 89}, {'task': 3, 'start': 169, 'machine': 'D', 'duration': 11}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 138, 'machine': 'A', 'duration': 30}, {'task': 1, 'start': 85, 'machine': 'B', 'duration': 33}, {'task': 2, 'start': 331, 'machine': 'C', 'duration': 30}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 52}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 173, 'machine': 'A', 'duration': 55}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 43}, {'task': 2, 'start': 89, 'machine': 'C', 'duration': 84}, {'task': 3, 'start': 52, 'machine': 'D', 'duration': 36}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 98, 'machine': 'A', 'duration': 17}, {'task': 1, 'start': 43, 'machine': 'B', 'duration': 42}, {'task': 2, 'start': 173, 'machine': 'C', 'duration': 74}, {'task': 3, 'start': 247, 'machine': 'D', 'duration': 8}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 98}, {'task': 1, 'start': 169, 'machine': 'B', 'duration': 54}, {'task': 2, 'start': 247, 'machine': 'C', 'duration': 84}, {'task': 3, 'start': 101, 'machine': 'D', 'duration': 68}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 115, 'machine': 'A', 'duration': 23}, {'task': 1, 'start': 139, 'machine': 'B', 'duration': 8}, {'task': 2, 'start': 361, 'machine': 'C', 'duration': 23}, {'task': 3, 'start': 88, 'machine': 'D', 'duration': 13}]}]",29,nl,names
OSP,OSP,"Back at the shop, the checklist says each server wants several tests across multiple rigs, but there isn’t a fixed path each server must follow. Coordination means choosing the visit order and exact start times for every server’s tests, while ensuring every test is applied once per server, no rig runs more than a single server at the same moment, and no server is scheduled simultaneously on two rigs. The measure of success is straightforward: finish all maintenance as soon as possible — the time to watch is when the last server finishes. The instance details are presented below.

There are 6 servers and 5 rigs; server ids: J1, J2, J3, J4, J5, J6; rig ids: A, B, C, D, E.
Server J1, test 0 needs rig A for 1 time units.
Server J1, test 1 needs rig B for 34 time units.
Server J1, test 2 needs rig C for 65 time units.
Server J1, test 3 needs rig D for 56 time units.
Server J1, test 4 needs rig E for 82 time units.
Server J2, test 0 needs rig A for 55 time units.
Server J2, test 1 needs rig B for 34 time units.
Server J2, test 2 needs rig C for 20 time units.
Server J2, test 3 needs rig D for 23 time units.
Server J2, test 4 needs rig E for 36 time units.
Server J3, test 0 needs rig A for 23 time units.
Server J3, test 1 needs rig B for 87 time units.
Server J3, test 2 needs rig C for 99 time units.
Server J3, test 3 needs rig D for 46 time units.
Server J3, test 4 needs rig E for 79 time units.
Server J4, test 0 needs rig A for 61 time units.
Server J4, test 1 needs rig B for 65 time units.
Server J4, test 2 needs rig C for 55 time units.
Server J4, test 3 needs rig D for 23 time units.
Server J4, test 4 needs rig E for 74 time units.
Server J5, test 0 needs rig A for 64 time units.
Server J5, test 1 needs rig B for 76 time units.
Server J5, test 2 needs rig C for 81 time units.
Server J5, test 3 needs rig D for 7 time units.
Server J5, test 4 needs rig E for 8 time units.
Server J6, test 0 needs rig A for 41 time units.
Server J6, test 1 needs rig B for 53 time units.
Server J6, test 2 needs rig C for 43 time units.
Server J6, test 3 needs rig D for 54 time units.
Server J6, test 4 needs rig E for 78 time units.
Schedule so the last server finishes as early as possible.

I'll keep the actual answer in that simple JSON shape below — just a relaxed sketch of how I expect the schedule to be returned.

{
  ""solution"": [
    {
      ""job"": <server_id>,
      ""tasks"": [
        {
          ""task"": <test_index>,
          ""start"": <start_time>,
          ""machine"": <rig_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Here’s what the fields mean in plain terms: each top-level object under ""solution"" is one server (the ""job""); ""tasks"" is the list of tests that server needs; for each test you record which test it is (""task""), when it starts (""start""), which rig it uses (""machine""), and how long it runs (""duration""). This is just the expected shape — I’m not filling in the real IDs or times here.

Please use the exact identifiers given in 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_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 34], [2, 65], [3, 56], [4, 82]], [[0, 55], [1, 34], [2, 20], [3, 23], [4, 36]], [[0, 23], [1, 87], [2, 99], [3, 46], [4, 79]], [[0, 61], [1, 65], [2, 55], [3, 23], [4, 74]], [[0, 64], [1, 76], [2, 81], [3, 7], [4, 8]], [[0, 41], [1, 53], [2, 43], [3, 54], [4, 78]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 141, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 180, 'machine': 2, 'duration': 65}, {'task': 3, 'start': 84, 'machine': 3, 'duration': 56}, {'task': 4, 'start': 278, 'machine': 4, 'duration': 82}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 122, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 177, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 343, 'machine': 2, 'duration': 20}, {'task': 3, 'start': 54, 'machine': 3, 'duration': 23}, {'task': 4, 'start': 77, 'machine': 4, 'duration': 36}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 99, 'machine': 0, 'duration': 23}, {'task': 1, 'start': 270, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 99}, {'task': 3, 'start': 140, 'machine': 3, 'duration': 46}, {'task': 4, 'start': 191, 'machine': 4, 'duration': 79}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 300, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 76, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 245, 'machine': 2, 'duration': 55}, {'task': 3, 'start': 186, 'machine': 3, 'duration': 23}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 74}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 180, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 99, 'machine': 2, 'duration': 81}, {'task': 3, 'start': 77, 'machine': 3, 'duration': 7}, {'task': 4, 'start': 270, 'machine': 4, 'duration': 8}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 54, 'machine': 0, 'duration': 41}, {'task': 1, 'start': 211, 'machine': 1, 'duration': 53}, {'task': 2, 'start': 300, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 54}, {'task': 4, 'start': 113, 'machine': 4, 'duration': 78}]}]",363.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 34}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 65}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 56}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 82}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 55}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 34}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 20}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 23}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 36}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 23}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 87}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 99}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 46}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 79}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 61}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 65}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 55}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 23}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 74}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 64}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 76}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 81}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 7}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 8}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 41}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 53}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 43}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 54}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 78}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 141, 'machine': 'B', 'duration': 34}, {'task': 2, 'start': 180, 'machine': 'C', 'duration': 65}, {'task': 3, 'start': 84, 'machine': 'D', 'duration': 56}, {'task': 4, 'start': 278, 'machine': 'E', 'duration': 82}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 122, 'machine': 'A', 'duration': 55}, {'task': 1, 'start': 177, 'machine': 'B', 'duration': 34}, {'task': 2, 'start': 343, 'machine': 'C', 'duration': 20}, {'task': 3, 'start': 54, 'machine': 'D', 'duration': 23}, {'task': 4, 'start': 77, 'machine': 'E', 'duration': 36}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 99, 'machine': 'A', 'duration': 23}, {'task': 1, 'start': 270, 'machine': 'B', 'duration': 87}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 99}, {'task': 3, 'start': 140, 'machine': 'D', 'duration': 46}, {'task': 4, 'start': 191, 'machine': 'E', 'duration': 79}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 300, 'machine': 'A', 'duration': 61}, {'task': 1, 'start': 76, 'machine': 'B', 'duration': 65}, {'task': 2, 'start': 245, 'machine': 'C', 'duration': 55}, {'task': 3, 'start': 186, 'machine': 'D', 'duration': 23}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 74}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 180, 'machine': 'A', 'duration': 64}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 76}, {'task': 2, 'start': 99, 'machine': 'C', 'duration': 81}, {'task': 3, 'start': 77, 'machine': 'D', 'duration': 7}, {'task': 4, 'start': 270, 'machine': 'E', 'duration': 8}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 54, 'machine': 'A', 'duration': 41}, {'task': 1, 'start': 211, 'machine': 'B', 'duration': 53}, {'task': 2, 'start': 300, 'machine': 'C', 'duration': 43}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 54}, {'task': 4, 'start': 113, 'machine': 'E', 'duration': 78}]}]",30,nl,names
OSP,OSP,"Out in the community garden it was obvious every raised bed needed a few different stops, but there was freedom in the sequence: who goes to the compost pile first, who waters next, and so on. The planning job was to set the order and start time of each bed’s visits so each required station is visited once per bed, stations aren’t double-booked, and no bed is scheduled for overlapping treatments. The measure of success is straightforward — how early the entire batch of beds is finished, i.e., the clock time when the last bed finishes. The concrete bed and station data come next.

There were 7 beds and 5 stations to schedule; the bed IDs were J1, J2, J3, J4, J5, J6, J7 and the station IDs were A, B, C, D, E.

| bed_id | visit_index | station_id | service_duration |
|---|---|---|---|
| J1 | 0 | A | 1 |
| J1 | 1 | B | 47 |
| J1 | 2 | C | 40 |
| J1 | 3 | D | 3 |
| J1 | 4 | E | 36 |
| J2 | 0 | A | 76 |
| J2 | 1 | B | 39 |
| J2 | 2 | C | 87 |
| J2 | 3 | D | 91 |
| J2 | 4 | E | 30 |
| J3 | 0 | A | 61 |
| J3 | 1 | B | 40 |
| J3 | 2 | C | 83 |
| J3 | 3 | D | 49 |
| J3 | 4 | E | 85 |
| J4 | 0 | A | 14 |
| J4 | 1 | B | 32 |
| J4 | 2 | C | 55 |
| J4 | 3 | D | 60 |
| J4 | 4 | E | 81 |
| J5 | 0 | A | 6 |
| J5 | 1 | B | 45 |
| J5 | 2 | C | 41 |
| J5 | 3 | D | 99 |
| J5 | 4 | E | 92 |
| J6 | 0 | A | 93 |
| J6 | 1 | B | 62 |
| J6 | 2 | C | 9 |
| J6 | 3 | D | 95 |
| J6 | 4 | E | 49 |
| J7 | 0 | A | 54 |
| J7 | 1 | B | 87 |
| J7 | 2 | C | 89 |
| J7 | 3 | D | 42 |
| J7 | 4 | E | 99 |

Each line described one required visit so the planner could set orders and start times to minimize when the last bed finished.

If you want to hand the plan back in a tidy, machine-friendly way, you can use this relaxed JSON shape — it's just a little form that lists each bed and its stops:

{
  ""solution"": [
    {
      ""job"": <bed_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I expect: ""solution"" holds a list of jobs (beds). Each job entry has a job identifier (the bed), and a ""tasks"" list. Each task line says which task it is (an index), when it starts, which machine/station it's visiting, and how long that stop takes. Think of it like a little checklist for each raised bed: task number, start time, station, and duration.

The block above is only the expected shape, not the actual schedule. Please use the exact identifiers from the instance input — don't rename them or invent new ones. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'nr_machines': 5, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 47], [2, 40], [3, 3], [4, 36]], [[0, 76], [1, 39], [2, 87], [3, 91], [4, 30]], [[0, 61], [1, 40], [2, 83], [3, 49], [4, 85]], [[0, 14], [1, 32], [2, 55], [3, 60], [4, 81]], [[0, 6], [1, 45], [2, 41], [3, 99], [4, 92]], [[0, 93], [1, 62], [2, 9], [3, 95], [4, 49]], [[0, 54], [1, 87], [2, 89], [3, 42], [4, 99]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 47}, {'task': 2, 'start': 355, 'machine': 2, 'duration': 40}, {'task': 3, 'start': 194, 'machine': 3, 'duration': 3}, {'task': 4, 'start': 276, 'machine': 4, 'duration': 36}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 161, 'machine': 0, 'duration': 76}, {'task': 1, 'start': 87, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 87}, {'task': 3, 'start': 285, 'machine': 3, 'duration': 91}, {'task': 4, 'start': 442, 'machine': 4, 'duration': 30}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 276, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 47, 'machine': 1, 'duration': 40}, {'task': 2, 'start': 87, 'machine': 2, 'duration': 83}, {'task': 3, 'start': 376, 'machine': 3, 'duration': 49}, {'task': 4, 'start': 191, 'machine': 4, 'duration': 85}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 126, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 170, 'machine': 2, 'duration': 55}, {'task': 3, 'start': 225, 'machine': 3, 'duration': 60}, {'task': 4, 'start': 312, 'machine': 4, 'duration': 81}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 266, 'machine': 0, 'duration': 6}, {'task': 1, 'start': 310, 'machine': 1, 'duration': 45}, {'task': 2, 'start': 225, 'machine': 2, 'duration': 41}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 99}, {'task': 4, 'start': 99, 'machine': 4, 'duration': 92}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 93}, {'task': 1, 'start': 248, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 442, 'machine': 2, 'duration': 9}, {'task': 3, 'start': 99, 'machine': 3, 'duration': 95}, {'task': 4, 'start': 393, 'machine': 4, 'duration': 49}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 107, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 161, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 266, 'machine': 2, 'duration': 89}, {'task': 3, 'start': 425, 'machine': 3, 'duration': 42}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 99}]}]",472.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 47}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 40}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 3}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 36}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 76}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 39}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 87}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 91}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 30}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 61}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 40}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 83}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 49}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 85}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 14}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 32}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 55}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 60}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 81}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 6}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 45}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 41}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 99}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 92}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 93}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 62}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 9}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 95}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 49}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 54}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 87}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 42}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 99}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 237, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 47}, {'task': 2, 'start': 355, 'machine': 'C', 'duration': 40}, {'task': 3, 'start': 194, 'machine': 'D', 'duration': 3}, {'task': 4, 'start': 276, 'machine': 'E', 'duration': 36}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 161, 'machine': 'A', 'duration': 76}, {'task': 1, 'start': 87, 'machine': 'B', 'duration': 39}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 87}, {'task': 3, 'start': 285, 'machine': 'D', 'duration': 91}, {'task': 4, 'start': 442, 'machine': 'E', 'duration': 30}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 276, 'machine': 'A', 'duration': 61}, {'task': 1, 'start': 47, 'machine': 'B', 'duration': 40}, {'task': 2, 'start': 87, 'machine': 'C', 'duration': 83}, {'task': 3, 'start': 376, 'machine': 'D', 'duration': 49}, {'task': 4, 'start': 191, 'machine': 'E', 'duration': 85}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 93, 'machine': 'A', 'duration': 14}, {'task': 1, 'start': 126, 'machine': 'B', 'duration': 32}, {'task': 2, 'start': 170, 'machine': 'C', 'duration': 55}, {'task': 3, 'start': 225, 'machine': 'D', 'duration': 60}, {'task': 4, 'start': 312, 'machine': 'E', 'duration': 81}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 266, 'machine': 'A', 'duration': 6}, {'task': 1, 'start': 310, 'machine': 'B', 'duration': 45}, {'task': 2, 'start': 225, 'machine': 'C', 'duration': 41}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 99}, {'task': 4, 'start': 99, 'machine': 'E', 'duration': 92}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 93}, {'task': 1, 'start': 248, 'machine': 'B', 'duration': 62}, {'task': 2, 'start': 442, 'machine': 'C', 'duration': 9}, {'task': 3, 'start': 99, 'machine': 'D', 'duration': 95}, {'task': 4, 'start': 393, 'machine': 'E', 'duration': 49}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 107, 'machine': 'A', 'duration': 54}, {'task': 1, 'start': 161, 'machine': 'B', 'duration': 87}, {'task': 2, 'start': 266, 'machine': 'C', 'duration': 89}, {'task': 3, 'start': 425, 'machine': 'D', 'duration': 42}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 99}]}]",31,markdown_table,names
OSP,OSP,"Many people working in small factories know this: a set of items (in this case bike frames) needs several specific operations, and someone must decide the order and the start times for each item’s steps. Each frame must visit each necessary station once and only once, a station can only handle one frame at any moment, and no frame can be processed in two places at once. The preferable schedule is the one where the last frame finishes earlier — the finish time of that last frame is what’s compared across plans. The detailed instance info is listed below.

{
  ""nr_frames"": 8,
  ""nr_stations"": 4,
  ""frames"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""stations"": [
    ""A"",
    ""B"",
    ""C"",
    ""D""
  ],
  ""tasks"": [
    {
      ""frame_id"": ""J1"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 1
    },
    {
      ""frame_id"": ""J1"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 60
    },
    {
      ""frame_id"": ""J1"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 16
    },
    {
      ""frame_id"": ""J1"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 48
    },
    {
      ""frame_id"": ""J2"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 89
    },
    {
      ""frame_id"": ""J2"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 98
    },
    {
      ""frame_id"": ""J2"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 43
    },
    {
      ""frame_id"": ""J2"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 56
    },
    {
      ""frame_id"": ""J3"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 59
    },
    {
      ""frame_id"": ""J3"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 24
    },
    {
      ""frame_id"": ""J3"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 99
    },
    {
      ""frame_id"": ""J3"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 91
    },
    {
      ""frame_id"": ""J4"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 66
    },
    {
      ""frame_id"": ""J4"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 52
    },
    {
      ""frame_id"": ""J4"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 90
    },
    {
      ""frame_id"": ""J4"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 67
    },
    {
      ""frame_id"": ""J5"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 99
    },
    {
      ""frame_id"": ""J5"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 56
    },
    {
      ""frame_id"": ""J5"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 98
    },
    {
      ""frame_id"": ""J5"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 88
    },
    {
      ""frame_id"": ""J6"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 48
    },
    {
      ""frame_id"": ""J6"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 14
    },
    {
      ""frame_id"": ""J6"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 99
    },
    {
      ""frame_id"": ""J6"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 92
    },
    {
      ""frame_id"": ""J7"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 77
    },
    {
      ""frame_id"": ""J7"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 47
    },
    {
      ""frame_id"": ""J7"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 71
    },
    {
      ""frame_id"": ""J7"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 73
    },
    {
      ""frame_id"": ""J8"",
      ""operation_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 37
    },
    {
      ""frame_id"": ""J8"",
      ""operation_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 19
    },
    {
      ""frame_id"": ""J8"",
      ""operation_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 45
    },
    {
      ""frame_id"": ""J8"",
      ""operation_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 64
    }
  ]
}

Oh, and one more practical bit: when you send the schedule back, please follow this little JSON layout so it's easy for everyone to read and import. Just a simple structure showing each job (frame) and its tasks with start times, which station handles them, and how long they take.

{
  ""solution"": [
    {
      ""job"": <frame_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I need. In plain terms: each ""job"" entry is one bike frame, ""tasks"" is the list of operations that frame goes through, each task has an operation index, a start time, the station (machine) that does it, and how long that step takes. Keep it light and exact — it's just a form.

Please remember: use the identifiers exactly as they appear 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_machines': 4, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 60], [2, 16], [3, 48]], [[0, 89], [1, 98], [2, 43], [3, 56]], [[0, 59], [1, 24], [2, 99], [3, 91]], [[0, 66], [1, 52], [2, 90], [3, 67]], [[0, 99], [1, 56], [2, 98], [3, 88]], [[0, 48], [1, 14], [2, 99], [3, 92]], [[0, 77], [1, 47], [2, 71], [3, 73]], [[0, 37], [1, 19], [2, 45], [3, 64]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 475, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 98, 'machine': 1, 'duration': 60}, {'task': 2, 'start': 502, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 531, 'machine': 3, 'duration': 48}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 99, 'machine': 0, 'duration': 89}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 98}, {'task': 2, 'start': 518, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 408, 'machine': 3, 'duration': 56}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 265, 'machine': 0, 'duration': 59}, {'task': 1, 'start': 214, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 99, 'machine': 2, 'duration': 99}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 91}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 372, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 318, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 198, 'machine': 2, 'duration': 90}, {'task': 3, 'start': 464, 'machine': 3, 'duration': 67}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 99}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 404, 'machine': 2, 'duration': 98}, {'task': 3, 'start': 256, 'machine': 3, 'duration': 88}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 324, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 257, 'machine': 1, 'duration': 14}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 99}, {'task': 3, 'start': 164, 'machine': 3, 'duration': 92}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 188, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 271, 'machine': 1, 'duration': 47}, {'task': 2, 'start': 333, 'machine': 2, 'duration': 71}, {'task': 3, 'start': 91, 'machine': 3, 'duration': 73}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 438, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 238, 'machine': 1, 'duration': 19}, {'task': 2, 'start': 288, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 344, 'machine': 3, 'duration': 64}]}]",579.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 60}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 16}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 48}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 89}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 98}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 43}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 56}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 59}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 24}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 99}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 91}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 66}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 52}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 90}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 67}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 99}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 56}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 98}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 88}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 48}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 14}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 99}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 92}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 77}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 47}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 71}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 73}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 37}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 19}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 45}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 64}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 475, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 98, 'machine': 'B', 'duration': 60}, {'task': 2, 'start': 502, 'machine': 'C', 'duration': 16}, {'task': 3, 'start': 531, 'machine': 'D', 'duration': 48}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 99, 'machine': 'A', 'duration': 89}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 98}, {'task': 2, 'start': 518, 'machine': 'C', 'duration': 43}, {'task': 3, 'start': 408, 'machine': 'D', 'duration': 56}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 265, 'machine': 'A', 'duration': 59}, {'task': 1, 'start': 214, 'machine': 'B', 'duration': 24}, {'task': 2, 'start': 99, 'machine': 'C', 'duration': 99}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 91}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 372, 'machine': 'A', 'duration': 66}, {'task': 1, 'start': 318, 'machine': 'B', 'duration': 52}, {'task': 2, 'start': 198, 'machine': 'C', 'duration': 90}, {'task': 3, 'start': 464, 'machine': 'D', 'duration': 67}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 99}, {'task': 1, 'start': 158, 'machine': 'B', 'duration': 56}, {'task': 2, 'start': 404, 'machine': 'C', 'duration': 98}, {'task': 3, 'start': 256, 'machine': 'D', 'duration': 88}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 324, 'machine': 'A', 'duration': 48}, {'task': 1, 'start': 257, 'machine': 'B', 'duration': 14}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 99}, {'task': 3, 'start': 164, 'machine': 'D', 'duration': 92}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 188, 'machine': 'A', 'duration': 77}, {'task': 1, 'start': 271, 'machine': 'B', 'duration': 47}, {'task': 2, 'start': 333, 'machine': 'C', 'duration': 71}, {'task': 3, 'start': 91, 'machine': 'D', 'duration': 73}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 438, 'machine': 'A', 'duration': 37}, {'task': 1, 'start': 238, 'machine': 'B', 'duration': 19}, {'task': 2, 'start': 288, 'machine': 'C', 'duration': 45}, {'task': 3, 'start': 344, 'machine': 'D', 'duration': 64}]}]",32,json,names
OSP,OSP,"Back when deadlines piled up, the team had to route manuscripts through editing, layout, and proofreading so each manuscript hit every station once — no skipping, no repeats — and the order could be different for each book. The choice was about which station each manuscript goes to first and when each step starts, with the constraint that a station only takes one manuscript at a time and a manuscript can’t be worked on in two places at once. A good arrangement is simply the one that gets the entire set done sooner; you figure that out by noting the time the last manuscript finishes, and smaller is better. The specific details are shown below.

{
  ""num_manuscripts"": 8,
  ""num_stations"": 3,
  ""manuscript_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""station_ids"": [
    0,
    1,
    2
  ],
  ""tasks"": [
    {
      ""manuscript_id"": ""J1"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 1
    },
    {
      ""manuscript_id"": ""J1"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 73
    },
    {
      ""manuscript_id"": ""J1"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 91
    },
    {
      ""manuscript_id"": ""J2"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 94
    },
    {
      ""manuscript_id"": ""J2"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 43
    },
    {
      ""manuscript_id"": ""J2"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 21
    },
    {
      ""manuscript_id"": ""J3"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 48
    },
    {
      ""manuscript_id"": ""J3"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 24
    },
    {
      ""manuscript_id"": ""J3"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 27
    },
    {
      ""manuscript_id"": ""J4"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 17
    },
    {
      ""manuscript_id"": ""J4"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 38
    },
    {
      ""manuscript_id"": ""J4"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 44
    },
    {
      ""manuscript_id"": ""J5"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 49
    },
    {
      ""manuscript_id"": ""J5"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 56
    },
    {
      ""manuscript_id"": ""J5"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 95
    },
    {
      ""manuscript_id"": ""J6"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 20
    },
    {
      ""manuscript_id"": ""J6"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 66
    },
    {
      ""manuscript_id"": ""J6"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 57
    },
    {
      ""manuscript_id"": ""J7"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 37
    },
    {
      ""manuscript_id"": ""J7"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 94
    },
    {
      ""manuscript_id"": ""J7"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 89
    },
    {
      ""manuscript_id"": ""J8"",
      ""manuscript_task_index"": 0,
      ""required_station_id"": 0,
      ""processing_duration"": 82
    },
    {
      ""manuscript_id"": ""J8"",
      ""manuscript_task_index"": 1,
      ""required_station_id"": 1,
      ""processing_duration"": 58
    },
    {
      ""manuscript_id"": ""J8"",
      ""manuscript_task_index"": 2,
      ""required_station_id"": 2,
      ""processing_duration"": 85
    }
  ]
}

And hey — when you send the schedule back, just follow a simple JSON shape so it's easy to read and check. Here's the little template I like to use for this manuscript-station story:

{
  ""solution"": [
    {
      ""job"": <manuscript_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I expect: ""solution"" is the list of manuscripts, each ""job"" is the manuscript identifier, and ""tasks"" lists that manuscript’s steps. For each step, ""task"" is a local step index, ""start"" is when that step begins, ""machine"" is the station it visits, and ""duration"" is how long that station works on it. Keep it light — think of it like filling out a short form for each manuscript’s route through the stations.

One important note: use the exact identifiers given in the instance input — don’t rename 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 73], [2, 91]], [[0, 94], [1, 43], [2, 21]], [[0, 48], [1, 24], [2, 27]], [[0, 17], [1, 38], [2, 44]], [[0, 49], [1, 56], [2, 95]], [[0, 20], [1, 66], [2, 57]], [[0, 37], [1, 94], [2, 89]], [[0, 82], [1, 58], [2, 85]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 327, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 184, 'machine': 2, 'duration': 91}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 347, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 488, 'machine': 2, 'duration': 21}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 225, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 444, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 417, 'machine': 2, 'duration': 27}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 310, 'machine': 0, 'duration': 17}, {'task': 1, 'start': 390, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 444, 'machine': 2, 'duration': 44}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 176, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 291, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 95}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 332, 'machine': 0, 'duration': 20}, {'task': 1, 'start': 167, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 275, 'machine': 2, 'duration': 57}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 273, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 95, 'machine': 2, 'duration': 89}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 233, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 332, 'machine': 2, 'duration': 85}]}]",509.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 73}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 91}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 94}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 43}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 21}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 48}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 24}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 27}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 17}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 38}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 44}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 49}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 56}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 95}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 20}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 66}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 57}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 37}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 94}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 89}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 82}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 58}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 85}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 327, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 184, 'machine': 2, 'duration': 91}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 347, 'machine': 1, 'duration': 43}, {'task': 2, 'start': 488, 'machine': 2, 'duration': 21}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 225, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 444, 'machine': 1, 'duration': 24}, {'task': 2, 'start': 417, 'machine': 2, 'duration': 27}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 310, 'machine': 0, 'duration': 17}, {'task': 1, 'start': 390, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 444, 'machine': 2, 'duration': 44}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 176, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 291, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 95}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 332, 'machine': 0, 'duration': 20}, {'task': 1, 'start': 167, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 275, 'machine': 2, 'duration': 57}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 273, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 95, 'machine': 2, 'duration': 89}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 233, 'machine': 1, 'duration': 58}, {'task': 2, 'start': 332, 'machine': 2, 'duration': 85}]}]",33,json,0
OSP,OSP,"Picture this: a stack of files must pass through different review booths, each file needing a single check from each assigned booth, and there’s no fixed route so the route and timing are up to planning. The planner decides the order of visits and when each review starts, with the simple ground rules that a booth can only serve one file at a time and a file can’t be in two booths at once. A plan is better if it gets the entire stack cleared sooner — just look at the time the last file finishes to see which plan wins. The exact items and booths are shown below.

# total_cases=8
# total_panels=3
# case_ids=J1, J2, J3, J4, J5, J6, J7, J8
# panel_ids=0, 1, 2
case_id,review_task_index,panel_id,review_duration
J1,0,0,1
J1,1,1,86
J1,2,2,67
J2,0,0,40
J2,1,1,95
J2,2,2,42
J3,0,0,53
J3,1,1,91
J3,2,2,94
J4,0,0,11
J4,1,1,76
J4,2,2,95
J5,0,0,32
J5,1,1,59
J5,2,2,1
J6,0,0,73
J6,1,1,34
J6,2,2,58
J7,0,0,75
J7,1,1,2
J7,2,2,31
J8,0,0,51
J8,1,1,18
J8,2,2,78

Also, if you want to hand me a plan, the easiest way is to follow a little JSON sketch so everything’s consistent — nothing fancy, just a small object that lists each job and the tasks (when they start, which booth handles them, and how long they take). Here’s the shape I expect:

{
  ""solution"": [
    {
      ""job"": <file_id>,
      ""tasks"": [
        {
          ""task"": <review_index>,
          ""start"": <start_time>,
          ""machine"": <booth_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of that like a simple form: each entry in ""solution"" is one file (the ""job"" field is its id), ""tasks"" is the list of checks that file needs, and each check has a small record for which check it is (""task""), when it starts (""start""), which booth handles it (""machine""), and how long it runs (""duration""). Super casual — just a template so we both know what to expect.

This is only a sketch of the expected shape, not the actual schedule — fill it in with the real ids and numbers from the instance.

Please make sure to use the exact identifiers from the instance input — don’t rename them or invent new labels. Valid identifiers look like plain numbers such as ""1"" or ""23"", single capital letters like ""A"" or ""B"", or a capital letter followed by digits like ""A1"" or ""X7"".","{'nr_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 86], [2, 67]], [[0, 40], [1, 95], [2, 42]], [[0, 53], [1, 91], [2, 94]], [[0, 11], [1, 76], [2, 95]], [[0, 32], [1, 59], [2, 1]], [[0, 73], [1, 34], [2, 58]], [[0, 75], [1, 2], [2, 31]], [[0, 51], [1, 18], [2, 78]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 335, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 95, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 183, 'machine': 2, 'duration': 67}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 252, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 328, 'machine': 2, 'duration': 42}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 199, 'machine': 0, 'duration': 53}, {'task': 1, 'start': 257, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 58, 'machine': 2, 'duration': 94}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 324, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 370, 'machine': 2, 'duration': 95}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 292, 'machine': 0, 'duration': 32}, {'task': 1, 'start': 348, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 465, 'machine': 2, 'duration': 1}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 75, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 407, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 58}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 459, 'machine': 1, 'duration': 2}, {'task': 2, 'start': 152, 'machine': 2, 'duration': 31}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 51}, {'task': 1, 'start': 441, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 250, 'machine': 2, 'duration': 78}]}]",466.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 86}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 67}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 40}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 95}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 42}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 53}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 91}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 94}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 11}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 76}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 95}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 32}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 59}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 1}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 73}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 34}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 58}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 75}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 2}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 31}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 51}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 18}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 78}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 335, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 95, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 183, 'machine': 2, 'duration': 67}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 252, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 328, 'machine': 2, 'duration': 42}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 199, 'machine': 0, 'duration': 53}, {'task': 1, 'start': 257, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 58, 'machine': 2, 'duration': 94}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 324, 'machine': 0, 'duration': 11}, {'task': 1, 'start': 181, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 370, 'machine': 2, 'duration': 95}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 292, 'machine': 0, 'duration': 32}, {'task': 1, 'start': 348, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 465, 'machine': 2, 'duration': 1}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 75, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 407, 'machine': 1, 'duration': 34}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 58}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 459, 'machine': 1, 'duration': 2}, {'task': 2, 'start': 152, 'machine': 2, 'duration': 31}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 148, 'machine': 0, 'duration': 51}, {'task': 1, 'start': 441, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 250, 'machine': 2, 'duration': 78}]}]",34,csv,0
OSP,OSP,"Many bakers face a juggling problem: choose when and in what order each loaf uses the mixer, the proofer, and the oven so each loaf visits each piece once, but with no fixed step order. Machines only do one loaf at a time, and a loaf can’t be doing two steps simultaneously. The win here is getting the final loaf out sooner than any other plan — check each plan by the time the last loaf completes its final step. The concrete timing and loaf details appear below.

{
  ""nr_loaves"": 6,
  ""nr_equipment_pieces"": 5,
  ""loaf_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""equipment_ids"": [
    0,
    1,
    2,
    3,
    4
  ],
  ""tasks"": [
    {
      ""loaf_id"": ""J1"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 1
    },
    {
      ""loaf_id"": ""J1"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 99
    },
    {
      ""loaf_id"": ""J1"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 43
    },
    {
      ""loaf_id"": ""J1"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 85
    },
    {
      ""loaf_id"": ""J1"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 49
    },
    {
      ""loaf_id"": ""J2"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 64
    },
    {
      ""loaf_id"": ""J2"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 57
    },
    {
      ""loaf_id"": ""J2"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 59
    },
    {
      ""loaf_id"": ""J2"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 63
    },
    {
      ""loaf_id"": ""J2"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 4
    },
    {
      ""loaf_id"": ""J3"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 15
    },
    {
      ""loaf_id"": ""J3"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 48
    },
    {
      ""loaf_id"": ""J3"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 16
    },
    {
      ""loaf_id"": ""J3"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 63
    },
    {
      ""loaf_id"": ""J3"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 7
    },
    {
      ""loaf_id"": ""J4"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 26
    },
    {
      ""loaf_id"": ""J4"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 1
    },
    {
      ""loaf_id"": ""J4"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 58
    },
    {
      ""loaf_id"": ""J4"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 14
    },
    {
      ""loaf_id"": ""J4"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 8
    },
    {
      ""loaf_id"": ""J5"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 73
    },
    {
      ""loaf_id"": ""J5"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 20
    },
    {
      ""loaf_id"": ""J5"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 76
    },
    {
      ""loaf_id"": ""J5"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 71
    },
    {
      ""loaf_id"": ""J5"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 31
    },
    {
      ""loaf_id"": ""J6"",
      ""step_index"": 0,
      ""equipment_id"": 0,
      ""process_duration"": 5
    },
    {
      ""loaf_id"": ""J6"",
      ""step_index"": 1,
      ""equipment_id"": 1,
      ""process_duration"": 98
    },
    {
      ""loaf_id"": ""J6"",
      ""step_index"": 2,
      ""equipment_id"": 2,
      ""process_duration"": 70
    },
    {
      ""loaf_id"": ""J6"",
      ""step_index"": 3,
      ""equipment_id"": 3,
      ""process_duration"": 61
    },
    {
      ""loaf_id"": ""J6"",
      ""step_index"": 4,
      ""equipment_id"": 4,
      ""process_duration"": 29
    }
  ]
}

If you want to hand me a plan, a nice compact JSON sketch is perfect — something that follows this shape so it's easy to read and check.

{
  ""solution"": [
    {
      ""job"": <loaf_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This little form just says: each entry in ""solution"" is one loaf (job), with a list of its steps (""tasks""). For each step you give a task index, the start time, which station/machine it uses, and how long that step takes. Think of it like filling out a schedule card for each loaf — nothing fussy.

This is just the expected shape, not the actual schedule — fill in the real identifiers and times when you submit your plan. Please make sure you 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_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 99], [2, 43], [3, 85], [4, 49]], [[0, 64], [1, 57], [2, 59], [3, 63], [4, 4]], [[0, 15], [1, 48], [2, 16], [3, 63], [4, 7]], [[0, 26], [1, 1], [2, 58], [3, 14], [4, 8]], [[0, 73], [1, 20], [2, 76], [3, 71], [4, 31]], [[0, 5], [1, 98], [2, 70], [3, 61], [4, 29]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 105, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 99}, {'task': 2, 'start': 286, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 85}, {'task': 4, 'start': 107, 'machine': 4, 'duration': 49}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 201, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 76, 'machine': 2, 'duration': 59}, {'task': 3, 'start': 138, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 70, 'machine': 4, 'duration': 4}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 90, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 105, 'machine': 1, 'duration': 48}, {'task': 2, 'start': 263, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 63, 'machine': 4, 'duration': 7}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 64, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 99, 'machine': 1, 'duration': 1}, {'task': 2, 'start': 205, 'machine': 2, 'duration': 58}, {'task': 3, 'start': 124, 'machine': 3, 'duration': 14}, {'task': 4, 'start': 29, 'machine': 4, 'duration': 8}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 107, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 180, 'machine': 1, 'duration': 20}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 76}, {'task': 3, 'start': 286, 'machine': 3, 'duration': 71}, {'task': 4, 'start': 76, 'machine': 4, 'duration': 31}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 205, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 258, 'machine': 1, 'duration': 98}, {'task': 2, 'start': 135, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 63, 'machine': 3, 'duration': 61}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 29}]}]",357.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 99}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 43}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 85}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 49}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 64}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 57}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 59}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 63}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 4}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 15}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 48}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 16}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 63}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 7}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 26}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 1}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 58}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 14}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 8}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 73}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 20}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 76}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 71}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 31}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 5}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 98}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 70}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 61}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 29}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 105, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 99}, {'task': 2, 'start': 286, 'machine': 2, 'duration': 43}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 85}, {'task': 4, 'start': 107, 'machine': 4, 'duration': 49}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 201, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 76, 'machine': 2, 'duration': 59}, {'task': 3, 'start': 138, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 70, 'machine': 4, 'duration': 4}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 90, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 105, 'machine': 1, 'duration': 48}, {'task': 2, 'start': 263, 'machine': 2, 'duration': 16}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 63}, {'task': 4, 'start': 63, 'machine': 4, 'duration': 7}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 64, 'machine': 0, 'duration': 26}, {'task': 1, 'start': 99, 'machine': 1, 'duration': 1}, {'task': 2, 'start': 205, 'machine': 2, 'duration': 58}, {'task': 3, 'start': 124, 'machine': 3, 'duration': 14}, {'task': 4, 'start': 29, 'machine': 4, 'duration': 8}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 107, 'machine': 0, 'duration': 73}, {'task': 1, 'start': 180, 'machine': 1, 'duration': 20}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 76}, {'task': 3, 'start': 286, 'machine': 3, 'duration': 71}, {'task': 4, 'start': 76, 'machine': 4, 'duration': 31}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 205, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 258, 'machine': 1, 'duration': 98}, {'task': 2, 'start': 135, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 63, 'machine': 3, 'duration': 61}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 29}]}]",35,json,0
OSP,OSP,"There’s a small workshop juggling a batch of canvases that all need framing, a coat of varnish, and a quick inspection — every canvas needs all three, but none of them have to follow the same order. The trick is to map out for each canvas which station it goes to when, making sure each station only handles one canvas at a time and no canvas is in two places simultaneously. Nothing can be skipped or repeated, and success is judged by the time the last canvas is finished — the earlier that finishing moment, the better the plan. The exact work list and station info are shown below.

{
  ""nr_artworks"": 6,
  ""nr_stations"": 4,
  ""artwork_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""station_ids"": [
    ""A"",
    ""B"",
    ""C"",
    ""D""
  ],
  ""tasks"": [
    {
      ""artwork_id"": ""J1"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 1
    },
    {
      ""artwork_id"": ""J1"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 13
    },
    {
      ""artwork_id"": ""J1"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 18
    },
    {
      ""artwork_id"": ""J1"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 32
    },
    {
      ""artwork_id"": ""J2"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 3
    },
    {
      ""artwork_id"": ""J2"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 86
    },
    {
      ""artwork_id"": ""J2"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 62
    },
    {
      ""artwork_id"": ""J2"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 27
    },
    {
      ""artwork_id"": ""J3"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 31
    },
    {
      ""artwork_id"": ""J3"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 97
    },
    {
      ""artwork_id"": ""J3"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 53
    },
    {
      ""artwork_id"": ""J3"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 99
    },
    {
      ""artwork_id"": ""J4"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 98
    },
    {
      ""artwork_id"": ""J4"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 66
    },
    {
      ""artwork_id"": ""J4"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 12
    },
    {
      ""artwork_id"": ""J4"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 78
    },
    {
      ""artwork_id"": ""J5"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 68
    },
    {
      ""artwork_id"": ""J5"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 59
    },
    {
      ""artwork_id"": ""J5"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 52
    },
    {
      ""artwork_id"": ""J5"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 15
    },
    {
      ""artwork_id"": ""J6"",
      ""service_index"": 0,
      ""station_id"": ""A"",
      ""processing_time"": 15
    },
    {
      ""artwork_id"": ""J6"",
      ""service_index"": 1,
      ""station_id"": ""B"",
      ""processing_time"": 88
    },
    {
      ""artwork_id"": ""J6"",
      ""service_index"": 2,
      ""station_id"": ""C"",
      ""processing_time"": 35
    },
    {
      ""artwork_id"": ""J6"",
      ""service_index"": 3,
      ""station_id"": ""D"",
      ""processing_time"": 64
    }
  ]
}

Also, when you hand me the plan, keep it in a simple JSON shape — nothing fancy — just like this:

{
  ""solution"": [
    {
      ""job"": <canvas_id>,
      ""tasks"": [
        {
          ""task"": <canvas_task_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This little sketch maps directly onto the workshop story: each top-level object in ""solution"" is one canvas (""job""), its ""tasks"" list the steps that canvas will go through, ""start"" is when a step begins, ""machine"" is the station handling that step, and ""duration"" is how long it takes. Think of it as a simple form to fill out — the layout matters more than the placeholders here.

This JSON is only the expected shape, not the actual answer. 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_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 13], [2, 18], [3, 32]], [[0, 3], [1, 86], [2, 62], [3, 27]], [[0, 31], [1, 97], [2, 53], [3, 99]], [[0, 98], [1, 66], [2, 12], [3, 78]], [[0, 68], [1, 59], [2, 52], [3, 15]], [[0, 15], [1, 88], [2, 35], [3, 64]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 220, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 174, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 202, 'machine': 2, 'duration': 18}, {'task': 3, 'start': 241, 'machine': 3, 'duration': 32}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 212, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 88, 'machine': 1, 'duration': 86}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 62}, {'task': 3, 'start': 273, 'machine': 3, 'duration': 27}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 113, 'machine': 0, 'duration': 31}, {'task': 1, 'start': 253, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 149, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 99}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 98}, {'task': 1, 'start': 187, 'machine': 1, 'duration': 66}, {'task': 2, 'start': 253, 'machine': 2, 'duration': 12}, {'task': 3, 'start': 99, 'machine': 3, 'duration': 78}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 144, 'machine': 0, 'duration': 68}, {'task': 1, 'start': 350, 'machine': 1, 'duration': 59}, {'task': 2, 'start': 62, 'machine': 2, 'duration': 52}, {'task': 3, 'start': 300, 'machine': 3, 'duration': 15}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 98, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 88}, {'task': 2, 'start': 114, 'machine': 2, 'duration': 35}, {'task': 3, 'start': 177, 'machine': 3, 'duration': 64}]}]",409.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 13}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 18}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 32}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 3}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 86}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 62}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 27}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 31}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 97}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 53}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 99}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 98}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 66}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 12}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 78}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 68}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 59}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 52}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 15}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 15}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 88}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 35}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 64}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 220, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 174, 'machine': 'B', 'duration': 13}, {'task': 2, 'start': 202, 'machine': 'C', 'duration': 18}, {'task': 3, 'start': 241, 'machine': 'D', 'duration': 32}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 212, 'machine': 'A', 'duration': 3}, {'task': 1, 'start': 88, 'machine': 'B', 'duration': 86}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 62}, {'task': 3, 'start': 273, 'machine': 'D', 'duration': 27}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 113, 'machine': 'A', 'duration': 31}, {'task': 1, 'start': 253, 'machine': 'B', 'duration': 97}, {'task': 2, 'start': 149, 'machine': 'C', 'duration': 53}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 99}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 98}, {'task': 1, 'start': 187, 'machine': 'B', 'duration': 66}, {'task': 2, 'start': 253, 'machine': 'C', 'duration': 12}, {'task': 3, 'start': 99, 'machine': 'D', 'duration': 78}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 144, 'machine': 'A', 'duration': 68}, {'task': 1, 'start': 350, 'machine': 'B', 'duration': 59}, {'task': 2, 'start': 62, 'machine': 'C', 'duration': 52}, {'task': 3, 'start': 300, 'machine': 'D', 'duration': 15}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 98, 'machine': 'A', 'duration': 15}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 88}, {'task': 2, 'start': 114, 'machine': 'C', 'duration': 35}, {'task': 3, 'start': 177, 'machine': 'D', 'duration': 64}]}]",36,json,names
OSP,OSP,"Picture this: a stack of patient samples and a handful of instruments, each sample needing to visit each instrument once but with no fixed sequence. The planner must set the order and timing for each test so every device handles only one sample at a time and no sample is in two tests simultaneously. A good plan simply leaves the lab with everything completed sooner — check the completion time for every sample, pick the largest of those times, and the smaller that largest time is, the better the plan. The detailed instance information is shown below.

{
  ""nr_samples"": 6,
  ""nr_devices"": 3,
  ""sample_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""device_ids"": [
    ""A"",
    ""B"",
    ""C""
  ],
  ""tasks"": [
    {
      ""sample_id"": ""J1"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 1
    },
    {
      ""sample_id"": ""J1"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 26
    },
    {
      ""sample_id"": ""J1"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 93
    },
    {
      ""sample_id"": ""J2"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 77
    },
    {
      ""sample_id"": ""J2"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 56
    },
    {
      ""sample_id"": ""J2"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 8
    },
    {
      ""sample_id"": ""J3"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 67
    },
    {
      ""sample_id"": ""J3"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 95
    },
    {
      ""sample_id"": ""J3"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 98
    },
    {
      ""sample_id"": ""J4"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 90
    },
    {
      ""sample_id"": ""J4"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 91
    },
    {
      ""sample_id"": ""J4"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 51
    },
    {
      ""sample_id"": ""J5"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 81
    },
    {
      ""sample_id"": ""J5"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 69
    },
    {
      ""sample_id"": ""J5"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 17
    },
    {
      ""sample_id"": ""J6"",
      ""test_index"": 0,
      ""device_id"": ""A"",
      ""processing_time"": 32
    },
    {
      ""sample_id"": ""J6"",
      ""test_index"": 1,
      ""device_id"": ""B"",
      ""processing_time"": 35
    },
    {
      ""sample_id"": ""J6"",
      ""test_index"": 2,
      ""device_id"": ""C"",
      ""processing_time"": 60
    }
  ]
}

If you want to hand me the plan in a simple format, here’s the layout I expect — just a tiny JSON sketch:

{
  ""solution"": [
    {
      ""job"": <sample_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <instrument_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a little form: ""solution"" is the list of jobs (each job is one sample), ""job"" is that sample’s id, and ""tasks"" is the list of tests for that sample. Each task entry says which task it is, when it starts, which instrument (machine) it uses, and how long it takes. It’s just a sketch of the shape I want — not the real answer.

Quick reminder: when you fill this in, 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_machines': 3, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 26], [2, 93]], [[0, 77], [1, 56], [2, 8]], [[0, 67], [1, 95], [2, 98]], [[0, 90], [1, 91], [2, 51]], [[0, 81], [1, 69], [2, 17]], [[0, 32], [1, 35], [2, 60]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 248, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 346, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 93}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 81, 'machine': 0, 'duration': 77}, {'task': 1, 'start': 255, 'machine': 1, 'duration': 56}, {'task': 2, 'start': 319, 'machine': 2, 'duration': 8}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 283, 'machine': 0, 'duration': 67}, {'task': 1, 'start': 160, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 98}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 158, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 251, 'machine': 2, 'duration': 51}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 91, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 302, 'machine': 2, 'duration': 17}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 251, 'machine': 0, 'duration': 32}, {'task': 1, 'start': 311, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 191, 'machine': 2, 'duration': 60}]}]",372.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 26}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 93}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 77}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 56}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 8}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 67}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 95}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 98}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 90}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 91}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 51}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 81}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 69}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 17}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 32}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 35}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 60}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 248, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 346, 'machine': 'B', 'duration': 26}, {'task': 2, 'start': 98, 'machine': 'C', 'duration': 93}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 81, 'machine': 'A', 'duration': 77}, {'task': 1, 'start': 255, 'machine': 'B', 'duration': 56}, {'task': 2, 'start': 319, 'machine': 'C', 'duration': 8}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 283, 'machine': 'A', 'duration': 67}, {'task': 1, 'start': 160, 'machine': 'B', 'duration': 95}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 98}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 158, 'machine': 'A', 'duration': 90}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 91}, {'task': 2, 'start': 251, 'machine': 'C', 'duration': 51}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 81}, {'task': 1, 'start': 91, 'machine': 'B', 'duration': 69}, {'task': 2, 'start': 302, 'machine': 'C', 'duration': 17}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 251, 'machine': 'A', 'duration': 32}, {'task': 1, 'start': 311, 'machine': 'B', 'duration': 35}, {'task': 2, 'start': 191, 'machine': 'C', 'duration': 60}]}]",37,json,names
OSP,OSP,"There’s a busy service floor where every piece of equipment has to see several different shops, but nobody told the pieces which shop to visit first. Someone needs to arrange the sequence of stops for each piece and the start times for those stops, while ensuring each shop handles only one piece at a time and each piece gets serviced at every required shop exactly once, never being serviced in two shops at the same time. The better the arrangement, the earlier the whole crew is done — the finish time is simply the time when the last service completes. The exact shop assignments and durations follow below.

They are listed here for 6 pieces and 4 shops: piece ids J1, J2, J3, J4, J5, J6, shop ids 0, 1, 2, 3.

| piece_id | service_index | shop_id | service_duration |
|---|---|---|---|
| J1 | 0 | 0 | 1 |
| J1 | 1 | 1 | 39 |
| J1 | 2 | 2 | 69 |
| J1 | 3 | 3 | 24 |
| J2 | 0 | 0 | 9 |
| J2 | 1 | 1 | 30 |
| J2 | 2 | 2 | 71 |
| J2 | 3 | 3 | 63 |
| J3 | 0 | 0 | 66 |
| J3 | 1 | 1 | 84 |
| J3 | 2 | 2 | 30 |
| J3 | 3 | 3 | 4 |
| J4 | 0 | 0 | 64 |
| J4 | 1 | 1 | 73 |
| J4 | 2 | 2 | 23 |
| J4 | 3 | 3 | 84 |
| J5 | 0 | 0 | 3 |
| J5 | 1 | 1 | 61 |
| J5 | 2 | 2 | 29 |
| J5 | 3 | 3 | 28 |
| J6 | 0 | 0 | 98 |
| J6 | 1 | 1 | 26 |
| J6 | 2 | 2 | 53 |
| J6 | 3 | 3 | 50 |

Someone should arrange sequences and start times so every required service is scheduled once and the crew finishes as early as possible.

If you want to hand me the plan, just stick to this little JSON shape so I know what goes where — nothing fancy, just the same fields filled in:

{
  ""solution"": [
    {
      ""job"": <piece_id>,
      ""tasks"": [
        {
          ""task"": <stop_index>,
          ""start"": <start_time>,
          ""machine"": <shop_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a simple form: each ""job"" is a piece that needs service, ""tasks"" is the list of stops for that piece, and each task entry tells you which stop number it is (""task""), when that stop begins (""start""), which shop handles it (""machine""), and how long it takes (""duration""). This JSON is just a sketch of the shape I expect — not the actual schedule.

Please remember: 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_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 39], [2, 69], [3, 24]], [[0, 9], [1, 30], [2, 71], [3, 63]], [[0, 66], [1, 84], [2, 30], [3, 4]], [[0, 64], [1, 73], [2, 23], [3, 84]], [[0, 3], [1, 61], [2, 29], [3, 28]], [[0, 98], [1, 26], [2, 53], [3, 50]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 157, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 71, 'machine': 2, 'duration': 69}, {'task': 3, 'start': 243, 'machine': 3, 'duration': 24}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 9}, {'task': 1, 'start': 257, 'machine': 1, 'duration': 30}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 71}, {'task': 3, 'start': 84, 'machine': 3, 'duration': 63}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 98, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 175, 'machine': 3, 'duration': 4}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 164, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 228, 'machine': 2, 'duration': 23}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 84}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 286, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 196, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 257, 'machine': 2, 'duration': 29}, {'task': 3, 'start': 147, 'machine': 3, 'duration': 28}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 98}, {'task': 1, 'start': 287, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 140, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 193, 'machine': 3, 'duration': 50}]}]",313.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 39}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 69}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 24}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 9}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 30}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 71}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 63}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 66}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 84}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 30}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 4}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 64}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 73}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 23}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 84}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 3}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 61}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 29}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 28}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 98}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 26}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 53}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 50}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 157, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 71, 'machine': 2, 'duration': 69}, {'task': 3, 'start': 243, 'machine': 3, 'duration': 24}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 9}, {'task': 1, 'start': 257, 'machine': 1, 'duration': 30}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 71}, {'task': 3, 'start': 84, 'machine': 3, 'duration': 63}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 98, 'machine': 0, 'duration': 66}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 193, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 175, 'machine': 3, 'duration': 4}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 164, 'machine': 0, 'duration': 64}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 228, 'machine': 2, 'duration': 23}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 84}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 286, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 196, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 257, 'machine': 2, 'duration': 29}, {'task': 3, 'start': 147, 'machine': 3, 'duration': 28}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 98}, {'task': 1, 'start': 287, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 140, 'machine': 2, 'duration': 53}, {'task': 3, 'start': 193, 'machine': 3, 'duration': 50}]}]",38,markdown_table,0
OSP,OSP,"Picture this: a bench of edit, color, and sound stations and a pile of clips that each need all three services, but there’s no rule about which comes first for any given clip. The job is to schedule when each clip goes to each station and in what order, making sure every clip gets edited, graded, and mixed exactly once, stations aren’t double-booked, and no clip is worked on in two places at the same time. The quality of a schedule is judged by when the very last clip is done — look at every clip’s completion time and take the latest one; the goal is to make that time as early as possible. The concrete details are shown below.

Concrete details: 7 clips, 4 stations (A, B, C, D), clip IDs: J1, J2, J3, J4, J5, J6, J7.

| clip_id | service_step | station_id | processing_time |
|---|---|---|---|
| J1 | 0 | A | 1 |
| J1 | 1 | B | 52 |
| J1 | 2 | C | 45 |
| J1 | 3 | D | 69 |
| J2 | 0 | A | 62 |
| J2 | 1 | B | 52 |
| J2 | 2 | C | 76 |
| J2 | 3 | D | 31 |
| J3 | 0 | A | 35 |
| J3 | 1 | B | 77 |
| J3 | 2 | C | 68 |
| J3 | 3 | D | 55 |
| J4 | 0 | A | 48 |
| J4 | 1 | B | 76 |
| J4 | 2 | C | 28 |
| J4 | 3 | D | 38 |
| J5 | 0 | A | 69 |
| J5 | 1 | B | 61 |
| J5 | 2 | C | 67 |
| J5 | 3 | D | 35 |
| J6 | 0 | A | 40 |
| J6 | 1 | B | 94 |
| J6 | 2 | C | 12 |
| J6 | 3 | D | 44 |
| J7 | 0 | A | 69 |
| J7 | 1 | B | 16 |
| J7 | 2 | C | 36 |
| J7 | 3 | D | 32 |

Each clip must visit every station exactly once; keep stations free of double-booking and minimize the time when the final clip finishes.

Oh, and to make things easy to consume, here's the simple JSON shape I'd like the schedule in:

{
  ""solution"": [
    {
      ""job"": <job_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <machine_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I expect: ""solution"" is a list of jobs; each job entry gives the job identifier and a list of its tasks; each task shows which task it is (an index), when it starts, which machine/station it runs on, and how long it takes. Think of ""start"" as the minute a clip arrives at a station, ""machine"" as the station name, and ""duration"" as how long the work takes.

This JSON is only the expected shape — not the final schedule itself.

Please make sure to 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_machines': 4, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 52], [2, 45], [3, 69]], [[0, 62], [1, 52], [2, 76], [3, 31]], [[0, 35], [1, 77], [2, 68], [3, 55]], [[0, 48], [1, 76], [2, 28], [3, 38]], [[0, 69], [1, 61], [2, 67], [3, 35]], [[0, 40], [1, 94], [2, 12], [3, 44]], [[0, 69], [1, 16], [2, 36], [3, 32]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 288, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 170, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 76, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 69}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 138, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 360, 'machine': 1, 'duration': 52}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 76}, {'task': 3, 'start': 235, 'machine': 3, 'duration': 31}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 360, 'machine': 0, 'duration': 35}, {'task': 1, 'start': 283, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 157, 'machine': 2, 'duration': 68}, {'task': 3, 'start': 69, 'machine': 3, 'duration': 55}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 200, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 76}, {'task': 2, 'start': 248, 'machine': 2, 'duration': 28}, {'task': 3, 'start': 276, 'machine': 3, 'duration': 38}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 69, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 222, 'machine': 1, 'duration': 61}, {'task': 2, 'start': 283, 'machine': 2, 'duration': 67}, {'task': 3, 'start': 168, 'machine': 3, 'duration': 35}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 248, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 225, 'machine': 2, 'duration': 12}, {'task': 3, 'start': 124, 'machine': 3, 'duration': 44}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 412, 'machine': 1, 'duration': 16}, {'task': 2, 'start': 121, 'machine': 2, 'duration': 36}, {'task': 3, 'start': 203, 'machine': 3, 'duration': 32}]}]",428.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 52}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 45}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 69}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 62}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 52}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 76}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 31}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 35}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 77}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 68}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 55}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 48}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 76}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 28}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 38}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 69}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 61}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 67}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 35}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 40}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 94}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 12}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 44}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 69}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 16}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 36}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 32}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 288, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 170, 'machine': 'B', 'duration': 52}, {'task': 2, 'start': 76, 'machine': 'C', 'duration': 45}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 69}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 138, 'machine': 'A', 'duration': 62}, {'task': 1, 'start': 360, 'machine': 'B', 'duration': 52}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 76}, {'task': 3, 'start': 235, 'machine': 'D', 'duration': 31}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 360, 'machine': 'A', 'duration': 35}, {'task': 1, 'start': 283, 'machine': 'B', 'duration': 77}, {'task': 2, 'start': 157, 'machine': 'C', 'duration': 68}, {'task': 3, 'start': 69, 'machine': 'D', 'duration': 55}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 200, 'machine': 'A', 'duration': 48}, {'task': 1, 'start': 94, 'machine': 'B', 'duration': 76}, {'task': 2, 'start': 248, 'machine': 'C', 'duration': 28}, {'task': 3, 'start': 276, 'machine': 'D', 'duration': 38}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 69, 'machine': 'A', 'duration': 69}, {'task': 1, 'start': 222, 'machine': 'B', 'duration': 61}, {'task': 2, 'start': 283, 'machine': 'C', 'duration': 67}, {'task': 3, 'start': 168, 'machine': 'D', 'duration': 35}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 248, 'machine': 'A', 'duration': 40}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 94}, {'task': 2, 'start': 225, 'machine': 'C', 'duration': 12}, {'task': 3, 'start': 124, 'machine': 'D', 'duration': 44}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 69}, {'task': 1, 'start': 412, 'machine': 'B', 'duration': 16}, {'task': 2, 'start': 121, 'machine': 'C', 'duration': 36}, {'task': 3, 'start': 203, 'machine': 'D', 'duration': 32}]}]",39,markdown_table,names
OSP,OSP,"On the assembly line a batch of boards needs soldering, inspection, and testing, and each board has to go to each station once but in any order. The job is to pick both the order for each board and the exact start time for each of its operations so the benches don’t clash. Better choices are the ones that bring the moment when the very last board finishes earlier — the time when the final board completes its last step is the single measure to beat. The basic rules: every board must visit each bench exactly once, each bench works on only one board at a time, and a board can’t be in two places at once. The concrete processing details are shown below.

{
  ""nr_boards"": 8,
  ""nr_benches"": 4,
  ""board_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""bench_ids"": [
    ""A"",
    ""B"",
    ""C"",
    ""D""
  ],
  ""tasks"": [
    {
      ""board_id"": ""J1"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 1
    },
    {
      ""board_id"": ""J1"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 65
    },
    {
      ""board_id"": ""J1"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 21
    },
    {
      ""board_id"": ""J1"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 15
    },
    {
      ""board_id"": ""J2"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 16
    },
    {
      ""board_id"": ""J2"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 73
    },
    {
      ""board_id"": ""J2"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 81
    },
    {
      ""board_id"": ""J2"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 98
    },
    {
      ""board_id"": ""J3"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 3
    },
    {
      ""board_id"": ""J3"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 71
    },
    {
      ""board_id"": ""J3"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 7
    },
    {
      ""board_id"": ""J3"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 8
    },
    {
      ""board_id"": ""J4"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 31
    },
    {
      ""board_id"": ""J4"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 80
    },
    {
      ""board_id"": ""J4"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 33
    },
    {
      ""board_id"": ""J4"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 90
    },
    {
      ""board_id"": ""J5"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 36
    },
    {
      ""board_id"": ""J5"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 62
    },
    {
      ""board_id"": ""J5"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 6
    },
    {
      ""board_id"": ""J5"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 42
    },
    {
      ""board_id"": ""J6"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 81
    },
    {
      ""board_id"": ""J6"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 63
    },
    {
      ""board_id"": ""J6"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 71
    },
    {
      ""board_id"": ""J6"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 37
    },
    {
      ""board_id"": ""J7"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 54
    },
    {
      ""board_id"": ""J7"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 68
    },
    {
      ""board_id"": ""J7"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 45
    },
    {
      ""board_id"": ""J7"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 96
    },
    {
      ""board_id"": ""J8"",
      ""operation_index"": 0,
      ""bench_id"": ""A"",
      ""processing_time"": 69
    },
    {
      ""board_id"": ""J8"",
      ""operation_index"": 1,
      ""bench_id"": ""B"",
      ""processing_time"": 79
    },
    {
      ""board_id"": ""J8"",
      ""operation_index"": 2,
      ""bench_id"": ""C"",
      ""processing_time"": 73
    },
    {
      ""board_id"": ""J8"",
      ""operation_index"": 3,
      ""bench_id"": ""D"",
      ""processing_time"": 74
    }
  ]
}

If you want to hand me a proposed plan, a simple JSON shape like this is easiest — just fill in the placeholders with the actual identifiers and numbers from the instance.

{
  ""solution"": [
    {
      ""job"": <board_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <bench_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This little sketch says: for each board (job) list the operations (tasks) with when they start, which bench (machine) they use, and how long they take. I renamed the identifier-style placeholders to match the board/bench story (for example <board_id> and <bench_id>), but left time and duration placeholders unchanged. It's just the shape I expect — not the actual answer.

Please use the exact identifiers from the problem input with no renaming and no extra labels — they must match 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_machines': 4, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 65], [2, 21], [3, 15]], [[0, 16], [1, 73], [2, 81], [3, 98]], [[0, 3], [1, 71], [2, 7], [3, 8]], [[0, 31], [1, 80], [2, 33], [3, 90]], [[0, 36], [1, 62], [2, 6], [3, 42]], [[0, 81], [1, 63], [2, 71], [3, 37]], [[0, 54], [1, 68], [2, 45], [3, 96]], [[0, 69], [1, 79], [2, 73], [3, 74]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 287, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 371, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 222, 'machine': 2, 'duration': 21}, {'task': 3, 'start': 437, 'machine': 3, 'duration': 15}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 117, 'machine': 0, 'duration': 16}, {'task': 1, 'start': 159, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 243, 'machine': 2, 'duration': 81}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 98}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 303, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 232, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 324, 'machine': 2, 'duration': 7}, {'task': 3, 'start': 452, 'machine': 3, 'duration': 8}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 256, 'machine': 0, 'duration': 31}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 80}, {'task': 2, 'start': 189, 'machine': 2, 'duration': 33}, {'task': 3, 'start': 98, 'machine': 3, 'duration': 90}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 81, 'machine': 0, 'duration': 36}, {'task': 1, 'start': 436, 'machine': 1, 'duration': 62}, {'task': 2, 'start': 331, 'machine': 2, 'duration': 6}, {'task': 3, 'start': 358, 'machine': 3, 'duration': 42}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 498, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 118, 'machine': 2, 'duration': 71}, {'task': 3, 'start': 400, 'machine': 3, 'duration': 37}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 133, 'machine': 0, 'duration': 54}, {'task': 1, 'start': 303, 'machine': 1, 'duration': 68}, {'task': 2, 'start': 73, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 188, 'machine': 3, 'duration': 96}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 187, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 80, 'machine': 1, 'duration': 79}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 73}, {'task': 3, 'start': 284, 'machine': 3, 'duration': 74}]}]",561.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 65}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 21}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 15}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 16}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 73}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 81}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 98}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 3}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 71}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 7}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 8}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 31}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 80}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 33}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 90}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 36}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 62}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 6}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 42}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 81}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 63}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 71}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 37}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 54}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 68}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 45}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 96}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 69}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 79}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 73}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 74}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 287, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 371, 'machine': 'B', 'duration': 65}, {'task': 2, 'start': 222, 'machine': 'C', 'duration': 21}, {'task': 3, 'start': 437, 'machine': 'D', 'duration': 15}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 117, 'machine': 'A', 'duration': 16}, {'task': 1, 'start': 159, 'machine': 'B', 'duration': 73}, {'task': 2, 'start': 243, 'machine': 'C', 'duration': 81}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 98}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 303, 'machine': 'A', 'duration': 3}, {'task': 1, 'start': 232, 'machine': 'B', 'duration': 71}, {'task': 2, 'start': 324, 'machine': 'C', 'duration': 7}, {'task': 3, 'start': 452, 'machine': 'D', 'duration': 8}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 256, 'machine': 'A', 'duration': 31}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 80}, {'task': 2, 'start': 189, 'machine': 'C', 'duration': 33}, {'task': 3, 'start': 98, 'machine': 'D', 'duration': 90}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 81, 'machine': 'A', 'duration': 36}, {'task': 1, 'start': 436, 'machine': 'B', 'duration': 62}, {'task': 2, 'start': 331, 'machine': 'C', 'duration': 6}, {'task': 3, 'start': 358, 'machine': 'D', 'duration': 42}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 81}, {'task': 1, 'start': 498, 'machine': 'B', 'duration': 63}, {'task': 2, 'start': 118, 'machine': 'C', 'duration': 71}, {'task': 3, 'start': 400, 'machine': 'D', 'duration': 37}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 133, 'machine': 'A', 'duration': 54}, {'task': 1, 'start': 303, 'machine': 'B', 'duration': 68}, {'task': 2, 'start': 73, 'machine': 'C', 'duration': 45}, {'task': 3, 'start': 188, 'machine': 'D', 'duration': 96}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 187, 'machine': 'A', 'duration': 69}, {'task': 1, 'start': 80, 'machine': 'B', 'duration': 79}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 73}, {'task': 3, 'start': 284, 'machine': 'D', 'duration': 74}]}]",40,json,names
OSP,OSP,"There’s a little weekend rush: every cake must be shaped, decorated, and packaged once, but there’s no fixed order — a cake might be decorated before it’s packaged or vice versa. The job is to work out both the sequence of stations for each cake and the start times for those steps so that the whole batch finishes sooner rather than later; success is measured by the clock time when the last cake is done. Keep in mind each station serves only one cake at a time, and a cake can’t be in two stations at once. The concrete details follow below.

{
  ""number_of_cakes"": 6,
  ""number_of_stations"": 4,
  ""cake_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""station_ids"": [
    0,
    1,
    2,
    3
  ],
  ""tasks"": [
    {
      ""cake_id"": ""J1"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 1
    },
    {
      ""cake_id"": ""J1"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 78
    },
    {
      ""cake_id"": ""J1"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 96
    },
    {
      ""cake_id"": ""J1"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 61
    },
    {
      ""cake_id"": ""J2"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 69
    },
    {
      ""cake_id"": ""J2"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 95
    },
    {
      ""cake_id"": ""J2"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 85
    },
    {
      ""cake_id"": ""J2"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 67
    },
    {
      ""cake_id"": ""J3"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 70
    },
    {
      ""cake_id"": ""J3"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 64
    },
    {
      ""cake_id"": ""J3"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 45
    },
    {
      ""cake_id"": ""J3"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 59
    },
    {
      ""cake_id"": ""J4"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 14
    },
    {
      ""cake_id"": ""J4"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 83
    },
    {
      ""cake_id"": ""J4"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 39
    },
    {
      ""cake_id"": ""J4"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 44
    },
    {
      ""cake_id"": ""J5"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 4
    },
    {
      ""cake_id"": ""J5"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 63
    },
    {
      ""cake_id"": ""J5"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 44
    },
    {
      ""cake_id"": ""J5"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 48
    },
    {
      ""cake_id"": ""J6"",
      ""visit_label"": 0,
      ""station_id"": 0,
      ""processing_time"": 24
    },
    {
      ""cake_id"": ""J6"",
      ""visit_label"": 1,
      ""station_id"": 1,
      ""processing_time"": 32
    },
    {
      ""cake_id"": ""J6"",
      ""visit_label"": 2,
      ""station_id"": 2,
      ""processing_time"": 30
    },
    {
      ""cake_id"": ""J6"",
      ""visit_label"": 3,
      ""station_id"": 3,
      ""processing_time"": 30
    }
  ]
}

If you want to hand me a schedule, a neat way to lay it out is this simple JSON shape — just follow the same structure and I'll know how to read it.

{
  ""solution"": [
    {
      ""job"": <cake_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of that like a little form: each top-level entry is one cake, ""tasks"" is the list of steps that cake needs (shaping, decorating, packaging — in whatever order you choose), ""task"" is just that step’s index, ""start"" is when the step begins, ""machine"" is which station handles it, and ""duration"" is how long it takes. Super casual — this JSON is just a sketch of the shape I expect, not the actual plan itself.

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_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 78], [2, 96], [3, 61]], [[0, 69], [1, 95], [2, 85], [3, 67]], [[0, 70], [1, 64], [2, 45], [3, 59]], [[0, 14], [1, 83], [2, 39], [3, 44]], [[0, 4], [1, 63], [2, 44], [3, 48]], [[0, 24], [1, 32], [2, 30], [3, 30]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 108, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 241, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 96}, {'task': 3, 'start': 151, 'machine': 3, 'duration': 61}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 181, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 96, 'machine': 2, 'duration': 85}, {'task': 3, 'start': 250, 'machine': 3, 'duration': 67}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 70}, {'task': 1, 'start': 319, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 181, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 59}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 270, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 48, 'machine': 3, 'duration': 44}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 158, 'machine': 0, 'duration': 4}, {'task': 1, 'start': 95, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 226, 'machine': 2, 'duration': 44}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 48}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 70, 'machine': 0, 'duration': 24}, {'task': 1, 'start': 383, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 309, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 212, 'machine': 3, 'duration': 30}]}]",415.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 78}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 96}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 61}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 69}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 95}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 85}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 67}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 70}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 64}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 45}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 59}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 14}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 83}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 39}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 44}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 4}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 63}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 44}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 48}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 24}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 32}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 30}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 30}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 108, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 241, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 96}, {'task': 3, 'start': 151, 'machine': 3, 'duration': 61}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 181, 'machine': 0, 'duration': 69}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 96, 'machine': 2, 'duration': 85}, {'task': 3, 'start': 250, 'machine': 3, 'duration': 67}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 70}, {'task': 1, 'start': 319, 'machine': 1, 'duration': 64}, {'task': 2, 'start': 181, 'machine': 2, 'duration': 45}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 59}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 158, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 270, 'machine': 2, 'duration': 39}, {'task': 3, 'start': 48, 'machine': 3, 'duration': 44}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 158, 'machine': 0, 'duration': 4}, {'task': 1, 'start': 95, 'machine': 1, 'duration': 63}, {'task': 2, 'start': 226, 'machine': 2, 'duration': 44}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 48}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 70, 'machine': 0, 'duration': 24}, {'task': 1, 'start': 383, 'machine': 1, 'duration': 32}, {'task': 2, 'start': 309, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 212, 'machine': 3, 'duration': 30}]}]",41,json,0
OSP,OSP,"Picture a shift where every car must stop at a few specific stations once each, but the order is flexible — the supervisor must pick when each service starts and in what order each car visits stations so nothing is missed or repeated. The important bit is to finish the whole queue quickly; the finish time of the last car is the measure of success, and all along no station can handle more than one car and no car can be in two spots at once. The concrete details are shown below.

{
  ""nr_cars"": 7,
  ""nr_stations"": 3,
  ""cars"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7""
  ],
  ""stations"": [
    0,
    1,
    2
  ],
  ""tasks"": [
    {
      ""car_id"": ""J1"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 1
    },
    {
      ""car_id"": ""J1"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 91
    },
    {
      ""car_id"": ""J1"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 71
    },
    {
      ""car_id"": ""J2"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 7
    },
    {
      ""car_id"": ""J2"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 22
    },
    {
      ""car_id"": ""J2"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 18
    },
    {
      ""car_id"": ""J3"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 90
    },
    {
      ""car_id"": ""J3"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 35
    },
    {
      ""car_id"": ""J3"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 38
    },
    {
      ""car_id"": ""J4"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 58
    },
    {
      ""car_id"": ""J4"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 83
    },
    {
      ""car_id"": ""J4"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 12
    },
    {
      ""car_id"": ""J5"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 97
    },
    {
      ""car_id"": ""J5"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 87
    },
    {
      ""car_id"": ""J5"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 44
    },
    {
      ""car_id"": ""J6"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 96
    },
    {
      ""car_id"": ""J6"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 70
    },
    {
      ""car_id"": ""J6"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 64
    },
    {
      ""car_id"": ""J7"",
      ""task_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 82
    },
    {
      ""car_id"": ""J7"",
      ""task_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 55
    },
    {
      ""car_id"": ""J7"",
      ""task_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 65
    }
  ]
}

Oh, and to keep things tidy, please give the plan in this simple JSON shape so I can read it programmatically or by eye:

{
  ""solution"": [
    {
      ""job"": <car_id>,
      ""tasks"": [
        {
          ""task"": <service_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I expect: each top-level entry under ""solution"" is one car (the ""job""), ""tasks"" is the list of station visits for that car, ""task"" is a short label/index for each visit, ""start"" is when that visit begins, ""machine"" names the station, and ""duration"" is how long the service takes. Keep it casual — like filling out a form for each car's stops.

A quick reminder: 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_machines': 3, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 91], [2, 71]], [[0, 7], [1, 22], [2, 18]], [[0, 90], [1, 35], [2, 38]], [[0, 58], [1, 83], [2, 12]], [[0, 97], [1, 87], [2, 44]], [[0, 96], [1, 70], [2, 64]], [[0, 82], [1, 55], [2, 65]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 430, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 129, 'machine': 2, 'duration': 71}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 423, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 386, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 238, 'machine': 2, 'duration': 18}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 408, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 200, 'machine': 2, 'duration': 38}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 283, 'machine': 0, 'duration': 58}, {'task': 1, 'start': 91, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 256, 'machine': 2, 'duration': 12}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 174, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 268, 'machine': 2, 'duration': 44}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 187, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 316, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 65, 'machine': 2, 'duration': 64}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 341, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 261, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 65}]}]",443.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 91}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 71}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 7}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 22}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 18}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 90}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 35}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 38}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 58}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 83}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 12}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 97}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 87}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 44}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 96}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 70}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 64}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 82}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 55}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 65}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 430, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 91}, {'task': 2, 'start': 129, 'machine': 2, 'duration': 71}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 423, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 386, 'machine': 1, 'duration': 22}, {'task': 2, 'start': 238, 'machine': 2, 'duration': 18}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 408, 'machine': 1, 'duration': 35}, {'task': 2, 'start': 200, 'machine': 2, 'duration': 38}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 283, 'machine': 0, 'duration': 58}, {'task': 1, 'start': 91, 'machine': 1, 'duration': 83}, {'task': 2, 'start': 256, 'machine': 2, 'duration': 12}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 174, 'machine': 1, 'duration': 87}, {'task': 2, 'start': 268, 'machine': 2, 'duration': 44}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 187, 'machine': 0, 'duration': 96}, {'task': 1, 'start': 316, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 65, 'machine': 2, 'duration': 64}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 341, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 261, 'machine': 1, 'duration': 55}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 65}]}]",42,json,0
OSP,OSP,"We saw the house calendar full of tasks, and the person in charge needs to schedule each task through every area it requires — once per area, in whatever order makes sense for each task. Each area can only handle one task at a time, and a task can’t be split between two areas simultaneously, so the manager must pick start times and sequences that respect that. The goal is to wrap up all the chores as quickly as possible; measure success by the clock moment when the last job is done, and the earlier that moment, the better the plan. The concrete chores, rooms, and durations are listed below.

# nr_chores=8
# nr_areas=4
# chores=J1, J2, J3, J4, J5, J6, J7, J8
# areas=1, 2, 3, 4
chore_id,chore_task_index,area_id,attention_duration
J1,0,1,1
J1,1,2,5
J1,2,3,47
J1,3,4,53
J2,0,1,75
J2,1,2,39
J2,2,3,95
J2,3,4,3
J3,0,1,7
J3,1,2,51
J3,2,3,22
J3,3,4,63
J4,0,1,80
J4,1,2,90
J4,2,3,49
J4,3,4,49
J5,0,1,38
J5,1,2,65
J5,2,3,21
J5,3,4,61
J6,0,1,7
J6,1,2,69
J6,2,3,47
J6,3,4,16
J7,0,1,8
J7,1,2,26
J7,2,3,72
J7,3,4,92
J8,0,1,94
J8,1,2,90
J8,2,3,47
J8,3,4,3

Also, a quick note — it's easiest for me to read your plan if you give it in a simple JSON shape like this. Below is a tiny sketch of the exact layout I'd expect:

{
  ""solution"": [
    {
      ""job"": <chore_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <room_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This just shows the form: ""solution"" is a list of jobs (here, chores), each job entry has a job identifier and a list of its tasks, and each task entry lists a task index, the start time, which room (machine) it uses, and how long it takes. It's just a sketch of the expected shape — not the actual schedule.

Please make sure to use the exact identifiers from the instance input when you fill this in — 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_machines': 4, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 5], [2, 47], [3, 53]], [[0, 75], [1, 39], [2, 95], [3, 3]], [[0, 7], [1, 51], [2, 22], [3, 63]], [[0, 80], [1, 90], [2, 49], [3, 49]], [[0, 38], [1, 65], [2, 21], [3, 61]], [[0, 7], [1, 69], [2, 47], [3, 16]], [[0, 8], [1, 26], [2, 72], [3, 92]], [[0, 94], [1, 90], [2, 47], [3, 3]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 269, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 430, 'machine': 1, 'duration': 5}, {'task': 2, 'start': 167, 'machine': 2, 'duration': 47}, {'task': 3, 'start': 216, 'machine': 3, 'duration': 53}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 174, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 365, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 95}, {'task': 3, 'start': 334, 'machine': 3, 'duration': 3}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 257, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 314, 'machine': 1, 'duration': 51}, {'task': 2, 'start': 378, 'machine': 2, 'duration': 22}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 63}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 80}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 90}, {'task': 2, 'start': 214, 'machine': 2, 'duration': 49}, {'task': 3, 'start': 269, 'machine': 3, 'duration': 49}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 317, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 249, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 357, 'machine': 2, 'duration': 21}, {'task': 3, 'start': 155, 'machine': 3, 'duration': 61}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 310, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 90, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 263, 'machine': 2, 'duration': 47}, {'task': 3, 'start': 318, 'machine': 3, 'duration': 16}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 249, 'machine': 0, 'duration': 8}, {'task': 1, 'start': 404, 'machine': 1, 'duration': 26}, {'task': 2, 'start': 95, 'machine': 2, 'duration': 72}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 92}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 159, 'machine': 1, 'duration': 90}, {'task': 2, 'start': 310, 'machine': 2, 'duration': 47}, {'task': 3, 'start': 357, 'machine': 3, 'duration': 3}]}]",435.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 1, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 2, 'duration': 5}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 3, 'duration': 47}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 4, 'duration': 53}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 1, 'duration': 75}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 2, 'duration': 39}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 3, 'duration': 95}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 4, 'duration': 3}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 1, 'duration': 7}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 2, 'duration': 51}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 3, 'duration': 22}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 4, 'duration': 63}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 1, 'duration': 80}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 2, 'duration': 90}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 3, 'duration': 49}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 4, 'duration': 49}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 1, 'duration': 38}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 2, 'duration': 65}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 3, 'duration': 21}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 4, 'duration': 61}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 1, 'duration': 7}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 2, 'duration': 69}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 3, 'duration': 47}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 4, 'duration': 16}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 1, 'duration': 8}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 2, 'duration': 26}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 3, 'duration': 72}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 4, 'duration': 92}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 1, 'duration': 94}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 2, 'duration': 90}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 3, 'duration': 47}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 4, 'duration': 3}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 269, 'machine': 1, 'duration': 1}, {'task': 1, 'start': 430, 'machine': 2, 'duration': 5}, {'task': 2, 'start': 167, 'machine': 3, 'duration': 47}, {'task': 3, 'start': 216, 'machine': 4, 'duration': 53}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 174, 'machine': 1, 'duration': 75}, {'task': 1, 'start': 365, 'machine': 2, 'duration': 39}, {'task': 2, 'start': 0, 'machine': 3, 'duration': 95}, {'task': 3, 'start': 334, 'machine': 4, 'duration': 3}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 257, 'machine': 1, 'duration': 7}, {'task': 1, 'start': 314, 'machine': 2, 'duration': 51}, {'task': 2, 'start': 378, 'machine': 3, 'duration': 22}, {'task': 3, 'start': 92, 'machine': 4, 'duration': 63}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 94, 'machine': 1, 'duration': 80}, {'task': 1, 'start': 0, 'machine': 2, 'duration': 90}, {'task': 2, 'start': 214, 'machine': 3, 'duration': 49}, {'task': 3, 'start': 269, 'machine': 4, 'duration': 49}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 317, 'machine': 1, 'duration': 38}, {'task': 1, 'start': 249, 'machine': 2, 'duration': 65}, {'task': 2, 'start': 357, 'machine': 3, 'duration': 21}, {'task': 3, 'start': 155, 'machine': 4, 'duration': 61}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 310, 'machine': 1, 'duration': 7}, {'task': 1, 'start': 90, 'machine': 2, 'duration': 69}, {'task': 2, 'start': 263, 'machine': 3, 'duration': 47}, {'task': 3, 'start': 318, 'machine': 4, 'duration': 16}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 249, 'machine': 1, 'duration': 8}, {'task': 1, 'start': 404, 'machine': 2, 'duration': 26}, {'task': 2, 'start': 95, 'machine': 3, 'duration': 72}, {'task': 3, 'start': 0, 'machine': 4, 'duration': 92}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 1, 'start': 159, 'machine': 2, 'duration': 90}, {'task': 2, 'start': 310, 'machine': 3, 'duration': 47}, {'task': 3, 'start': 357, 'machine': 4, 'duration': 3}]}]",43,csv,1
OSP,OSP,"There’s a scheduling puzzle in the ops team: each application needs to be touched on several specific servers, exactly once per server, but there’s freedom in which server update happens first. The team must choose the sequence and timing for each update while respecting that a server can’t handle more than one update at once and an application can’t be updated in two places at the same time, with no update skipped or repeated. The aim is to have everything done as quickly as possible — the time to beat is the moment when the last update finishes. The concrete details appear below.

There are 8 applications and 5 servers; the application IDs are J1, J2, J3, J4, J5, J6, J7, J8 and the server IDs are A, B, C, D, E.
Application J1, update 0 on server A takes 1 time units.
Application J1, update 1 on server B takes 18 time units.
Application J1, update 2 on server C takes 23 time units.
Application J1, update 3 on server D takes 98 time units.
Application J1, update 4 on server E takes 29 time units.
Application J2, update 0 on server A takes 61 time units.
Application J2, update 1 on server B takes 99 time units.
Application J2, update 2 on server C takes 70 time units.
Application J2, update 3 on server D takes 74 time units.
Application J2, update 4 on server E takes 45 time units.
Application J3, update 0 on server A takes 60 time units.
Application J3, update 1 on server B takes 15 time units.
Application J3, update 2 on server C takes 63 time units.
Application J3, update 3 on server D takes 93 time units.
Application J3, update 4 on server E takes 54 time units.
Application J4, update 0 on server A takes 3 time units.
Application J4, update 1 on server B takes 5 time units.
Application J4, update 2 on server C takes 65 time units.
Application J4, update 3 on server D takes 59 time units.
Application J4, update 4 on server E takes 68 time units.
Application J5, update 0 on server A takes 49 time units.
Application J5, update 1 on server B takes 38 time units.
Application J5, update 2 on server C takes 7 time units.
Application J5, update 3 on server D takes 9 time units.
Application J5, update 4 on server E takes 92 time units.
Application J6, update 0 on server A takes 79 time units.
Application J6, update 1 on server B takes 81 time units.
Application J6, update 2 on server C takes 58 time units.
Application J6, update 3 on server D takes 36 time units.
Application J6, update 4 on server E takes 60 time units.
Application J7, update 0 on server A takes 38 time units.
Application J7, update 1 on server B takes 78 time units.
Application J7, update 2 on server C takes 31 time units.
Application J7, update 3 on server D takes 4 time units.
Application J7, update 4 on server E takes 57 time units.
Application J8, update 0 on server A takes 90 time units.
Application J8, update 1 on server B takes 77 time units.
Application J8, update 2 on server C takes 30 time units.
Application J8, update 3 on server D takes 24 time units.
Application J8, update 4 on server E takes 6 time units.
List each required update on its own line so the team can choose sequences and timings to minimize the overall completion time.

Also, please return the plan in a simple JSON shape so it's easy to read and ingest. Just follow this layout when you fill it in:

{
  ""solution"": [
    {
      ""job"": <app_id>,
      ""tasks"": [
        {
          ""task"": <update_index>,
          ""start"": <start_time>,
          ""machine"": <server_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a friendly template: ""solution"" is the list of applications (jobs), each entry's ""job"" is the application id, ""tasks"" is the list of updates that need to happen for that app. Each task line tells you the task index, when it starts, which server it's on, and how long it takes. Treat it like a simple form to fill out — it's an example of the shape I expect, not the final answer.

Please make sure to 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_machines': 5, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 18], [2, 23], [3, 98], [4, 29]], [[0, 61], [1, 99], [2, 70], [3, 74], [4, 45]], [[0, 60], [1, 15], [2, 63], [3, 93], [4, 54]], [[0, 3], [1, 5], [2, 65], [3, 59], [4, 68]], [[0, 49], [1, 38], [2, 7], [3, 9], [4, 92]], [[0, 79], [1, 81], [2, 58], [3, 36], [4, 60]], [[0, 38], [1, 78], [2, 31], [3, 4], [4, 57]], [[0, 90], [1, 77], [2, 30], [3, 24], [4, 6]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 373, 'machine': 1, 'duration': 18}, {'task': 2, 'start': 30, 'machine': 2, 'duration': 23}, {'task': 3, 'start': 275, 'machine': 3, 'duration': 98}, {'task': 4, 'start': 177, 'machine': 4, 'duration': 29}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 243, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 99}, {'task': 2, 'start': 173, 'machine': 2, 'duration': 70}, {'task': 3, 'start': 99, 'machine': 3, 'duration': 74}, {'task': 4, 'start': 366, 'machine': 4, 'duration': 45}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 60}, {'task': 1, 'start': 396, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 316, 'machine': 2, 'duration': 63}, {'task': 3, 'start': 182, 'machine': 3, 'duration': 93}, {'task': 4, 'start': 63, 'machine': 4, 'duration': 54}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 238, 'machine': 0, 'duration': 3}, {'task': 1, 'start': 391, 'machine': 1, 'duration': 5}, {'task': 2, 'start': 91, 'machine': 2, 'duration': 65}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 59}, {'task': 4, 'start': 298, 'machine': 4, 'duration': 68}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 60, 'machine': 0, 'duration': 49}, {'task': 1, 'start': 335, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 53, 'machine': 2, 'duration': 7}, {'task': 3, 'start': 173, 'machine': 3, 'duration': 9}, {'task': 4, 'start': 206, 'machine': 4, 'duration': 92}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 316, 'machine': 0, 'duration': 79}, {'task': 1, 'start': 177, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 258, 'machine': 2, 'duration': 58}, {'task': 3, 'start': 59, 'machine': 3, 'duration': 36}, {'task': 4, 'start': 117, 'machine': 4, 'duration': 60}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 199, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 99, 'machine': 1, 'duration': 78}, {'task': 2, 'start': 60, 'machine': 2, 'duration': 31}, {'task': 3, 'start': 95, 'machine': 3, 'duration': 4}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 57}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 109, 'machine': 0, 'duration': 90}, {'task': 1, 'start': 258, 'machine': 1, 'duration': 77}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 373, 'machine': 3, 'duration': 24}, {'task': 4, 'start': 57, 'machine': 4, 'duration': 6}]}]",411.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 18}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 23}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 98}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 29}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 61}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 99}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 70}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 74}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 45}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 60}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 15}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 63}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 93}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 54}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 3}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 5}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 65}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 59}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 68}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 49}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 38}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 7}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 9}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 92}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 79}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 81}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 58}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 36}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 60}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 38}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 78}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 31}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 4}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 57}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 90}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 77}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 30}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 24}, {'job_id': 'J8', 'task_id': 4, 'machine_id': 'E', 'duration': 6}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 237, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 373, 'machine': 'B', 'duration': 18}, {'task': 2, 'start': 30, 'machine': 'C', 'duration': 23}, {'task': 3, 'start': 275, 'machine': 'D', 'duration': 98}, {'task': 4, 'start': 177, 'machine': 'E', 'duration': 29}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 243, 'machine': 'A', 'duration': 61}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 99}, {'task': 2, 'start': 173, 'machine': 'C', 'duration': 70}, {'task': 3, 'start': 99, 'machine': 'D', 'duration': 74}, {'task': 4, 'start': 366, 'machine': 'E', 'duration': 45}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 60}, {'task': 1, 'start': 396, 'machine': 'B', 'duration': 15}, {'task': 2, 'start': 316, 'machine': 'C', 'duration': 63}, {'task': 3, 'start': 182, 'machine': 'D', 'duration': 93}, {'task': 4, 'start': 63, 'machine': 'E', 'duration': 54}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 238, 'machine': 'A', 'duration': 3}, {'task': 1, 'start': 391, 'machine': 'B', 'duration': 5}, {'task': 2, 'start': 91, 'machine': 'C', 'duration': 65}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 59}, {'task': 4, 'start': 298, 'machine': 'E', 'duration': 68}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 60, 'machine': 'A', 'duration': 49}, {'task': 1, 'start': 335, 'machine': 'B', 'duration': 38}, {'task': 2, 'start': 53, 'machine': 'C', 'duration': 7}, {'task': 3, 'start': 173, 'machine': 'D', 'duration': 9}, {'task': 4, 'start': 206, 'machine': 'E', 'duration': 92}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 316, 'machine': 'A', 'duration': 79}, {'task': 1, 'start': 177, 'machine': 'B', 'duration': 81}, {'task': 2, 'start': 258, 'machine': 'C', 'duration': 58}, {'task': 3, 'start': 59, 'machine': 'D', 'duration': 36}, {'task': 4, 'start': 117, 'machine': 'E', 'duration': 60}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 199, 'machine': 'A', 'duration': 38}, {'task': 1, 'start': 99, 'machine': 'B', 'duration': 78}, {'task': 2, 'start': 60, 'machine': 'C', 'duration': 31}, {'task': 3, 'start': 95, 'machine': 'D', 'duration': 4}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 57}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 109, 'machine': 'A', 'duration': 90}, {'task': 1, 'start': 258, 'machine': 'B', 'duration': 77}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 30}, {'task': 3, 'start': 373, 'machine': 'D', 'duration': 24}, {'task': 4, 'start': 57, 'machine': 'E', 'duration': 6}]}]",44,nl,names
OSP,OSP,"We’ve got a backlog of returns and repairs and a handful of desks that each do specific tasks; the trick is to schedule when each book visits which desk. Every book has to go to each of its assigned desks exactly once, nothing gets omitted or duplicated, each desk can only work on one book at a time, and a book can’t be at two desks simultaneously. What makes one way of doing it better than another is simply the clock time when the very last book finishes all its work — compare plans by that finishing time and aim for the earliest one. The exact instance details are shown below.

{
  ""nr_books"": 8,
  ""nr_desks"": 3,
  ""book_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""desk_ids"": [
    ""A"",
    ""B"",
    ""C""
  ],
  ""tasks"": [
    {
      ""book_id"": ""J1"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 1
    },
    {
      ""book_id"": ""J1"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 31
    },
    {
      ""book_id"": ""J1"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 98
    },
    {
      ""book_id"": ""J2"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 44
    },
    {
      ""book_id"": ""J2"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 81
    },
    {
      ""book_id"": ""J2"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 83
    },
    {
      ""book_id"": ""J3"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 5
    },
    {
      ""book_id"": ""J3"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 38
    },
    {
      ""book_id"": ""J3"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 42
    },
    {
      ""book_id"": ""J4"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 38
    },
    {
      ""book_id"": ""J4"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 98
    },
    {
      ""book_id"": ""J4"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 67
    },
    {
      ""book_id"": ""J5"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 46
    },
    {
      ""book_id"": ""J5"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 97
    },
    {
      ""book_id"": ""J5"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 60
    },
    {
      ""book_id"": ""J6"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 55
    },
    {
      ""book_id"": ""J6"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 72
    },
    {
      ""book_id"": ""J6"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 66
    },
    {
      ""book_id"": ""J7"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 97
    },
    {
      ""book_id"": ""J7"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 75
    },
    {
      ""book_id"": ""J7"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 90
    },
    {
      ""book_id"": ""J8"",
      ""service_index"": 0,
      ""desk_id"": ""A"",
      ""processing_time"": 7
    },
    {
      ""book_id"": ""J8"",
      ""service_index"": 1,
      ""desk_id"": ""B"",
      ""processing_time"": 65
    },
    {
      ""book_id"": ""J8"",
      ""service_index"": 2,
      ""desk_id"": ""C"",
      ""processing_time"": 2
    }
  ]
}

Also, when you send the final plan back, just use a simple JSON shape so it's easy to read and (if needed) parse — something like this will do.

{
  ""solution"": [
    {
      ""job"": <book_id>,
      ""tasks"": [
        {
          ""task"": <visit_index>,
          ""start"": <start_time>,
          ""machine"": <desk_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it as a little form: the solution is a list of books, each book has a list of visits (tasks). For each visit you say which visit number it is, when it starts, which desk it goes to, and how long that visit takes. This is just the sketch of the expected shape — not the actual schedule.

Please make sure you 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 31], [2, 98]], [[0, 44], [1, 81], [2, 83]], [[0, 5], [1, 38], [2, 42]], [[0, 38], [1, 98], [2, 67]], [[0, 46], [1, 97], [2, 60]], [[0, 55], [1, 72], [2, 66]], [[0, 97], [1, 75], [2, 90]], [[0, 7], [1, 65], [2, 2]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 254, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 488, 'machine': 1, 'duration': 31}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 98}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 152, 'machine': 0, 'duration': 44}, {'task': 1, 'start': 342, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 255, 'machine': 2, 'duration': 83}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 249, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 519, 'machine': 1, 'duration': 38}, {'task': 2, 'start': 464, 'machine': 2, 'duration': 42}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 255, 'machine': 0, 'duration': 38}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 98}, {'task': 2, 'start': 188, 'machine': 2, 'duration': 67}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 196, 'machine': 0, 'duration': 46}, {'task': 1, 'start': 98, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 338, 'machine': 2, 'duration': 60}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 97, 'machine': 0, 'duration': 55}, {'task': 1, 'start': 270, 'machine': 1, 'duration': 72}, {'task': 2, 'start': 398, 'machine': 2, 'duration': 66}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 97}, {'task': 1, 'start': 195, 'machine': 1, 'duration': 75}, {'task': 2, 'start': 98, 'machine': 2, 'duration': 90}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 242, 'machine': 0, 'duration': 7}, {'task': 1, 'start': 423, 'machine': 1, 'duration': 65}, {'task': 2, 'start': 506, 'machine': 2, 'duration': 2}]}]",557.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 31}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 98}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 44}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 81}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 83}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 5}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 38}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 42}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 38}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 98}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 67}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 46}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 97}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 60}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 55}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 72}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 66}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 97}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 75}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 90}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 7}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 65}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 2}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 254, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 488, 'machine': 'B', 'duration': 31}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 98}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 152, 'machine': 'A', 'duration': 44}, {'task': 1, 'start': 342, 'machine': 'B', 'duration': 81}, {'task': 2, 'start': 255, 'machine': 'C', 'duration': 83}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 249, 'machine': 'A', 'duration': 5}, {'task': 1, 'start': 519, 'machine': 'B', 'duration': 38}, {'task': 2, 'start': 464, 'machine': 'C', 'duration': 42}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 255, 'machine': 'A', 'duration': 38}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 98}, {'task': 2, 'start': 188, 'machine': 'C', 'duration': 67}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 196, 'machine': 'A', 'duration': 46}, {'task': 1, 'start': 98, 'machine': 'B', 'duration': 97}, {'task': 2, 'start': 338, 'machine': 'C', 'duration': 60}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 97, 'machine': 'A', 'duration': 55}, {'task': 1, 'start': 270, 'machine': 'B', 'duration': 72}, {'task': 2, 'start': 398, 'machine': 'C', 'duration': 66}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 97}, {'task': 1, 'start': 195, 'machine': 'B', 'duration': 75}, {'task': 2, 'start': 98, 'machine': 'C', 'duration': 90}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 242, 'machine': 'A', 'duration': 7}, {'task': 1, 'start': 423, 'machine': 'B', 'duration': 65}, {'task': 2, 'start': 506, 'machine': 'C', 'duration': 2}]}]",45,json,names
OSP,OSP,"Out at the school, the facilities coordinator is trying to schedule crews so every classroom gets its full checklist of services — each service happens once at its designated spot, and rooms can be serviced in any order. The trick is arranging who goes where and when so service points aren’t used by two jobs at the same time and a classroom never has overlapping work. A better arrangement is the one where the last completed service across the school happens sooner rather than later — the finish time of that last task is what’s being minimized. The concrete instance details are shown below.

The facilities coordinator has 8 classrooms and 5 service points; classrooms are J1, J2, J3, J4, J5, J6, J7, J8 and service points are A, B, C, D, E.

| classroom_id | service_index | service_point_id | service_duration |
|---|---|---|---|
| J1 | 0 | A | 1 |
| J1 | 1 | B | 44 |
| J1 | 2 | C | 74 |
| J1 | 3 | D | 90 |
| J1 | 4 | E | 35 |
| J2 | 0 | A | 5 |
| J2 | 1 | B | 10 |
| J2 | 2 | C | 7 |
| J2 | 3 | D | 10 |
| J2 | 4 | E | 32 |
| J3 | 0 | A | 37 |
| J3 | 1 | B | 19 |
| J3 | 2 | C | 30 |
| J3 | 3 | D | 1 |
| J3 | 4 | E | 65 |
| J4 | 0 | A | 9 |
| J4 | 1 | B | 39 |
| J4 | 2 | C | 67 |
| J4 | 3 | D | 36 |
| J4 | 4 | E | 81 |
| J5 | 0 | A | 32 |
| J5 | 1 | B | 75 |
| J5 | 2 | C | 24 |
| J5 | 3 | D | 94 |
| J5 | 4 | E | 62 |
| J6 | 0 | A | 84 |
| J6 | 1 | B | 1 |
| J6 | 2 | C | 89 |
| J6 | 3 | D | 20 |
| J6 | 4 | E | 1 |
| J7 | 0 | A | 20 |
| J7 | 1 | B | 31 |
| J7 | 2 | C | 83 |
| J7 | 3 | D | 13 |
| J7 | 4 | E | 4 |
| J8 | 0 | A | 56 |
| J8 | 1 | B | 4 |
| J8 | 2 | C | 80 |
| J8 | 3 | D | 22 |
| J8 | 4 | E | 78 |

These lines enumerate each required service visit so crews can be arranged without overlap and the final completion time can be minimized.

Also, to keep things consistent, please send the schedule in this simple JSON shape — nothing fancy, just following the same little layout below.

{
  ""solution"": [
    {
      ""job"": <room_id>,
      ""tasks"": [
        {
          ""task"": <service_task>,
          ""start"": <start_time>,
          ""machine"": <crew_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a sketch of the shape I need. In story terms: each top-level ""job"" is a classroom (so use the classroom identifier from the instance), the ""tasks"" array lists the checklist items to be done in that room, ""task"" is the task index/label, ""start"" is when that particular service begins, ""machine"" is the crew or service team doing it, and ""duration"" is how long that task takes. Keep it casual — think of it like filling out a short form for each room.

Also, a quick reminder: use the exact identifiers given in 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_machines': 5, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 44], [2, 74], [3, 90], [4, 35]], [[0, 5], [1, 10], [2, 7], [3, 10], [4, 32]], [[0, 37], [1, 19], [2, 30], [3, 1], [4, 65]], [[0, 9], [1, 39], [2, 67], [3, 36], [4, 81]], [[0, 32], [1, 75], [2, 24], [3, 94], [4, 62]], [[0, 84], [1, 1], [2, 89], [3, 20], [4, 1]], [[0, 20], [1, 31], [2, 83], [3, 13], [4, 4]], [[0, 56], [1, 4], [2, 80], [3, 22], [4, 78]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 259, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 44}, {'task': 2, 'start': 319, 'machine': 2, 'duration': 74}, {'task': 3, 'start': 94, 'machine': 3, 'duration': 90}, {'task': 4, 'start': 224, 'machine': 4, 'duration': 35}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 197, 'machine': 0, 'duration': 5}, {'task': 1, 'start': 75, 'machine': 1, 'duration': 10}, {'task': 2, 'start': 447, 'machine': 2, 'duration': 7}, {'task': 3, 'start': 253, 'machine': 3, 'duration': 10}, {'task': 4, 'start': 321, 'machine': 4, 'duration': 32}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 56, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 224, 'machine': 1, 'duration': 19}, {'task': 2, 'start': 393, 'machine': 2, 'duration': 30}, {'task': 3, 'start': 285, 'machine': 3, 'duration': 1}, {'task': 4, 'start': 159, 'machine': 4, 'duration': 65}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 234, 'machine': 0, 'duration': 9}, {'task': 1, 'start': 85, 'machine': 1, 'duration': 39}, {'task': 2, 'start': 252, 'machine': 2, 'duration': 67}, {'task': 3, 'start': 184, 'machine': 3, 'duration': 36}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 81}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 202, 'machine': 0, 'duration': 32}, {'task': 1, 'start': 124, 'machine': 1, 'duration': 75}, {'task': 2, 'start': 423, 'machine': 2, 'duration': 24}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 94}, {'task': 4, 'start': 259, 'machine': 4, 'duration': 62}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 93, 'machine': 0, 'duration': 84}, {'task': 1, 'start': 199, 'machine': 1, 'duration': 1}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 89}, {'task': 3, 'start': 220, 'machine': 3, 'duration': 20}, {'task': 4, 'start': 357, 'machine': 4, 'duration': 1}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 177, 'machine': 0, 'duration': 20}, {'task': 1, 'start': 44, 'machine': 1, 'duration': 31}, {'task': 2, 'start': 89, 'machine': 2, 'duration': 83}, {'task': 3, 'start': 240, 'machine': 3, 'duration': 13}, {'task': 4, 'start': 353, 'machine': 4, 'duration': 4}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 56}, {'task': 1, 'start': 252, 'machine': 1, 'duration': 4}, {'task': 2, 'start': 172, 'machine': 2, 'duration': 80}, {'task': 3, 'start': 263, 'machine': 3, 'duration': 22}, {'task': 4, 'start': 81, 'machine': 4, 'duration': 78}]}]",454.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': ['A', 'B', 'C', 'D', 'E'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 44}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 74}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 90}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 'E', 'duration': 35}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 5}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 10}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 7}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 10}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 'E', 'duration': 32}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 37}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 19}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 30}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 1}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 'E', 'duration': 65}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 9}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 39}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 67}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 36}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 'E', 'duration': 81}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 32}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 75}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 24}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 94}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 'E', 'duration': 62}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 84}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 1}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 20}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 'E', 'duration': 1}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 20}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 31}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 83}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 13}, {'job_id': 'J7', 'task_id': 4, 'machine_id': 'E', 'duration': 4}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 'A', 'duration': 56}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 'B', 'duration': 4}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 'C', 'duration': 80}, {'job_id': 'J8', 'task_id': 3, 'machine_id': 'D', 'duration': 22}, {'job_id': 'J8', 'task_id': 4, 'machine_id': 'E', 'duration': 78}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 259, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 44}, {'task': 2, 'start': 319, 'machine': 'C', 'duration': 74}, {'task': 3, 'start': 94, 'machine': 'D', 'duration': 90}, {'task': 4, 'start': 224, 'machine': 'E', 'duration': 35}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 197, 'machine': 'A', 'duration': 5}, {'task': 1, 'start': 75, 'machine': 'B', 'duration': 10}, {'task': 2, 'start': 447, 'machine': 'C', 'duration': 7}, {'task': 3, 'start': 253, 'machine': 'D', 'duration': 10}, {'task': 4, 'start': 321, 'machine': 'E', 'duration': 32}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 56, 'machine': 'A', 'duration': 37}, {'task': 1, 'start': 224, 'machine': 'B', 'duration': 19}, {'task': 2, 'start': 393, 'machine': 'C', 'duration': 30}, {'task': 3, 'start': 285, 'machine': 'D', 'duration': 1}, {'task': 4, 'start': 159, 'machine': 'E', 'duration': 65}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 234, 'machine': 'A', 'duration': 9}, {'task': 1, 'start': 85, 'machine': 'B', 'duration': 39}, {'task': 2, 'start': 252, 'machine': 'C', 'duration': 67}, {'task': 3, 'start': 184, 'machine': 'D', 'duration': 36}, {'task': 4, 'start': 0, 'machine': 'E', 'duration': 81}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 202, 'machine': 'A', 'duration': 32}, {'task': 1, 'start': 124, 'machine': 'B', 'duration': 75}, {'task': 2, 'start': 423, 'machine': 'C', 'duration': 24}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 94}, {'task': 4, 'start': 259, 'machine': 'E', 'duration': 62}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 93, 'machine': 'A', 'duration': 84}, {'task': 1, 'start': 199, 'machine': 'B', 'duration': 1}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 89}, {'task': 3, 'start': 220, 'machine': 'D', 'duration': 20}, {'task': 4, 'start': 357, 'machine': 'E', 'duration': 1}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 177, 'machine': 'A', 'duration': 20}, {'task': 1, 'start': 44, 'machine': 'B', 'duration': 31}, {'task': 2, 'start': 89, 'machine': 'C', 'duration': 83}, {'task': 3, 'start': 240, 'machine': 'D', 'duration': 13}, {'task': 4, 'start': 353, 'machine': 'E', 'duration': 4}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 56}, {'task': 1, 'start': 252, 'machine': 'B', 'duration': 4}, {'task': 2, 'start': 172, 'machine': 'C', 'duration': 80}, {'task': 3, 'start': 263, 'machine': 'D', 'duration': 22}, {'task': 4, 'start': 81, 'machine': 'E', 'duration': 78}]}]",46,markdown_table,names
OSP,OSP,"Someone needs to schedule the room-turnover work so every patient space gets every required service exactly once, and the order of those services can vary from room to room. The job is to decide the sequence and start times for each room’s services, with the rule that each service point works on only one room at a time and a room can’t be handled by two points simultaneously. A good schedule is the one that makes the last room finish as early as possible — measured by the clock time when that final service wraps up. The concrete details follow below.

{
  ""nr_rooms"": 6,
  ""nr_service_points"": 5,
  ""room_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6""
  ],
  ""service_point_ids"": [
    0,
    1,
    2,
    3,
    4
  ],
  ""tasks"": [
    {
      ""room_id"": ""J1"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 1
    },
    {
      ""room_id"": ""J1"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 57
    },
    {
      ""room_id"": ""J1"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 49
    },
    {
      ""room_id"": ""J1"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 36
    },
    {
      ""room_id"": ""J1"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 88
    },
    {
      ""room_id"": ""J2"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 27
    },
    {
      ""room_id"": ""J2"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 14
    },
    {
      ""room_id"": ""J2"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 74
    },
    {
      ""room_id"": ""J2"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 78
    },
    {
      ""room_id"": ""J2"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 26
    },
    {
      ""room_id"": ""J3"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 75
    },
    {
      ""room_id"": ""J3"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 71
    },
    {
      ""room_id"": ""J3"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 13
    },
    {
      ""room_id"": ""J3"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 5
    },
    {
      ""room_id"": ""J3"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 70
    },
    {
      ""room_id"": ""J4"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 61
    },
    {
      ""room_id"": ""J4"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 7
    },
    {
      ""room_id"": ""J4"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 68
    },
    {
      ""room_id"": ""J4"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 74
    },
    {
      ""room_id"": ""J4"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 88
    },
    {
      ""room_id"": ""J5"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 74
    },
    {
      ""room_id"": ""J5"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 44
    },
    {
      ""room_id"": ""J5"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 83
    },
    {
      ""room_id"": ""J5"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 87
    },
    {
      ""room_id"": ""J5"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 46
    },
    {
      ""room_id"": ""J6"",
      ""service_task_id"": 0,
      ""service_point_id"": 0,
      ""service_duration"": 37
    },
    {
      ""room_id"": ""J6"",
      ""service_task_id"": 1,
      ""service_point_id"": 1,
      ""service_duration"": 10
    },
    {
      ""room_id"": ""J6"",
      ""service_task_id"": 2,
      ""service_point_id"": 2,
      ""service_duration"": 54
    },
    {
      ""room_id"": ""J6"",
      ""service_task_id"": 3,
      ""service_point_id"": 3,
      ""service_duration"": 61
    },
    {
      ""room_id"": ""J6"",
      ""service_task_id"": 4,
      ""service_point_id"": 4,
      ""service_duration"": 70
    }
  ]
}

If you want to give the schedule back to me, just follow this little JSON shape — nothing fancy, just a predictable form I can read easily:

{
  ""solution"": [
    {
      ""job"": <room_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <service_point_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of it like a simple form: ""solution"" is a list of rooms, each ""job"" entry names the room (room_id), and ""tasks"" is the list of services that room needs. Each task shows which numbered step it is, when that step starts, which service point does it, and how long it takes. This is just a sketch of 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”.""","{'nr_machines': 5, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 57], [2, 49], [3, 36], [4, 88]], [[0, 27], [1, 14], [2, 74], [3, 78], [4, 26]], [[0, 75], [1, 71], [2, 13], [3, 5], [4, 70]], [[0, 61], [1, 7], [2, 68], [3, 74], [4, 88]], [[0, 74], [1, 44], [2, 83], [3, 87], [4, 46]], [[0, 37], [1, 10], [2, 54], [3, 61], [4, 70]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 235, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 88, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 304, 'machine': 2, 'duration': 49}, {'task': 3, 'start': 244, 'machine': 3, 'duration': 36}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 88}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 208, 'machine': 0, 'duration': 27}, {'task': 1, 'start': 74, 'machine': 1, 'duration': 14}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 74}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 78}, {'task': 4, 'start': 274, 'machine': 4, 'duration': 26}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 304, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 204, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 291, 'machine': 2, 'duration': 13}, {'task': 3, 'start': 87, 'machine': 3, 'duration': 5}, {'task': 4, 'start': 134, 'machine': 4, 'duration': 70}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 7, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 7}, {'task': 2, 'start': 74, 'machine': 2, 'duration': 68}, {'task': 3, 'start': 170, 'machine': 3, 'duration': 74}, {'task': 4, 'start': 300, 'machine': 4, 'duration': 88}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 134, 'machine': 0, 'duration': 74}, {'task': 1, 'start': 291, 'machine': 1, 'duration': 44}, {'task': 2, 'start': 208, 'machine': 2, 'duration': 83}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 87}, {'task': 4, 'start': 88, 'machine': 4, 'duration': 46}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 68, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 7, 'machine': 1, 'duration': 10}, {'task': 2, 'start': 142, 'machine': 2, 'duration': 54}, {'task': 3, 'start': 280, 'machine': 3, 'duration': 61}, {'task': 4, 'start': 204, 'machine': 4, 'duration': 70}]}]",388.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 5, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3, 4], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 57}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 49}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 36}, {'job_id': 'J1', 'task_id': 4, 'machine_id': 4, 'duration': 88}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 27}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 14}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 74}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 78}, {'job_id': 'J2', 'task_id': 4, 'machine_id': 4, 'duration': 26}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 75}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 71}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 13}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 5}, {'job_id': 'J3', 'task_id': 4, 'machine_id': 4, 'duration': 70}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 61}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 7}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 68}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 74}, {'job_id': 'J4', 'task_id': 4, 'machine_id': 4, 'duration': 88}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 74}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 44}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 83}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 87}, {'job_id': 'J5', 'task_id': 4, 'machine_id': 4, 'duration': 46}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 37}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 10}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 54}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 61}, {'job_id': 'J6', 'task_id': 4, 'machine_id': 4, 'duration': 70}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 235, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 88, 'machine': 1, 'duration': 57}, {'task': 2, 'start': 304, 'machine': 2, 'duration': 49}, {'task': 3, 'start': 244, 'machine': 3, 'duration': 36}, {'task': 4, 'start': 0, 'machine': 4, 'duration': 88}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 208, 'machine': 0, 'duration': 27}, {'task': 1, 'start': 74, 'machine': 1, 'duration': 14}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 74}, {'task': 3, 'start': 92, 'machine': 3, 'duration': 78}, {'task': 4, 'start': 274, 'machine': 4, 'duration': 26}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 304, 'machine': 0, 'duration': 75}, {'task': 1, 'start': 204, 'machine': 1, 'duration': 71}, {'task': 2, 'start': 291, 'machine': 2, 'duration': 13}, {'task': 3, 'start': 87, 'machine': 3, 'duration': 5}, {'task': 4, 'start': 134, 'machine': 4, 'duration': 70}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 7, 'machine': 0, 'duration': 61}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 7}, {'task': 2, 'start': 74, 'machine': 2, 'duration': 68}, {'task': 3, 'start': 170, 'machine': 3, 'duration': 74}, {'task': 4, 'start': 300, 'machine': 4, 'duration': 88}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 134, 'machine': 0, 'duration': 74}, {'task': 1, 'start': 291, 'machine': 1, 'duration': 44}, {'task': 2, 'start': 208, 'machine': 2, 'duration': 83}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 87}, {'task': 4, 'start': 88, 'machine': 4, 'duration': 46}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 68, 'machine': 0, 'duration': 37}, {'task': 1, 'start': 7, 'machine': 1, 'duration': 10}, {'task': 2, 'start': 142, 'machine': 2, 'duration': 54}, {'task': 3, 'start': 280, 'machine': 3, 'duration': 61}, {'task': 4, 'start': 204, 'machine': 4, 'duration': 70}]}]",47,json,0
OSP,OSP,"At the garden office they’re figuring out a schedule: each section of the grounds needs a specific list of services, one visit at each designated station, but the sequence can vary by section. The scheduler’s job is to pick when and in what order each section goes to its stations, making sure no station serves two sections at the same time and no section is undergoing two services simultaneously. The goal is to get everything done sooner rather than later — the success is measured by the timestamp when the last service finishes anywhere on the property. The detailed breakdown is below.

{
  ""total_sections"": 8,
  ""total_stations"": 3,
  ""section_ids"": [
    ""J1"",
    ""J2"",
    ""J3"",
    ""J4"",
    ""J5"",
    ""J6"",
    ""J7"",
    ""J8""
  ],
  ""station_ids"": [
    0,
    1,
    2
  ],
  ""tasks"": [
    {
      ""section_id"": ""J1"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 1
    },
    {
      ""section_id"": ""J1"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 70
    },
    {
      ""section_id"": ""J1"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 25
    },
    {
      ""section_id"": ""J2"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 82
    },
    {
      ""section_id"": ""J2"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 42
    },
    {
      ""section_id"": ""J2"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 49
    },
    {
      ""section_id"": ""J3"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 19
    },
    {
      ""section_id"": ""J3"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 42
    },
    {
      ""section_id"": ""J3"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 46
    },
    {
      ""section_id"": ""J4"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 19
    },
    {
      ""section_id"": ""J4"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 14
    },
    {
      ""section_id"": ""J4"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 23
    },
    {
      ""section_id"": ""J5"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 95
    },
    {
      ""section_id"": ""J5"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 8
    },
    {
      ""section_id"": ""J5"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 76
    },
    {
      ""section_id"": ""J6"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 15
    },
    {
      ""section_id"": ""J6"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 73
    },
    {
      ""section_id"": ""J6"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 68
    },
    {
      ""section_id"": ""J7"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 13
    },
    {
      ""section_id"": ""J7"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 94
    },
    {
      ""section_id"": ""J7"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 16
    },
    {
      ""section_id"": ""J8"",
      ""service_index"": 0,
      ""station_id"": 0,
      ""service_duration"": 13
    },
    {
      ""section_id"": ""J8"",
      ""service_index"": 1,
      ""station_id"": 1,
      ""service_duration"": 42
    },
    {
      ""section_id"": ""J8"",
      ""service_index"": 2,
      ""station_id"": 2,
      ""service_duration"": 81
    }
  ]
}

Also, when you send the schedule back, a simple JSON sketch like this is great — the shape below is what I expect:

{
  ""solution"": [
    {
      ""job"": <job_id>,
      ""tasks"": [
        {
          ""task"": <task_index>,
          ""start"": <start_time>,
          ""machine"": <machine_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This is just a quick guide to the fields: each top-level ""job"" is one section of the grounds, ""tasks"" is the list of station visits for that section, and each task entry tells you which service it is (task), when it starts (start), which station handles it (machine), and how long it takes (duration). Think of it like filling out a little appointment sheet for each section.

This JSON block is only a sketch of the expected shape — not the actual schedule. Please make sure you use the exact identifiers given in the instance input (don't 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_machines': 3, 'nr_jobs': 8, 'jobs': [[[0, 1], [1, 70], [2, 25]], [[0, 82], [1, 42], [2, 49]], [[0, 19], [1, 42], [2, 46]], [[0, 19], [1, 14], [2, 23]], [[0, 95], [1, 8], [2, 76]], [[0, 15], [1, 73], [2, 68]], [[0, 13], [1, 94], [2, 16]], [[0, 13], [1, 42], [2, 81]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 256, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 274, 'machine': 2, 'duration': 25}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 321, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 225, 'machine': 2, 'duration': 49}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 196, 'machine': 0, 'duration': 19}, {'task': 1, 'start': 237, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 299, 'machine': 2, 'duration': 46}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 177, 'machine': 0, 'duration': 19}, {'task': 1, 'start': 371, 'machine': 1, 'duration': 14}, {'task': 2, 'start': 345, 'machine': 2, 'duration': 23}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 363, 'machine': 1, 'duration': 8}, {'task': 2, 'start': 149, 'machine': 2, 'duration': 76}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 241, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 164, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 81, 'machine': 2, 'duration': 68}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 13}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 368, 'machine': 2, 'duration': 16}]}, {'job': 7, 'tasks': [{'task': 0, 'start': 215, 'machine': 0, 'duration': 13}, {'task': 1, 'start': 279, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 81}]}]",385.0,"{'problem_type': 'OSP', 'nr_jobs': 8, 'nr_machines': 3, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7', 'J8'], 'machines': [0, 1, 2], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 70}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 25}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 82}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 42}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 49}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 19}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 42}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 46}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 19}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 14}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 23}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 95}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 8}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 76}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 15}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 73}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 68}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 0, 'duration': 13}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 1, 'duration': 94}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 2, 'duration': 16}, {'job_id': 'J8', 'task_id': 0, 'machine_id': 0, 'duration': 13}, {'job_id': 'J8', 'task_id': 1, 'machine_id': 1, 'duration': 42}, {'job_id': 'J8', 'task_id': 2, 'machine_id': 2, 'duration': 81}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 256, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 94, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 274, 'machine': 2, 'duration': 25}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 95, 'machine': 0, 'duration': 82}, {'task': 1, 'start': 321, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 225, 'machine': 2, 'duration': 49}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 196, 'machine': 0, 'duration': 19}, {'task': 1, 'start': 237, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 299, 'machine': 2, 'duration': 46}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 177, 'machine': 0, 'duration': 19}, {'task': 1, 'start': 371, 'machine': 1, 'duration': 14}, {'task': 2, 'start': 345, 'machine': 2, 'duration': 23}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 95}, {'task': 1, 'start': 363, 'machine': 1, 'duration': 8}, {'task': 2, 'start': 149, 'machine': 2, 'duration': 76}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 241, 'machine': 0, 'duration': 15}, {'task': 1, 'start': 164, 'machine': 1, 'duration': 73}, {'task': 2, 'start': 81, 'machine': 2, 'duration': 68}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 228, 'machine': 0, 'duration': 13}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 94}, {'task': 2, 'start': 368, 'machine': 2, 'duration': 16}]}, {'job': 'J8', 'tasks': [{'task': 0, 'start': 215, 'machine': 0, 'duration': 13}, {'task': 1, 'start': 279, 'machine': 1, 'duration': 42}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 81}]}]",48,json,0
OSP,OSP,"There’s a cook juggling several plates and a handful of appliances, and the challenge was to schedule each component so service doesn’t drag on. Each plate needs certain appliances once each — maybe the grill, then the microwave, maybe the blender — but the order can be chosen freely per plate; the planner must pick both the ordering and the start moments. The way to tell which plan is better is simple: find when each plate is done, and the plan with the earliest of the latest finish time wins. No appliance can run two tasks at once, no plate can be in two places at once, and nothing on the ingredient list can be skipped or repeated. The concrete details will be shown below.

# number_of_plates=6
# number_of_appliances=4
# plate_ids=J1, J2, J3, J4, J5, J6
# appliance_ids=0, 1, 2, 3
plate_id,operation_index,required_appliance,operation_duration
J1,0,0,1
J1,1,1,84
J1,2,2,1
J1,3,3,28
J2,0,0,94
J2,1,1,70
J2,2,2,24
J2,3,3,10
J3,0,0,14
J3,1,1,13
J3,2,2,52
J3,3,3,74
J4,0,0,78
J4,1,1,12
J4,2,2,81
J4,3,3,67
J5,0,0,40
J5,1,1,69
J5,2,2,51
J5,3,3,2
J6,0,0,57
J6,1,1,81
J6,2,2,1
J6,3,3,74

I'll sketch the shape of the reply as a JSON object so it's clear what to fill in — think of each ""job"" as a plate and each ""machine"" as an appliance.

{
  ""solution"": [
    {
      ""job"": <plate_id>,
      ""tasks"": [
        {
          ""task"": <step_index>,
          ""start"": <start_time>,
          ""machine"": <appliance_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

This little example means: each top-level entry in ""solution"" is one plate (job). Inside that, ""tasks"" is the list of steps that plate needs; for each step you give its index, when it starts, which appliance it uses, and how long it runs. It's just a sketch of the shape I want, not the actual schedule.

Please use the exact identifiers from the instance input — don't rename or invent labels. 
- Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'nr_machines': 4, 'nr_jobs': 6, 'jobs': [[[0, 1], [1, 84], [2, 1], [3, 28]], [[0, 94], [1, 70], [2, 24], [3, 10]], [[0, 14], [1, 13], [2, 52], [3, 74]], [[0, 78], [1, 12], [2, 81], [3, 67]], [[0, 40], [1, 69], [2, 51], [3, 2]], [[0, 57], [1, 81], [2, 1], [3, 74]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 186, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 208, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 148, 'machine': 3, 'duration': 28}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 234, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 133, 'machine': 2, 'duration': 24}, {'task': 3, 'start': 304, 'machine': 3, 'duration': 10}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 172, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 304, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 81, 'machine': 2, 'duration': 52}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 74}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 78}, {'task': 1, 'start': 317, 'machine': 1, 'duration': 12}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 81}, {'task': 3, 'start': 176, 'machine': 3, 'duration': 67}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 208, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 157, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 248, 'machine': 3, 'duration': 2}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 248, 'machine': 0, 'duration': 57}, {'task': 1, 'start': 153, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 234, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 74, 'machine': 3, 'duration': 74}]}]",329.0,"{'problem_type': 'OSP', 'nr_jobs': 6, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6'], 'machines': [0, 1, 2, 3], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 0, 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 1, 'duration': 84}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 2, 'duration': 1}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 3, 'duration': 28}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 0, 'duration': 94}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 1, 'duration': 70}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 2, 'duration': 24}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 3, 'duration': 10}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 0, 'duration': 14}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 1, 'duration': 13}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 2, 'duration': 52}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 3, 'duration': 74}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 0, 'duration': 78}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 1, 'duration': 12}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 2, 'duration': 81}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 3, 'duration': 67}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 0, 'duration': 40}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 1, 'duration': 69}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 2, 'duration': 51}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 3, 'duration': 2}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 0, 'duration': 57}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 1, 'duration': 81}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 2, 'duration': 1}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 3, 'duration': 74}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 186, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 84}, {'task': 2, 'start': 208, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 148, 'machine': 3, 'duration': 28}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 94}, {'task': 1, 'start': 234, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 133, 'machine': 2, 'duration': 24}, {'task': 3, 'start': 304, 'machine': 3, 'duration': 10}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 172, 'machine': 0, 'duration': 14}, {'task': 1, 'start': 304, 'machine': 1, 'duration': 13}, {'task': 2, 'start': 81, 'machine': 2, 'duration': 52}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 74}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 94, 'machine': 0, 'duration': 78}, {'task': 1, 'start': 317, 'machine': 1, 'duration': 12}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 81}, {'task': 3, 'start': 176, 'machine': 3, 'duration': 67}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 208, 'machine': 0, 'duration': 40}, {'task': 1, 'start': 84, 'machine': 1, 'duration': 69}, {'task': 2, 'start': 157, 'machine': 2, 'duration': 51}, {'task': 3, 'start': 248, 'machine': 3, 'duration': 2}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 248, 'machine': 0, 'duration': 57}, {'task': 1, 'start': 153, 'machine': 1, 'duration': 81}, {'task': 2, 'start': 234, 'machine': 2, 'duration': 1}, {'task': 3, 'start': 74, 'machine': 3, 'duration': 74}]}]",49,csv,0
OSP,OSP,"There’s a foreman juggling a stack of tables and chairs that all need sanding, staining, and then drying, and the challenge is to lay out who goes where and when. The decision is about ordering those three operations for each piece and timing them so machines aren’t handling more than one piece at a time and no piece is split between stations. What makes one routing smarter than another is how quickly the whole batch completes—the key number is the time the last piece is finished. Nothing can be skipped or duplicated: every piece visits each station exactly once, and the concrete details are listed below.

Here are the 7 pieces (J1, J2, J3, J4, J5, J6, J7) and the 4 stations (A, B, C, D):
Piece J1, operation 0 goes to station A and occupies it for 1.
Piece J1, operation 1 goes to station B and occupies it for 97.
Piece J1, operation 2 goes to station C and occupies it for 76.
Piece J1, operation 3 goes to station D and occupies it for 73.
Piece J2, operation 0 goes to station A and occupies it for 48.
Piece J2, operation 1 goes to station B and occupies it for 92.
Piece J2, operation 2 goes to station C and occupies it for 28.
Piece J2, operation 3 goes to station D and occupies it for 77.
Piece J3, operation 0 goes to station A and occupies it for 81.
Piece J3, operation 1 goes to station B and occupies it for 6.
Piece J3, operation 2 goes to station C and occupies it for 89.
Piece J3, operation 3 goes to station D and occupies it for 27.
Piece J4, operation 0 goes to station A and occupies it for 62.
Piece J4, operation 1 goes to station B and occupies it for 15.
Piece J4, operation 2 goes to station C and occupies it for 86.
Piece J4, operation 3 goes to station D and occupies it for 21.
Piece J5, operation 0 goes to station A and occupies it for 8.
Piece J5, operation 1 goes to station B and occupies it for 70.
Piece J5, operation 2 goes to station C and occupies it for 89.
Piece J5, operation 3 goes to station D and occupies it for 9.
Piece J6, operation 0 goes to station A and occupies it for 99.
Piece J6, operation 1 goes to station B and occupies it for 50.
Piece J6, operation 2 goes to station C and occupies it for 60.
Piece J6, operation 3 goes to station D and occupies it for 67.
Piece J7, operation 0 goes to station A and occupies it for 1.
Piece J7, operation 1 goes to station B and occupies it for 95.
Piece J7, operation 2 goes to station C and occupies it for 37.
Piece J7, operation 3 goes to station D and occupies it for 51.
Keep in mind every piece must visit each station exactly once, no station handles more than one piece at a time, and the aim is to minimize the time the last piece finishes.

If you want to hand back a schedule, just drop it into this simple JSON shape so I can read it reliably:

{
  ""solution"": [
    {
      ""job"": <piece_id>,
      ""tasks"": [
        {
          ""task"": <operation_index>,
          ""start"": <start_time>,
          ""machine"": <station_id>,
          ""duration"": <duration>
        }
      ]
    }
  ]
}

Think of that as a little form: each top-level ""job"" is one piece (table or chair), ""tasks"" is the list of operations that piece will go through, each task has an index, a start time, the machine (station) it uses, and how long it takes. It’s just a sketch of the shape I expect, not the actual schedule itself.

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_machines': 4, 'nr_jobs': 7, 'jobs': [[[0, 1], [1, 97], [2, 76], [3, 73]], [[0, 48], [1, 92], [2, 28], [3, 77]], [[0, 81], [1, 6], [2, 89], [3, 27]], [[0, 62], [1, 15], [2, 86], [3, 21]], [[0, 8], [1, 70], [2, 89], [3, 9]], [[0, 99], [1, 50], [2, 60], [3, 67]], [[0, 1], [1, 95], [2, 37], [3, 51]]]}","[{'job': 0, 'tasks': [{'task': 0, 'start': 237, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 0, 'machine': 1, 'duration': 97}, {'task': 2, 'start': 264, 'machine': 2, 'duration': 76}, {'task': 3, 'start': 128, 'machine': 3, 'duration': 73}]}, {'job': 1, 'tasks': [{'task': 0, 'start': 189, 'machine': 0, 'duration': 48}, {'task': 1, 'start': 97, 'machine': 1, 'duration': 92}, {'task': 2, 'start': 437, 'machine': 2, 'duration': 28}, {'task': 3, 'start': 0, 'machine': 3, 'duration': 77}]}, {'job': 2, 'tasks': [{'task': 0, 'start': 99, 'machine': 0, 'duration': 81}, {'task': 1, 'start': 369, 'machine': 1, 'duration': 6}, {'task': 2, 'start': 0, 'machine': 2, 'duration': 89}, {'task': 3, 'start': 268, 'machine': 3, 'duration': 27}]}, {'job': 3, 'tasks': [{'task': 0, 'start': 264, 'machine': 0, 'duration': 62}, {'task': 1, 'start': 354, 'machine': 1, 'duration': 15}, {'task': 2, 'start': 178, 'machine': 2, 'duration': 86}, {'task': 3, 'start': 326, 'machine': 3, 'duration': 21}]}, {'job': 4, 'tasks': [{'task': 0, 'start': 180, 'machine': 0, 'duration': 8}, {'task': 1, 'start': 284, 'machine': 1, 'duration': 70}, {'task': 2, 'start': 89, 'machine': 2, 'duration': 89}, {'task': 3, 'start': 354, 'machine': 3, 'duration': 9}]}, {'job': 5, 'tasks': [{'task': 0, 'start': 0, 'machine': 0, 'duration': 99}, {'task': 1, 'start': 400, 'machine': 1, 'duration': 50}, {'task': 2, 'start': 340, 'machine': 2, 'duration': 60}, {'task': 3, 'start': 201, 'machine': 3, 'duration': 67}]}, {'job': 6, 'tasks': [{'task': 0, 'start': 188, 'machine': 0, 'duration': 1}, {'task': 1, 'start': 189, 'machine': 1, 'duration': 95}, {'task': 2, 'start': 400, 'machine': 2, 'duration': 37}, {'task': 3, 'start': 77, 'machine': 3, 'duration': 51}]}]",465.0,"{'problem_type': 'OSP', 'nr_jobs': 7, 'nr_machines': 4, 'jobs': ['J1', 'J2', 'J3', 'J4', 'J5', 'J6', 'J7'], 'machines': ['A', 'B', 'C', 'D'], 'records': [{'job_id': 'J1', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J1', 'task_id': 1, 'machine_id': 'B', 'duration': 97}, {'job_id': 'J1', 'task_id': 2, 'machine_id': 'C', 'duration': 76}, {'job_id': 'J1', 'task_id': 3, 'machine_id': 'D', 'duration': 73}, {'job_id': 'J2', 'task_id': 0, 'machine_id': 'A', 'duration': 48}, {'job_id': 'J2', 'task_id': 1, 'machine_id': 'B', 'duration': 92}, {'job_id': 'J2', 'task_id': 2, 'machine_id': 'C', 'duration': 28}, {'job_id': 'J2', 'task_id': 3, 'machine_id': 'D', 'duration': 77}, {'job_id': 'J3', 'task_id': 0, 'machine_id': 'A', 'duration': 81}, {'job_id': 'J3', 'task_id': 1, 'machine_id': 'B', 'duration': 6}, {'job_id': 'J3', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J3', 'task_id': 3, 'machine_id': 'D', 'duration': 27}, {'job_id': 'J4', 'task_id': 0, 'machine_id': 'A', 'duration': 62}, {'job_id': 'J4', 'task_id': 1, 'machine_id': 'B', 'duration': 15}, {'job_id': 'J4', 'task_id': 2, 'machine_id': 'C', 'duration': 86}, {'job_id': 'J4', 'task_id': 3, 'machine_id': 'D', 'duration': 21}, {'job_id': 'J5', 'task_id': 0, 'machine_id': 'A', 'duration': 8}, {'job_id': 'J5', 'task_id': 1, 'machine_id': 'B', 'duration': 70}, {'job_id': 'J5', 'task_id': 2, 'machine_id': 'C', 'duration': 89}, {'job_id': 'J5', 'task_id': 3, 'machine_id': 'D', 'duration': 9}, {'job_id': 'J6', 'task_id': 0, 'machine_id': 'A', 'duration': 99}, {'job_id': 'J6', 'task_id': 1, 'machine_id': 'B', 'duration': 50}, {'job_id': 'J6', 'task_id': 2, 'machine_id': 'C', 'duration': 60}, {'job_id': 'J6', 'task_id': 3, 'machine_id': 'D', 'duration': 67}, {'job_id': 'J7', 'task_id': 0, 'machine_id': 'A', 'duration': 1}, {'job_id': 'J7', 'task_id': 1, 'machine_id': 'B', 'duration': 95}, {'job_id': 'J7', 'task_id': 2, 'machine_id': 'C', 'duration': 37}, {'job_id': 'J7', 'task_id': 3, 'machine_id': 'D', 'duration': 51}]}","[{'job': 'J1', 'tasks': [{'task': 0, 'start': 237, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 0, 'machine': 'B', 'duration': 97}, {'task': 2, 'start': 264, 'machine': 'C', 'duration': 76}, {'task': 3, 'start': 128, 'machine': 'D', 'duration': 73}]}, {'job': 'J2', 'tasks': [{'task': 0, 'start': 189, 'machine': 'A', 'duration': 48}, {'task': 1, 'start': 97, 'machine': 'B', 'duration': 92}, {'task': 2, 'start': 437, 'machine': 'C', 'duration': 28}, {'task': 3, 'start': 0, 'machine': 'D', 'duration': 77}]}, {'job': 'J3', 'tasks': [{'task': 0, 'start': 99, 'machine': 'A', 'duration': 81}, {'task': 1, 'start': 369, 'machine': 'B', 'duration': 6}, {'task': 2, 'start': 0, 'machine': 'C', 'duration': 89}, {'task': 3, 'start': 268, 'machine': 'D', 'duration': 27}]}, {'job': 'J4', 'tasks': [{'task': 0, 'start': 264, 'machine': 'A', 'duration': 62}, {'task': 1, 'start': 354, 'machine': 'B', 'duration': 15}, {'task': 2, 'start': 178, 'machine': 'C', 'duration': 86}, {'task': 3, 'start': 326, 'machine': 'D', 'duration': 21}]}, {'job': 'J5', 'tasks': [{'task': 0, 'start': 180, 'machine': 'A', 'duration': 8}, {'task': 1, 'start': 284, 'machine': 'B', 'duration': 70}, {'task': 2, 'start': 89, 'machine': 'C', 'duration': 89}, {'task': 3, 'start': 354, 'machine': 'D', 'duration': 9}]}, {'job': 'J6', 'tasks': [{'task': 0, 'start': 0, 'machine': 'A', 'duration': 99}, {'task': 1, 'start': 400, 'machine': 'B', 'duration': 50}, {'task': 2, 'start': 340, 'machine': 'C', 'duration': 60}, {'task': 3, 'start': 201, 'machine': 'D', 'duration': 67}]}, {'job': 'J7', 'tasks': [{'task': 0, 'start': 188, 'machine': 'A', 'duration': 1}, {'task': 1, 'start': 189, 'machine': 'B', 'duration': 95}, {'task': 2, 'start': 400, 'machine': 'C', 'duration': 37}, {'task': 3, 'start': 77, 'machine': 'D', 'duration': 51}]}]",50,nl,names