I have a $39$ cm precious metal wire... I need $22$ pieces of $14$ cm, $13$ pieces of $9.5$ cm, $10$ pieces of $24$ cm and $5$ pieces of $7$ cm.
How should I make the best possible combinations of different sizes and units so that I have to buy the least number of $39$ cm wires.
Thanks in advance and best regards.