with a matrix which has no more columns than it has rows. to cut lengths to fill incoming orders. An unlimited number of pieces are assumed available in stock for each of the stocked lengths L1, L2, .