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

Tokimatsu
12 - Quasar

Solved.

Spoiler
2020-12-27_13h09_12.png

phottovy
13 - Pulsar
13 - Pulsar

I went with an iterative macro but I'm sure there are much better ways:

Spoiler
52.PNG52a.PNG
clmc9601
13 - Pulsar
13 - Pulsar

My solution

robert-headington
8 - Asteroid

#52

Pang_Hee_Choy
12 - Quasar

my solution.

aiahwieder
8 - Asteroid

I have a feeling I'll be coming back to this one a few more times -- it's an interesting optimization problem that has some practical applications for my Day Job, too!

rcarog
8 - Asteroid

Solution attached.

Hub119
8 - Asteroid

In retrospect, could have configured this as a batch macro... but a little copy/paste never hurt anyone, right?

apathetichell
18 - Pollux

Fairly psyched with this solution - Analytic app for your max weight/max number of boxes preferences and optimization tool solution...

BeginnerMindset
8 - Asteroid

I liked this challenge. I went with the Optimization Tool within a batch macro, which was fairly clean in the end and ready to be made more generic for other variations.

 

 

Spoiler
BeginnerMindset_1-1617387347156.png

 

Spoiler
BeginnerMindset_0-1617387294064.png