Reinforcement Learning for Assignment Problem with Time Constraints