For model B, (30-x) pieces are distributed to store A and (x-5) pieces are distributed to store B, and the total profit is Y yuan.
According to the meaning of the question, get
y = 30x+40(30-x)+27(35-x)+36(x-5)27(35-x)+36(x-5)≥950
y=-x+ 1965x≥ 1859
Because the function y=-x+ 1965, y decreases with the increase of x, so when x takes the smallest integer value in the range of values,
Y has a maximum value, so x=2 1, and the maximum value of y =-21+1965 =1944 (yuan).
A: The clothes of Type A were distributed to two stores, 2 1 and 14 pieces respectively, and the clothes of Type B were distributed to two stores, 9 pieces and 16 pieces respectively. The maximum total profit is 1944 yuan.