Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Optimization for volumes with input parameters

Tony_Tiger
5 - Atom

I'm new to Alteryx designer, I want to optimize volume and cost with a parameter input file. I'm looking for an easy workflow to select carriers and lanes based on volume restrictions. I have over 100k rows in an excel sheet. Below is only a mock up of a small sample size.

 

1) Workflow for volume

2) Workflow for Cost

3) if possible, a workflow to combine volume and cost

 

Sample from excel

 

Lane IDCarrierCarrier Rank based on costVolumeHistorical CostNew Cost
1A111 $                   1.05 $                                  1.00
1B211 $                   1.05 $                                  1.01
1C311 $                   1.05 $                                  1.02
2C14 $                   2.07 $                                  2.00
2B24 $                   2.07 $                                  2.01
2A34 $                   2.07 $                                  2.02
3C15 $                   2.99 $                                  3.00
3A25 $                   2.99 $                                  3.01
3B35 $                   2.99 $                                  4.02
4C17 $                   5.00 $                                  4.00
4A27 $                   5.00 $                                  4.01
4B37 $                   5.00 $                                  4.02
5B118 $                   3.99 $                                  5.00
5C218 $                   3.99 $                                  5.01
5A318 $                   3.99 $                                  5.02

 

Parameter for volume

 

CarrierVolumeMinMax
A29>1<=29
B12>1<=12
C4>1<=4

 

Parameter for Cost

CarrierCost
ALowest
BLowest
CLowest

 

Lane IDVolumeMax
111Full Amount
24Full Amount
35Full Amount
47Full Amount
518Full Amount

 

2 REPLIES 2
AbhilashR
15 - Aurora
15 - Aurora

Hi @Tony_Tiger, I wasn't 100% clear on what your end goal would look like, so for now I have mocked up a sample solution based on my interpretation.

 

For Volume, I approached it like an excel lookup problem. I have used the Alteryx Join in combination with Formula tool to identify Carriers that fall within a particular range.

 

For Cost, I am assuming you are looking for the lowest Carrier across the different LaneID's, and so I have used the Summarize tool to identify the lowest minimum cost transaction for a given Carrier and joined it back to the main data. The formula tool helps notate if a particular record is the lowest for the Given Carrier or not.

 

I hope this helps!

Tony_Tiger
5 - Atom

Hi 

 

 

 

 

Lane IDCarrierCarrier Rank based on costVolumeHistorical CostNew Cost
1A111 $                   1.05 $                                  1.00
5A318 $                   3.99 $                                  5.02
Total  29  

 

Volume output for Carrier B

 

Lane IDCarrierCarrier Rank based on costVolumeHistorical CostNew Cost
4B37 $                   5.00 $                                  4.02
3B35 $                   2.99 $                                  4.02
Total  12  

 

Volume output for Carrier C

 

Lane IDCarrierCarrier Rank based on costVolumeHistorical CostNew Cost
2C14 $                   2.07 $                                  2.00
total  4  

 

I was wondering if we can combine the volume and cost workflows together? Lowest cost with particular volume range for each carrier. Above tables are only 1 combination to get volume qualify the ranges, but it isn't the best scenario for the lowest cost.

Labels