Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start 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

leozhang2work
10 - Fireball
Spoiler
ResultsResultsmacromacroobjective functionobjective functionconstraintsconstraintsboundbound

Went for the optimization tool which is the natural choice. A batch macro with input (generate rows 1-4) for various box count.

The problem is small enough to type in manually, Otherwise I will do some pivoting from the input file.

@SeanAdams 's local optimize is amazing, need to learn that as well.

FrederikE
13 - Pulsar
Spoiler
FrederikE_0-1647702277287.pngFrederikE_1-1647702295583.png

 

 

scoles0617
8 - Asteroid

My solution:

TonyAndriani
9 - Comet

Reposting to my new user ID.

binuacs
21 - Polaris

solution attached

mmontgomery
11 - Bolide
11 - Bolide

Challenge #52

JamesCharnley
13 - Pulsar
Spoiler
JamesCharnley_0-1655738857751.png

 

Very happy to have gotten this without having to look at any documentation! Feels great after a demotivating morning full of failing difficult challenges. Sort of stumbled into dealing with the box count constraint but that's OK. Made it into a very simple app to choose how many boxes are allowed for some app practise.

NhungLe
8 - Asteroid

Solution

jonathanwillis
8 - Asteroid

Here's my solution

Robinvm
8 - Asteroid
Spoiler
Macro:
Robinvm_0-1658942169875.png

 

WF:

Robinvm_1-1658942243236.png