Auto-translated
To Major Whirlwind. This is an LP problem. Solve it using the standard simplex method or one of the integer linear programming (ILP) methods (Gomory, Branch and Bound), if these are individual items. The objective function is the revenue from the products minus the delivery costs. There is one (or possibly several) constraint on raw materials; I don't know the others (production plan) – there was no logistics department...