The at-most-k constraint, given a number of tasks and users, where a given number of tasks must be completed by at most k number of users, each task is only assigned to one user, a user can have multiple tasks. the goal is to find which tasks are assigned to which users.
an example instance would be, given 4 users and 4 tasks, encode the constraint at most 2 users, task1, task2, task3.
I am coding this using the OrTools python library but any explanation would be helpful