Answer and work in picture.
Answer:
Following are the solution to the given question:
Step-by-step explanation:
Let when i is the element itself is allocated to 'j'
Min
Subject to: