Skip to content

Practice: linear programming

Practice: linear programming

1

A flower shop makes small bouquets and large bouquets.
A small bouquet has 10 roses, and a large one 20 roses.
400 roses reach the shop each day.
The florist has time to make at most 30 bouquets a day.
x\displaystyle x is the number of small bouquets a day, and y\displaystyle y the number of large ones.
Write the constraint of the roses and the constraint of the number of bouquets on the graph board.

2

In the flower shop of question 1:
Can the florist make 25 small bouquets and 5 large ones in one day?
And 10 small bouquets and 16 large ones?
Check each plan in both constraints.

3

On the graph board, the flower shop’s boundary lines: y=20−12x\displaystyle {y}={20-\frac{1}{2}x} – the roses, and y=30−x\displaystyle {y}={30-x} – the number of bouquets (the dashed one).
Mark the corner points of the feasible region, apart from the origin.

y=20−12x\displaystyle y=20-\frac{1}{2}x
y=30−x\displaystyle y=30-x

4

The shop makes a profit of 15 ₪ on a small bouquet and 40 ₪ on a large one.
Work out the profit at each corner point.
How many bouquets of each kind should the florist make a day? What is the profit?

Small bouquets

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    Large bouquets

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Profit a day (₪)

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        5

        A leather workshop makes wallets and belts.
        A wallet takes an hour of work, and a belt 2 hours; there are 40 hours of work a week.
        A wallet needs 2 units of leather, and a belt one unit; there are 50 units of leather a week.
        The profit: 60 ₪ on a wallet, and 50 ₪ on a belt.
        x\displaystyle x is the number of wallets a week, and y\displaystyle y the number of belts.

        a

        Write the two constraints on the graph board.

        b

        Solve the system of equations of the two boundary lines.

          c

          Write all the corner points of the feasible region.

          d

          Write the objective function and work it out at each corner point.
          What is the best plan, and what is its profit?

          Wallets

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            Belts

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              Profit a week (₪)

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                6

                In the workshop of question 5 the price of wallets has gone up: now the profit is 100 ₪ on a wallet and 30 ₪ on a belt.
                The constraints have not changed.
                What is the best plan now, and what is its profit?

                Wallets

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                  Belts

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                    Profit a week (₪)

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                      7

                      A farmer mixes two kinds of feed for his cows: feed A and feed B.
                      A kilogram of feed A gives 3 units of protein and one unit of fibre.
                      A kilogram of feed B gives one unit of protein and 2 units of fibre.
                      The daily mix needs at least 18 units of protein and at least 16 units of fibre.
                      A kilogram of feed A costs 8 ₪, and of feed B 5 ₪.
                      x\displaystyle x is the number of kilograms of feed A a day, and y\displaystyle y of feed B.

                      a

                      The constraints are 3x+y≥18\displaystyle 3x+y\ge18 and x+2y≥16\displaystyle x+2y\ge16, and the feasible region lies above both boundary lines: y=18−3x\displaystyle {y}={18-3x} and y=8−12x\displaystyle {y}={8-\frac{1}{2}x} (the dashed one).
                      Mark the three corner points of the feasible region.

                      y=18−3x\displaystyle y=18-3x
                      y=8−12x\displaystyle y=8-\frac{1}{2}x

                      b

                      Write the objective function – the cost of the mix – and work it out at each corner point.
                      Which mix is the cheapest? What does it cost a day?

                      Feed A (kg)

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                        Feed B (kg)

                          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                          Cost a day (₪)

                            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                            8

                            Noa said about the flower shop: “The plan of 30 small bouquets and 30 large ones gives a profit of 1,650 ₪ – more than any corner point.”
                            Her profit sum is right. What is her mistake?