5 ms·
I know some companies are using ML to do this internally - predicting staffing needs, optimizing costs, etc. It strikes me as a very individualized problem; mi
by madenine 10y ago
I know some companies are using ML to do this internally - predicting staffing needs, optimizing costs, etc.
It strikes me as a very individualized problem; might be hard to generalize - or the markets you could generalize too aren't that big/don't need a solution all that much.
- philip1209 10y agoML is more statistical - good for forecasting. We were doing optimization mathematics with hard constraints for the scheduling. One of the issues that we encountered was that a generalized algorithm was tough. Different companies had different requirements for an algorithm, and it started to feel like a consulting company. For instance, if a big box retailer would rather be slightly underscheduled at peak time rather than adding additional employees (and being over-scheduled near the peak time). A high-end boutique retailer (like a diamond shop) might be the opposite - each sales brings in so much money that they overstaff at non-peak hours so that they can service customers during peak hours.
- xapata 10y agoSounds like a machine learning problem. The dependent variable is profit, not budget.
- princeb 10y agoscheduling is a classic mgmt. science problem.
- xapata 10y agoBut once you get into the modeling of how many customers come in at what hour and how likely they are to purchase how much conditioned on the staff present, it's a learning problem.
- philip1209 10y agoIt's a pipeline. Check out this [1] paper about the Taco Bell scheduling system. It's forecasting (stats, but would probably be called ML if paper wasn't in 1998) -> queuing theory (markov chains, sometimes formula-based, sometimes simulated) -> scheduling (normally mixed integer linear programming) [1] http://pubsonline.informs.org/doi/abs/10.1287/inte.28.1.75 http://pubsonline.informs.org/doi/abs/10.1287/inte.28.1.75
- botexpert 10y agoNot really machine learning. https://en.wikipedia.org/wiki/Nurse_scheduling_problem https://en.wikipedia.org/wiki/Nurse_scheduling_problem Above is a nice example. There has been some nice contests with the above problem and the ILP solvers work extremely fast and great and solve them to optimality. Although Staffjoy constraints might have been more general. Either way you could easily attack any custom problem with an ILP solver. It depends how long it would take to get a feasible solution and then how long to minimize the costs or fit the budget. In order to speed up the solver you might use ML but that would require previous data. Probably the only way to speed up the solver is to learn it through reinforcement learning on a batch of data. Takes time and time and time. Not to mention that your ILP solver has to be equipped to merge with any ML machinery you are using.
- xapata 10y agoBut deciding how many nurses to have at what time, based on the probability of how many and what kind of patients and the likelihood of a good medical outcome is a different problem.
- botexpert 10y agoIt is, but saying it's machine learning hides the combinatorial issues and combinatorial search that has to happen. Machine learning model can't replace the necessity for search. Scheduling problem (the general one) maps easily to the vehicle routing problem. Vehicles are routed and service customers. On-demand requirements and scheduling are probably easier to conceptualize in that framework (think Uber but with ride-sharing bus sized cars, or team picking up and delivering food from restaurants to locations, or repairmen doing stuff at people homes). All needs combinatorial search and machine learning is only one little piece of the puzzle.
- xapata 10y agoI usually say it the other way -- optimization is just one part of machine learning. ML includes optimization/search, dimensionality reduction (aka unsupervised learning), prediction (aka supervised learning), and reinforcement learning. And I'm probably forgetting a category.
- dbancajas 10y agoIsn't it just an ILP (Integer linear programming) problem? You want to minimize the cost while satisfying the scheduling problem.
- madenine 10y agoAs a consultant, sounds like my bread and butter (specialized problem, no generalized tools). For a product company, sounds like a nightmare - no one's paying you by the hour to meet their unique requirements. Thanks for sharing your story!