I'm solving this problem similar to consumer-producer of materials (i.e. sand).
This is the graph of the problem:
E1) are units that require material, and
C1) produce material. I'm looking for the first random solution or similar that meets the constraints i.e
10, shared from
What would be a valid approach? I just think in Genetic Algorithms.