Please note the time is very short. I am working on solving problem (I attached all documents). The idea there is a supplier has a contract to fill up the demand for (t time period) 3 customers, and should be achieved the target of success (fill up the demand over t time) 0.95, and if
the demand in that time lower than that target he will be penalised.
To calculate that (for example) : fill rate = (total supplied / total demand) for whole time, like, the demand is should be filled 10 everday for 5 days. and supplier filled
(9+10+9+10+10/50)= 0.96 > higher that 0.95 no penalty. I have attached this model with the code
I did the code works fine (all goods), NOW, in the previous code (we shuffling the customers (first come first served) which means I solved that in a stochastic.
Now, I need to solve that using (Linear programming) I have attached that. Which if I have 3 customers, and the stock level (number of items) = 15, and their demands (cus1 = 10, cus2=5, , cus 3 = 6) we should be used optimal solution, and supplier gives 5 for each customers as stock level = 15 (in my work stock level = 11.29).
To solve that (We need to use Package Called scipiy ([url removed, login to view])), and using that for a formula I have attached in PDF file.
We need only to change in my code (# calculate order part you see that in the code I have explained every thing).
Don't worry in my code most I have just write it to print it and make sure is correct.
Please If you got it let me know to discuss, and Remember to install the package (Anaconda) to solve that other wise the code can't run.
Please be reasonable price with bid, hope to hear from You....
8 freelancers are bidding on average $148 for this job
Hi, good day, I can start looking at the code etc. if selected and payment agreed. Will be able to solve if the problem is not that huge for the payment. Best wishes, kind regards, Vad