The problem considered in the paper is motivated by production planning in a foundry equipped with the furnace and casting line, which provides a variety of castings in various grades of cast iron/steel for a large number of customers. The quantity of molten metal does not exceed the capacity of the furnace, the load is a particular type of metal from which the products are made. The goal is to create the order of the melted metal loads to prevent delays in delivery of goods to customers. This problem is generally considered as a lot-sizing and scheduling problem. The paper describes a mathematical programming model that formally defines the optimization problem and its relaxed version that is based on the conception of rolling-horizon planning.
 de Araujo, S.A., Arenales, M.N. & Clark, A.R. (2008). Lot sizing and furnace scheduling in small foundries. Computers & Operations Research. 35(3), 916-932. DOI: 10.1016/j.cor.2006.05.010.
 Drexl, A., Kimms, A. (1997). Lot sizing and scheduling—survey and extensions. European Journal of Operational Research. 99(2), 221-235. DOI: 10.1016/S0377-2217(97)00030-1.
 Fleischmann, B., Meyr, H. (1997). The general lot sizing and scheduling problem. Operational Research Spektrum. 19(1), 11-21. DOI: 10.1007/BF01539800.
 Clark, A.R. (2005). Rolling horizon heuristics for production and setup planning with backlogs and error-prone demand forecasts. Production Planning & Control. 16, 81-97. DOI: 10.1080/09537280412331286565.
 Stawowy, A. & Duda, J. (2013). Production scheduling for the furnace - casting line system. Archives of Foundry Engineering. 13(3), 84-87. DOI: 10.2478/afe-2013-0065.