Forum Discussion
Patrick2788
Dec 15, 2023Silver Contributor
Solving 'The Assignment Problem' with Lambda
The Setup The problem is simple. Given a 'cost matrix', assign tasks to workers to minimize total cost needed to complete the tasks. Workers may not perform more than 1 task. Assignment p...
- Dec 19, 2023
In attached file PQ Assignment2 generates the required rows only
Though, it's slower than djclements initial approach (PQ Assignment1)
Lorenzo
Dec 18, 2023Silver Contributor
- Patrick2788Dec 18, 2023Silver ContributorNo duplicates in the workers. A second entry for the same worker would make the second instance the 'B' entry, making it unique.
- LorenzoDec 19, 2023Silver Contributor
In attached file PQ Assignment2 generates the required rows only
Though, it's slower than djclements initial approach (PQ Assignment1)- Patrick2788Dec 24, 2023Silver Contributor
Though the discussion starts by asking for a formula solution, this PQ solution is very elegant, so I've rung the bell on this one. Really can't go wrong with any of the solutions offered in this thread. Very impressive work!