Final answer:
To minimize costs, one must balance the supply and demand across four quarters, taking into account production and inventory costs, with constraints such as production limits and inventory carryover.
Step-by-step explanation:
The student is tasked with formulating a balanced transportation problem to minimize production and inventory costs over four quarters, given demand levels, production capacities, and cost structures. The objective function will be to minimize the sum of production (regular and overtime costs) and inventory carrying costs. The constraints include satisfying quarterly demand, production capacity limits, and inventory balance from quarter to quarter.
For example, using the given information, if demand for the first quarter is 40 units and the company has an inventory of 10 units, they need to produce at least 30 more units to meet demand, considering production costs of $400 or $450 per unit for regular and overtime production, respectively, and carrying costs of $20 for the ending inventory. However, finding the optimal solution specifically in 'R' would involve using an appropriate package or algorithm, such as linear programming with the 'lpSolve' package.