Abstract
A control device 1 X mainly includes an operation planning means 15 X and a determination means 16 X. The operation planning means 15 X determines an operation plan of a robot regarding a work of sorting plural items into plural sorting containers. The determination means 16 X determines whether or not the sorting containers are replenished. Then, the operation planning means 15 X updates the operation plan based on the arrangement of the sorting containers after the replenishment if the sorting containers is replenished.