Christmas Eve Party and Optimization
Alireza Soroudi, PhD
Lead Data Scientist @ bluecrux || SMIEEE || Optimization expert || Healthcare management || Lab Digitalization || Power and Energy systems || Developer || Author / Speaker || (views are mine)
I was going to organize a Christmas Eve party with a group of friends.
For this reason I had to make sure a set of activities to be finished before Christmas Eve.
By looking at the list of the tasks, I realised that each task should go through 4 stages (purchase, preparation, executation, documentation) in sequential orders.
I asked some friends to help me in organizing the event.
Here are the tasks and the amount of time (days) each required to be properly execulated.
Now I asked my friends (Anna, Max, Anastasia and Alex) to take care of each stage, individually.
Here is the result the way they planned the activities.
As you can see they finished the tasks one day after the Christmas day ! (They should have started much earlier to finish them all on time but they did not have any holidays left on their calendar for November).
They also tried different other ways but did not work! as you can see here
So Let's try to find a better way to schedule them in a more efficient way and be prepared before/on the Christmas Eve.
Let's try Mixed Integer Programming to tackle the problem :
The model is implemented in Pyomo and the code is as follows:
The outcome is :
But is this the only way of achiving this ? No
Subscribe to the?Newsletter?for free to have access to the upcoming posts
You may also contact?me?!
PyomoChannel ????? ??????
Scientific Researcher at Materials and Energy Research Centre
2 年Dear Professor, could you use Critical Path Analysis (CPA), and include costing as well. Happy festive season. Saeid Parsa
Ph.D, CEO Satwii Solutions, Aerospace, Supply Chain & Data Science & AI Consultant | Instructor | Software Developer | Advanced Analytics | Automation | Digital Transformation | Operations Research | Statistics
2 年Seems amazing!!! Merry Christmas.
Realtor Associate @ Next Trend Realty LLC | HAR REALTOR, IRS Tax Preparer
2 年Well Said.