Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #52: Solving the Knapsack Problem

Wouter
8 - Asteroid

For my solution I've used the Optimization Tool:

Spoiler
challenge 52.jpg
danrh
13 - Pulsar

Will only work to 9 boxes ... hmm ....

JoBen
11 - Bolide

Cheers!

kelly_gilbert
13 - Pulsar

This was a good opportunity to learn how to configure inputs for the Optimization tool. It was tricky to get the inputs set up just right!

 

Spoiler

 Main workflow:

challenge_52_workflow.PNG

Batch macro:

challenge_52_macro.PNG
 

 

 

yajing_wang
8 - Asteroid

feel the solution is not accurate as it only works for the data set provided. It does not consider the dollar/kg. In some situation, it is better to pick up the one with less dollar but much less kg box.

yajing_wang
8 - Asteroid

This one take me really long time, but find out the my best and easiest way to solve this issue, I am happy! Did not consider the situation that it may better to take 2 smaller kg box than 1 heavy box....

 

Workflow:

Spoiler
Spoiler:
Use the idea of batch macro and process by group which make it is easier for Iteration macro and suitable for more than one case.
52 workflow.PNG

Macro:

Spoiler
Spoiler:
52 macro.PNG

 

Kenda
16 - Nebula
16 - Nebula
Spoiler
So I didn't think this one was hard, I just made it really tedious. And it only works for 5 boxes. But it's done.
52.PNG
jbranaum
8 - Asteroid

My Solution.

jssandom
8 - Asteroid

Tough one!

pasccout
8 - Asteroid

Here is my solution...