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.
            Asked
            
        
        
            Active
            
        
            Viewed 100 times
        
     
    