I'm wondering how to solve "One-dimensional binpacking problem with relative costs". We pack N volumes (with given sizes) into M bins (with given capacities) and have the matrix (NxM) of costs of each volume per each bin. So, the total cost should be minimized.
Can you advice any algorithm for solving this? Or, probably, any open-source lib for doing this?
Thanks!