found an answer, and it’s optimal! Cost Minimisation Network Optimisation (?) The major difference between OR and AI, is that OR often finds the one optimal result, and often is immediately applicable to real world, physical organisation of costly resources.
we choose? (Scope) How good/bad is it? (Objective Function) Make it as small as possible. Please. If we had to generalise what we do, whether it’s OR, AI, machine learning etc. This formulation would be the way to do it.
min ≤2,>4 3 − Linear programming is one of the simplest subsets of the generalised optimisation problem, and it is precisely for this reason, that it is so important.
The variables: Di – demand for labour at hour I X_i_j – contribution to hour I by employee j (0 or 1) S_min_j – minimum allowed shift length for employee j S_max_j – maximum allowed shift length for employee j The constraint: Sum of X_i_j >= Di The objective: Cost of labour x total labour The difficulty with LP problems, in general, is formulating the problem. This is often the case, but in LP, it can be significantly more challenging due to the limited model space you have to work in.
optimal Labour Overshoot reduced from c.10% to 2.5% An example of shift scheduling. Turning a few days work into a multi-million pound saving solution.
GNU Linear Programming Kit) • SciPy (.optimize.linprog) • Google OR-Tools • CVXOPT (convex optimisation in Python) Cammil Taank [email protected] Fortunately there are many tools available to solve LP problems. Here are but a few.