We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Bin Packing Optimisation

tommmiller
5 - Atom

I have been trying to solve the equivalent to a Bin Packing algorithm in Alteryx! 

I am trying to use the First Fit decreasing algorithm to sort through the data (around 185 bins initially)

 

This is where you sort the bins into descending order (of mass in this instance) and try to pour the contents into as few bins as possible by iterating through each bin and pouring it into the first bin with the capacity to hold it! All of my bins have the same capacity and you have to pour the whole thing out.

 

However I am really struggling with making it loop through conditions whilst then adding/ removing columns and getting out a result!

Has anyone got any idea how I can do this, or any other ways of solving this problem in Alteryx??

1 REPLY 1
ladazhome
7 - Meteor

did you find a solution? Looking for it as well

Labels
Top Solution Authors