Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAI took this as a personal challenge (excuse) to use the Optimizer tool. I see so many implications for this in the 'real world' so I wanted to get a better grasp on it and this challenge helped me with this objective.
Without these two links I would not have been able to figure it out: Optimizer tool help and Optimizer tool example (Thank you @KuoL)
I did experience some strange behavior with this tool, in that it threw an error when my variable column was not an integer; which caused me to use 2 additional tools downstream.
Big, messy, brute force solution. Challenging though!
Dan
I'm sure there are solutions with fewer tools, but this one is fully dynamic, which is nice.
Pretty fun exercise. Used the Optimization tool to solve the classical IP Knapsack problem. I wanted to solve the challenge in one go. To achieve this, I made a batch marco to initiate 4 executions of the same optimization leveraging the Control Parameter to dynamically change the # allowed boxes.
Here's my solution:
An improvement on the first version as it now only takes 0.5 seconds to solve.