Part of the workflow (as I hope to present formally) is real integer programming to finesse the final order, not the ham-fisted heuristics I used with the posterior.
I'll need to choose a library and implement this integer programming.
One point of discussion will be runtime: the current order builds in a few seconds on my 2015 MacBook Air. Integer programming is NP-Complete, and it will be interesting to see how different the "real" optimal order will be, and at what runtime cost.
Part of the workflow (as I hope to present formally) is real integer programming to finesse the final order, not the ham-fisted heuristics I used with the posterior.
I'll need to choose a library and implement this integer programming.
One point of discussion will be runtime: the current order builds in a few seconds on my 2015 MacBook Air. Integer programming is NP-Complete, and it will be interesting to see how different the "real" optimal order will be, and at what runtime cost.