Are there libraries within MATLAB that would help me pack a variety of 2D shapes and sizes into a 2D field? Each instance has a value based on its size and shape, and mixes of these must fall within certain proportional ranges.
Additionally, each instance must be placed no closer than a given distance from another, nor must an instance be placed less than a given distance from the edge of the field.
Lastly(?), some shapes and sizes are small enough to fit inside 2D holes that exist within other shapes and sizes.
I would expect that simulation is part of the process to obtain what is a near-optimal solution.