piecewise linear model to the multi-item economic ordering quantity problem. More...
Go to the source code of this file.
Functions | |
| def | eoq (I, F, h, d, w, W, a0, aK, K) |
Variables | |
| I | |
| F | |
| h | |
| d | |
| w | |
| int | W = 2000 |
| int | K = 1000 |
| a0 | |
| aK | |
| model = eoq(I,F,h,d,w,W,a0,aK,K) | |
| x | |
| int | EPS = 1 |
piecewise linear model to the multi-item economic ordering quantity problem.
Definition in file eoq_en.py.
| def eoq_en.eoq | ( | I, | |
| F, | |||
| h, | |||
| d, | |||
| w, | |||
| W, | |||
| a0, | |||
| aK, | |||
| K | |||
| ) |
eoq -- multi-item capacitated economic ordering quantity model
Parameters:
- I: set of items
- F[i]: ordering cost for item i
- h[i]: holding cost for item i
- d[i]: demand for item i
- w[i]: unit weight for item i
- W: capacity (limit on order quantity)
- a0: lower bound on the cycle time (x axis)
- aK: upper bound on the cycle time (x axis)
- K: number of linear pieces to use in the approximation
Returns a model, ready to be solved.