I'm trying to implement a genetic algorithm for the 1-dimensional stock cutting problem. The problem is that we have unlimited stock of metal with m different length and n different order length (smaller than stock length) with different quantities have to be cut from the stock metal.
My questions are:
How to encode the chromosome? (they have constraints like: the total cuts length has to be smaller than the stock size..)
How a crossover and mutation operator would work in this situation?
I find them would be quite different from normal operators we use for the TSP problem because there are many constraints when you wan to shuffle the population (Eg. Pieces can't be longer than the stock,...)