Bin Capacity Constraints

A question is this type if and only if it asks the student to determine constraints on bin capacity or item values based on a given bin packing allocation.

5 questions · Moderate -0.4

Sort by: Default | Easiest first | Hardest first
Edexcel D1 2021 October Q7
10 marks Moderate -0.8
7. The numbers listed below are to be packed into bins of size \(n\), where \(n\) is a positive integer.
14
20
23
17
15
22
19
25
Edexcel FD1 2020 June Q5
7 marks Standard +0.3
5. The nine distinct numbers in the following list are to be packed into bins of size 50 $$\begin{array} { l l l l l l l l l } 23 & 17 & 19 & x & 24 & 8 & 18 & 10 & 21 \end{array}$$ When the first-fit bin packing algorithm is applied to the numbers in the list it results in the following allocation. Bin 1: 23178
Bin 2: \(19 \quad x \quad 10\) Bin 3: 2418
Bin 4: 21
  1. Explain why \(13 < x < 21\) The same list of numbers is to be sorted into descending order. A bubble sort, starting at the left-hand end of the list, is to be used to obtain the sorted list. After the first complete pass the list is $$\begin{array} { l l l l l l l l l } 23 & 19 & 17 & 24 & x & 18 & 10 & 21 & 8 \end{array}$$
  2. Using this information, write down the smallest interval that must contain \(x\), giving your answer as an inequality. When the first-fit decreasing bin packing algorithm is applied to the nine distinct numbers it results in the following allocation. Bin 1: 2423
    Bin 2: 211910
    Bin 3: \(1817 x\) Bin 4: 8
    Given that only one of the bins is full and that \(x\) is an integer,
  3. calculate the value of \(x\). You must give reasons for your answer.
Edexcel FD1 2021 June Q5
10 marks Moderate -0.8
  1. 30312522318136101524
    1. The list of ten numbers above is to be sorted into descending order. Use a quick sort to obtain the sorted list. You should show the result of each pass and identify your pivots clearly.
    The ten numbers are to be packed into bins of size \(n\), where \(n\) is a positive integer.
    When the first-fit bin packing algorithm is applied to the original list of ten numbers, the following allocation is obtained.
    Bin 1:30122
    Bin 2:52310
    Bin 3:1815
    Bin 4:36
    Bin 5:24
  2. Explain why the value of the integer \(n\) must be either 44 or 45
  3. Use the first-fit decreasing bin packing algorithm to determine how the numbers can be packed into bins of size 45
Edexcel FD1 2023 June Q4
12 marks Standard +0.3
4. The eleven distinct numbers listed below are to be packed into bins of size 40 $$\begin{array} { l l l l l l l l l l l } 15 & 22 & 3 & 9 & 23 & x & 5 & 4 & 18 & 20 & 13 \end{array}$$ It is known that \(x\)
  • is an integer less than 40
  • is the largest number in the list
    1. Explain why it is not possible to pack the numbers into 3 bins of size 40
Given that it is possible to pack the numbers into 4 bins of size 40
  • determine the range of values for \(x\)
  • Use the first-fit bin packing algorithm to determine how the numbers can be packed into bins of size 40
  • Carry out a quick sort to produce a list of the numbers in descending order. You should show the result of each pass and identify your pivots clearly. When the first-fit decreasing bin packing algorithm is applied to the list, neither the 15 nor the 13 is placed in the first bin.
  • Determine the value of \(x\). You must give reasons for your answer.
  • Edexcel FD1 2024 June Q1
    7 marks Moderate -0.8
    1. $$\begin{array} { l l l l l l l l l l l } 17 & 8 & 16 & 12 & 24 & 19 & 23 & 11 & 20 & 13 & 4 \end{array}$$ The eleven numbers listed above are to be packed into bins of size \(n\) where \(n\) is a positive integer. When the first-fit bin packing algorithm is applied to the eleven numbers, the bins are packed as shown below. Bin 1: 17812
    Bin 2: 1624
    Bin 3: 19114
    Bin 4: 2313
    Bin 5: 20
    1. Explain why this packing means that the value of \(n\) must be 40 The original list of eleven numbers is to be sorted into descending order.
    2. Use a quick sort to obtain the fully sorted list. You must make your pivots clear.
    3. Apply the first-fit decreasing bin packing algorithm to the fully sorted list to pack the numbers into bins of size 40