Answer:
6
Explanation:
There will be 2 LP formulations as given with one using location C along with A and B and other using location D along with A and B. The LP formulation and solution which gives the minimum total cost while meeting all the constraints will be finally chosen.
In either LP formulation we need to decide on how many units of products are sent from each of the 3 locations - A, B and C or D to the 2 warehouses - 1 and 2. Thus there will be 3 locations and 2 warehouses in each of the LP formulations.
Thus the total number of decision variables will be the product of number of locations and number of warehouses = 3*2 = 6. Hence the total number of decision variables are 6.