Hello dear community. its been a long time since I have been here. and I have been wondering something lately. Lets see if you guys can guide me to solve this problem I have.

I have 70 and something… different values. (this is a real life situation) This values are all different measurements. All small pieces of wood. The longest its 1.3 meters and the shortest its 0.53 meters. All the values are different for example. 0.53, 0.60, 1.3, 1.0, 1.10, etc etc.

I need to calculate how many pieces of wood I will need to buy at the store to cut all the individual short pieces.

At the store the wood I need comes in 2.6 meters long. So for example in 1 piece of wood 2.6 meters long, I can nest 3 small pieces of: 0.53+ 0.90+ 1.10 meters long.

All that adds to 2.53 meters so its perfect and I can extract those 3 pieces out of 1 wood of 2.6 meters long.

Does it make sence?

The measurements I have are:

1,3

1,29

1,28

1,27

1,26

1,25

1,24

1,23

1,22

1,21

1,2

1,19

1,18

1,17

1,16

1,15

1,14

1,13

1,12

1,11

1,1

1,09

1,08

1,07

1,06

1,05

1,04

1,03

1,02

1,01

1

0,99

0,98

0,97

0,96

0,95

0,94

0,93

0,92

0,91

0,9

0,89

0,88

0,87

0,86

0,85

0,84

0,83

0,82

0,81

0,8

0,79

0,78

0,77

0,76

0,75

0,74

0,73

0,72

0,71

0,7

0,69

0,68

0,67

0,66

0,65

0,64

0,63

0,62

0,61

0,6

0,59

0,58

0,57

0,56

0,55

0,54

0,53

How many 2.6 pieces of wood will I need to extract all this small pieces of wood that I need. I’m doing a cost evaluation. And your help would be great appreciated.