A company has reserved 5 candidates to occupy 4 work jobs. The work jobs consist in driving 4 different hardwares (one worker for each hardware). The company tested the 5 workers at the 4 machines, doing the same work every worker at every machine, Obtaining the following times:
| Machine1 | Machine2 | Machine3 | Machine4 | |
| Candidate1 | 10 | 6 | 6 | 5 |
| Candidate2 | 8 | 7 | 6 | 6 |
| Candidate3 | 8 | 6 | 5 | 6 |
| Candidate4 | 9 | 7 | 7 | 6 |
| Candidate5 | 8 | 7 | 6 | 5 |
Determining wich candidates must choose the company and to wich machine must be assigned.
Determining decision variables and expressing them algebraically. In this case:
Determining the restrictions and expressing them as equations or inequalities in function of the decision variables.
Expressing all implicit conditions established by the origin of variables: negativeness, integer, only a few allowed values... . In this case, the restrictions are that workpeople's assignments to hardware must be booleans (0 not assigned, 1 yes), and so, can't be negatives:
Determining objective function: