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

ExploreMore
8 - Asteroid
Spoiler
Screenshot 2022-08-16 172338.pngScreenshot 2022-08-16 172643.png

  

Abiramm1
8 - Asteroid

Heard everyone talking about location optimiser so I thought I would use this as a way to learn :)

- However I'm a bit confused as to why it breaks when you use all 5 nodes since I would expect the score to just be 0


Brian32
8 - Asteroid

Challenge Solution:

Spoiler
Brian32_0-1662054541719.png

Not overly dynamic, but I got there....

grazitti_sapna
17 - Castor

grazitti_sapna_0-1662100204465.png

 

Sapna Gupta
BenoitC
Alteryx
Alteryx

Done using simple tools

 

Spoiler
BenoitC_0-1664909173008.png

 

Benoit Conley

Sales Engineer
Alteryx, Inc.

olga_strubbe
10 - Fireball
Spoiler
olga_strubbe_1-1665004193179.png

 

acarter881
12 - Quasar

Here's my solution.

Spoiler
my_weekly_challenge_52_solution.png

Usage

Spoiler
usage.png
martinding
13 - Pulsar

52.png

Built mine as an analytic app, where the problem itself is solved using the Optimization Tool!

Hiblet
10 - Fireball

I built a macro to use binary numbers to work out combinations.  It can be re-used for any task requiring the solution to the classic "pick k items from a list of n items".  Macro is up on the public gallery here... https://community.alteryx.com/t5/Public-Community-Gallery/Combinations/ta-p/1023099

 

 

Kinga
8 - Asteroid

hi,

 

I've created two solutions. One with macro and one without it :)

 

Spoiler
Kinga_0-1667158334376.pngKinga_1-1667158362214.png



Kinga_2-1667158392137.png