Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

17
  • 2
    $\begingroup$ So it is a set of linear equations after all. This is exactly what I was looking for! Thank you so much =) $\endgroup$ Commented Sep 6 at 11:02
  • 1
    $\begingroup$ You're welcome👍You put a great question together. $\endgroup$ Commented Sep 6 at 11:05
  • 1
    $\begingroup$ Hmm, I've been playing with it a little, and there seems to be either a misunderstanding on my side, or on your/code's side. If I decrease the amount of products two fold, making the amounts [3360, 1440, 1920, 2880], the result is four machines running at 100%, and two machines just sitting there doing nothing. This goes against the 3rd goal: "all of the available flow is equally distributed between each available machine, to the extent allowed within the specified constraints". The end result should be all machines running at 50% of their capacity instead. $\endgroup$ Commented Sep 6 at 17:17
  • 1
    $\begingroup$ You're right that the code tries to maximise utilisation. This is done by the minus sign at res = linprog(-unweighted_utilisation.ravel(), ...). If you remove the minus sign it will become a minimisation problem. I can see what you're saying - processing products as fast as possible implies minimising machine utilisation. $\endgroup$ Commented Sep 6 at 18:05
  • 1
    $\begingroup$ Yeah it feels like another constraint needs to be specified, or they need to be reconsidered. I ran the code and found utilisation is still maximal, even when minimising the objective. I will look into it. So you want maximal throughput, with at least 50% per machine? $\endgroup$ Commented Sep 6 at 18:18