Hello Community members,
I hope someone can help me with this use case that I am trying to build.
Problem Statement:
I am building a logistics cost optimization model for a manufacturing company. The objective is to minimize the total per-unit cost of sourcing parts from multiple suppliers to multiple plants while considering complex shipment constraints.
Key Requirements:
Production Demand:
Supplier Selection:
Shipment Capacity Constraints:
Cost Calculation:
Optimization Requirements:
Challenges Faced:
Request for Assistance:
Take a look at this: https://community.alteryx.com/t5/Data-Science/Legolytics-Part-4-Optimizing-Cost/ba-p/565416
And then see how you go. If the truck cost for extra shipments is the greatest determiner, then you may not need the full optimisation model. In this type of process, if you really need to shoehorn something in, then you probably need to look at that separately and see if there's another constraint. If you know something will cost too much, why leave that in the model options...
For instance, a constraint might be on order size, and so you can only order in certain ranges (as outside of those ranges costs too much). I.e. 1500-2000, 3500-4000....
You can make some decisions on the constraints and get a model working, then start broadening out the options you want to consider.
I interpret your question as how to use the standard Optimization tool to solve this problem.
your optimisation requirements include 2 criteria (i) supplier selection (do you mean the least number or the max number of suppliers? or something else?) and (ii) minimum per unit costs.
As far as I know, the optimisation tool only allow 1 objective, so if you need to solve for optimisation that involves >1 objectives, firstly you need to define the interaction/trade-off between these 2 critieria.
As to the 2nd part of your question, no issue as long as the objectively correctly, i.e. minimizing the average per unit costs (in any case objective has to be dynamically calculated otherwise you do not need optimisation - unless I miss something here).
If you can upload a dummy data set, the community more likely can help you find some solutions faster. For inspiration, explore the Optimsation example that has been shared in an earlier post or simply go to the recorded live training to find it.
Dawn.
Thank you @DawnDuong for your response. The objective is to reduce per unit cost. but the challenge is if we decide to choose one supplier, the per unit cost will vary based on number of parts we decide to purchase from that supplier. e.g. Lets say we decide to order 2000 parts from a supplier who considers 2000 parts as Full truck load. In this case unit cost will be actual part cost plus shipping cost divided by 2000 parts. but we decide to order 2050 parts then the per unit cost will go up as those additional 50 parts would require second truck and shipping cost per unit will go up as we are not fully utilizing the truck capacity. I have attached a sample workflow will the data set. I hope I was able to clarify the requirement here.
@reyna789 I am not sure what you are talking about, probably you responded to wrong post.
Hi @DawnDuong ,
I now think that it will be too much to consider the the dynamic per unit cost based on full load truck shipping cost vs additional partial load cost. May be for the sake of simplicity, I will just use constraint as number of shipments should be integer so even if the parts spill in to additional shipment, the per unit cost for shipping can be considered same as full load shipment.
The contents in Formula Tool have been slightly changed.
When the number of parts required changes, the Formula tool can be used to calculate the number of tracks needed.
Please refer to the workflow attached.
I would be happy if the problem is solved.
Really appreciate your response @ntakeda . I was happy to see that I was on the right track. I was able to figure out how to set up the objectives, constraints and use them in the tool. I am attaching my workflow here, please let me know if you see any issues with it.
I created and sent the above workflow based on my understanding as follows:
Input: Required number of parts and cost tables for each part.
Output: The supplier with the lowest cost for each part based on the required number of parts.
If the above understanding is correct, then the result of my workflow matches the requirements.
The output is as follows:
In my understanding, an optimization tool is not required, and the requirements can be achieved with the workflow I have attached.
If the requirements are different, please let me know.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |