Single-Item Capacitated Economic Lot-Sizing
with Start-up Costs, Piecewise Linear Production Costs and Piecewise Linear Holding Costs
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* input format: (all values must be integer) *
* *
* I; u_0; y_0; y_I; *
* startup; x_min, p_fix, p_var, (x_up, ...,) x_max; ... *
* demand; y_min, h_fix, h_var, (y_up, ...,) y_max; (first period) *
* ... *
* startup; x_min, p_fix, p_var, (x_up, ...,) x_max; ... *
* demand; y_min, h_fix, h_var, (y_up, ...,) y_max; (last period) *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* output format: *
* *
* u, x, y; (first period) *
* ... *
* u, x, y; (last period) *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */