What is the primary purpose of the assignment model in operations research?
A) To minimize transportation costs
B) To allocate resources to tasks in a way that minimizes total cost or maximizes total profit
C) To forecast demand for products
D) To analyze market competition