Final answer:
To determine which warehouses to open and how to service demand at a minimum total cost, we can formulate a mixed-integer linear program.
Step-by-step explanation:
To formulate a mixed-integer linear program to determine which warehouses to open and how to service demand at a minimum total cost, we can define the decision variables and set up the objective function and constraints. Let's suppose xi represents whether warehouse i is opened or not, where xi = 1 if opened and xi = 0 if closed.
The objective is to minimize the total cost, which includes fixed costs and shipping costs. The total cost can be expressed as:
Total Cost = 400x1 + 500x2 + 300x3 + 150x4 +