A company makes square boxes (2 minutes to make, profit of K4) and triangular boxes (3 minutes to make, profit of K5). The client wants at least 25 boxes total, with at least 5 of each type. The company has one hour (60 minutes) to make the boxes. We need to find the combination of square and triangular boxes that maximizes profit.

Applied MathematicsOptimizationLinear ProgrammingConstraintsInteger Programming
2025/5/27

1. Problem Description

A company makes square boxes (2 minutes to make, profit of K4) and triangular boxes (3 minutes to make, profit of K5). The client wants at least 25 boxes total, with at least 5 of each type. The company has one hour (60 minutes) to make the boxes. We need to find the combination of square and triangular boxes that maximizes profit.

2. Solution Steps

Let xx be the number of square boxes and yy be the number of triangular boxes.
The objective function to maximize is the profit:
P=4x+5yP = 4x + 5y
The constraints are:
x+y25x + y \ge 25 (at least 25 boxes)
x5x \ge 5 (at least 5 square boxes)
y5y \ge 5 (at least 5 triangular boxes)
2x+3y602x + 3y \le 60 (60 minutes available)
xx and yy are non-negative integers.
We want to find integer values of xx and yy that satisfy all constraints and maximize PP.
First, consider the constraint 2x+3y602x + 3y \le 60.
If x=5x = 5, then 10+3y6010 + 3y \le 60, which means 3y503y \le 50, so y50316.67y \le \frac{50}{3} \approx 16.67. Since yy must be an integer and y5y \ge 5, we have 5y165 \le y \le 16.
We also have x+y25x + y \ge 25, so 5+y255 + y \ge 25, which implies y20y \ge 20. But we know y16y \le 16, so x=5x=5 is not possible.
Let's consider values of x that give integer solutions.
Case 1: x+y=25x + y = 25. Then x=25yx = 25 - y. Substitute into 2x+3y602x + 3y \le 60:
2(25y)+3y602(25 - y) + 3y \le 60
502y+3y6050 - 2y + 3y \le 60
y10y \le 10
Since y5y \ge 5, we have 5y105 \le y \le 10. Also, x5x \ge 5, so 25y525 - y \ge 5, meaning y20y \le 20.
So 5y105 \le y \le 10. We want to maximize P=4x+5y=4(25y)+5y=100+yP = 4x + 5y = 4(25-y) + 5y = 100 + y.
To maximize PP, we take the largest possible value for yy, which is
1

0. If $y = 10$, then $x = 25 - 10 = 15$.

Check the constraints: 15+10=252515 + 10 = 25 \ge 25, 15515 \ge 5, 10510 \ge 5, 2(15)+3(10)=30+30=60602(15) + 3(10) = 30 + 30 = 60 \le 60.
The profit is P=4(15)+5(10)=60+50=110P = 4(15) + 5(10) = 60 + 50 = 110.
Case 2: 2x+3y=602x + 3y = 60. Then 2x=603y2x = 60 - 3y, so x=3032yx = 30 - \frac{3}{2}y.
For xx to be an integer, yy must be even. Since y5y \ge 5, we must have y6y \ge 6.
x5x \ge 5 implies 3032y530 - \frac{3}{2}y \ge 5, so 2532y25 \ge \frac{3}{2}y, meaning y50316.67y \le \frac{50}{3} \approx 16.67.
x+y25x + y \ge 25 implies 3032y+y2530 - \frac{3}{2}y + y \ge 25, so 512y5 \ge \frac{1}{2}y, meaning y10y \le 10.
Combining these, since yy must be even, we have 6y106 \le y \le 10.
If y=6y = 6, then x=3032(6)=309=21x = 30 - \frac{3}{2}(6) = 30 - 9 = 21. x+y=2725x+y = 27 \ge 25, P=4(21)+5(6)=84+30=114P = 4(21) + 5(6) = 84 + 30 = 114.
If y=8y = 8, then x=3032(8)=3012=18x = 30 - \frac{3}{2}(8) = 30 - 12 = 18. x+y=2625x+y = 26 \ge 25, P=4(18)+5(8)=72+40=112P = 4(18) + 5(8) = 72 + 40 = 112.
If y=10y = 10, then x=3032(10)=3015=15x = 30 - \frac{3}{2}(10) = 30 - 15 = 15. x+y=2525x+y = 25 \ge 25, P=4(15)+5(10)=60+50=110P = 4(15) + 5(10) = 60 + 50 = 110.
Now we need to find other possible combinations where 2x+3y<602x+3y < 60 and x+y>25x+y > 25.
If 2x+3y=592x+3y = 59, then 2x=593y2x = 59 - 3y, so this has no integer solutions for xx since 593y59-3y must be even.
If 2x+3y=582x+3y = 58, x+y=26x+y = 26, then 2x+2y=522x+2y = 52. So y=6y = 6, x=20x = 20. Then profit 4(20)+5(6)=80+30=1104(20)+5(6) = 80+30=110.
If 2x+3y=572x+3y = 57, then xx needs to be integer so 573y57-3y must be even, which means yy must be odd.
Possible profits:
x=21, y=6, P =
1
1

4. x=20, y=7, $2(20)+3(7) = 40+21 = 61$, impossible.

x=18, y=8, P=
1
1
2.
So the maximum profit is 114, when x=21x = 21 and y=6y = 6.

3. Final Answer

The best combination is 21 square boxes and 6 triangular boxes, which yields a profit of K
1
1
4.

Related problems in "Applied Mathematics"

The problem is a cost accounting exercise for the company SETEX. We are given the indirect costs (fi...

Cost AccountingLinear EquationsPercentage CalculationsImputationFixed CostsVariable Costs
2025/7/25

Kate will receive $300 next year, $500 two years from now, and $1000 three years from now. All payme...

Financial MathematicsFuture ValueCompound Interest
2025/7/25

The problem asks to find the present value of a 5-year annuity due with periodic cash flows of $500 ...

Financial MathematicsPresent ValueAnnuity DueCompound InterestTime Value of Money
2025/7/25

The problem asks for the present value of a perpetuity with annual payments. The first payment of $4...

Financial MathematicsPresent ValuePerpetuityInterest RatesCash Flow
2025/7/25

The problem asks us to calculate the present value ($PV$) of a guaranteed promise of £10000 payable ...

Financial MathematicsPresent ValueCompound Interest
2025/7/25

The problem asks to identify the incorrect statement among four statements related to financial conc...

Financial MathematicsAnnuitiesPresent ValueTime Value of Money
2025/7/25

Jan invests $3,000 at the beginning of each year for 30 years. The annual return is 12%. We want to ...

Financial MathematicsAnnuityFuture ValueCompound Interest
2025/7/25

The problem asks us to design a pipe network using the equivalent pipe method. The pipe network cons...

Fluid DynamicsPipe NetworkHazen-Williams EquationHydraulic Engineering
2025/7/24

The problem asks us to design a pipe network using the equivalent pipe method. The network is a squa...

Fluid MechanicsPipe NetworkHazen-Williams EquationHydraulicsEquivalent Pipe Method
2025/7/24

The problem states that we have four stocks, a, b, c, and d, with betas of 0.6, 0.8, 1.5, and 0.7 re...

Financial MathematicsPortfolio BetaWeighted Average
2025/7/24