1

How can one add size constraints when solving the linear partition problem? I've implemented it verbatim from the solution here using Skiena's algorithm. I'm wondering if there's a straight-forward way to limit the size of the resultant partitions.

Community
  • 1
  • 1
malizia
  • 25
  • 5

0 Answers0