scieee AI-readable full text Open interactive document viewer

Variable and constraint reduction techniques for the temporal bin packing problem with fire-ups

Martinovic, John; Strasdat, Nico; Valério de Carvalho, José Manuel; Furini, Fabio

Abstract

The aim of this letter is to design and computationally test several improvements for the compact integer linear programming (ILP) formulations of the temporal bin packing problem with fire-ups (TBPP-FU). This problem is a challenging generalization of the classical bin packing problem in which the items, interpreted as jobs of given weight, are active only during an associated time window. The TBPP-FU objective function asks for the minimization of the weighted sum of the number of bins, viewed as servers of given capacity, to execute all the jobs and the total number of fire-ups. The fire-ups count the number of times the servers are activated due to the presence of assigned active jobs. Our contributions are effective procedures to reduce the number of variables and constraints of the ILP formulations proposed in the literature as well as the introduction of new valid inequalities. By extensive computational tests we show that substantial improvements can be achieved and several instances from the literature can be solved to proven optimality for the first time.

Full text

Optimization Letters (2022) 16:2333–2358 https://doi.org/10.1007/s11590-021-01825-x ORIGINAL PAPER Variable and constraint reduction techniques for the temporal bin packing problem with fire-ups John Martinovic1 ·Nico Strasdat1 ·José Valério de Carvalho2 ·Fabio Furini3 Received: 20 May 2021 / Accepted: 3 November 2021 / Published online: 4 December 2021 © The Author(s) 2021 Abstract The aim of this letter is to design and computationally test several improvements for the compact integer linear programming (ILP) formulations of the temporal bin packing problem with fire-ups (TBPP-FU). This problem is a challenging generalization of the classical bin packing problem in which the items, interpreted as jobs of given weight, are active only during an associated time window. The TBPP-FU objective function asks for the minimization of the weighted sum of the number of bins, viewed as servers of given capacity, to execute all the jobs and the total number of fire-ups. The fire-ups count the number of times the servers are activated due to the presence of assigned active jobs. Our contributions are effective procedures to reduce the number of variables and constraints of the ILP formulations proposed in the literature as well as the introduction of new valid inequalities. By extensive computational tests we show that substantial improvements can be achieved and several instances from the literature can be solved to proven optimality for the first time. Keywords Cutting and packing ·Temporal bin packing problem ·Fire-ups ·Integer linear programming BJohn Martinovic [email protected] Nico Strasdat [email protected] José Valério de Carvalho [email protected] Fabio Furini [email protected] 1Institute of Numerical Mathematics, Technische Universität Dresden, Dresden, Germany 2Departamento de Produção e Sistemas, Universidade do Minho, Braga, Portugal 3Department of Computer, Control and Management Engineering “Antonio Ruberti”, Sapienza University of Rome, Rome, Italy 123 2334 J. Martinovic et al. 1 Introduction The temporal bin packing problem (TBPP) introduces a temporal dimension to the classical bin packing problem (BPP), see [11,18,20], by associating to the items time windows in which they are active. Formally, given a set of items (or jobs), the TBPP asks for determining the minimum number of bins (or servers) of given capacity to execute all jobs. Each job is characterized by a size (or resource demand) and a lifespan (time window in which the job is active), a jobs-to-servers assignment is feasible if and only if the capacity of the servers is respected at any instant of time. The TBPP is a challenging problem with a high practical and theoretical interest which has been recently introduced in the literature, see [9,10]. It belongs to the rich family of cutting and packing problems, object of intense research in the last decades. The TBPP can also be interpreted as a high-dimensional vector packing problem [7,19] and it partially shares the mathematical structures of two-dimensional packing problems, where the time can be seen as one of the dimensions and the other one is related to the capacity of the servers. We also refer the interested reader to [13,16] for the strip packing versions of these problems. Another problem closely related to the TBPP is the temporal knapsack problem (TKP). The TKP asks for determining a maximum-profit subset of jobs (also active for a given time window) which can be executed by a single server, see [2,4]. As far as the exact approaches to solve the TKP to proven optimality are concerned, this problem is usually tackled by a Dantzig-Wolfe reformulation and branch-and-price algorithms [5,6] or by dynamic programming algorithms [8]. The TBPP is introduced in an application-oriented article, see [9], dealing with efficient workload server management in data centers–one of the key challenges in light of the ever-growing energy demand of the IT industry [1,12,14].Asfarasthe TBPP solution methods are concerned, we refer the reader to [10], an article which presents several heuristic and exact approaches. Thestate-of-the-art exact algorithm for the TBPP is a branch-and-price algorithm, which exploits in preprocessing a plethora of heuristic algorithms (see [10] for further details). In the TBPP, the quality of a jobs-to-servers assignment is evaluated solely by the number of servers in use. However, several recent publications point out that the specific operating mode of the servers is also crucial. This means, in particular, that an inactive server can be temporarily put into a sleep mode (or can be completely shut down) for the purpose of saving energy. In this case the server must then be turned on again, if required. A server restart is called a fire-up, see also Fig. 1for a graphical representation, and–from the perspective of energy-efficiency–this naturally leads to a second optimization goal, introduced in [3]. The authors of that article propose two compact ILP formulations (denoted M1 and M2) taking into consideration two different objectives: (i) the number of servers and (ii) the number of fire-ups. This new objective function is a weighted-sum, using the input parameter γ>0 to scale the contribution of the fire-ups. In this way, a multi-objective variant of the TBPP has been proposed in [3], hereinafter referred to as the temporal bin packing problem with fireups (TBPP-FU). The models M1 and M2 of [3] are based on the classic Kantorovichtype structure for the BPP, see [15], and the experiments show that the proposed exact solution method using these models is very challenging from a computational 123 Variable and constraint reduction techniques for the TBPP-FU 2335 Fig. 1 An exemplary assignment of five jobs to two servers. (This assignment is optimal for the instance appearing in Example 1 with γ=1) point of view. In order to quickly find good-quality heuristic solutions, a constructive look-ahead heuristic (CLH), together with an advanced recovery algorithm based on mathematical programming techniques, is also presented in [3]. In that article, an interesting insight of the multi-objective function is also shown: for rather small values of γ, i.e., for γ≤1/n(where nis the number of jobs), it is possible to considerably reduce the size of the ILP formulations by exploiting the information given by the heuristic solutions. However, the important question on how to reduce the models in the general case of arbitrary values of γis still an open problem which we tackle in this letter. Very recently, in [17] several methods for improving the TBPP-FU ILP models have been proposed. These techniques generate substantial performance gains, including also the possibility of efficiently handling larger values of γ. In addition, a third formulation (called M3) is proposed which is not based on the classical job-to-server assignment variables. More in details, M3 is based on a job-to-job relation and it allows to a priori discard some infeasible solutions by removing a set of variables. As a result, model M3 is a more compact ILP formulation (compared to M1 and M2) which is particularly effective for fast calculations. However, from an overall point of view, the tests in [17] show that the “optimized” version of M1 remains on average the state-of-the-art approach in terms of instances solved to proven optimality. In this article, we aim to enrich and complete the structural analysis of the compact ILP formulations for the TBPP-FU. To this end, we present new methods to improve the ILP models which lead to better numerical results. More in details, we show how to transfer parts of the previously mentioned favorable properties of M3, i.e., mainly a small model size and the possibility to easily account for job incompatibilities, to M1 and M2, thus obtaining very robust and more powerful compact formulations. The main contributions of our investigation are: – We optimize and reduce the set of constraints of M1 by removing redundancies and tightening some conditions. – We present a new class of valid inequalities for M1 and M2 mimicking the inherent property of M3 to avoid forbidden item pairs. – We theoretically show how heuristic-based information can be used for arbitrary choices of γ, generalizing the results of the literature. A side effect of investigating the heuristic used for that purpose is that we can also pass a good-quality starting point to the ILP solver. The remainder of this letter is structured as follows: In the next section we introduce the notation and the M1 and M2 formulations from the literature. In the core Sect. 3, we present the new reduction procedures and the new family of valid inequalities. 123 2336 J. Martinovic et al. Finally, extensive computational tests are reported in Sect. 4, aiming at computationally evaluating the beneficial effect of the newly proposed techniques. 2 Preliminaries and basic models In this section, we present the most important terminologies and notations, as well as a brief overview of the current ILP formulations from the literature. Let us consider n∈Nitems (jobs), each of which possessing a resource demand (item size)ci∈N that is active only in the interval [si,ei)formed by the starting time si∈Nand the ending time ei∈N,i∈I:= {1,...,n}. Then, these items have to be assigned to bins (servers) of capacity C∈Nso that a weighted sum consisting of (i) the number of servers required and (ii) the number of fire-ups is minimized, where the second term is scaled by a weighting parameter γ>0. Let K:= {1,...,n}denote the set of servers and let T:= i∈I{si,ei}and TS:= i∈I{si}collect the relevant instants of (starting) times. Moreover, we assume the items to be ordered with respect to non-decreasing starting times (where ties are broken arbitrarily), and we use It:= {i∈I|t∈[si,ei)} to indicate the active jobs at time t∈T. Example 1 Let us consider an instance with servers of capacity C=2 and n=5 items having resource demands c=(2,1,1,1,1), starting times s=(1,1,5,7,7), and ending times e=(2,11,15,16,8). Then, for γ=1, an optimal solution requires two servers and three fire-ups as depicted in Fig. 1. In total, three different compact models for the TBPP-FU have so far been formulated in the literature. To reiterate, the original publication [3] contained two ILP formulations (called M1 and M2) which were based on classic job-to-server assignment variables. Some first reduction methods together with a new third exact approach (called M3) have been presented in [17], all of which contributed to significantly better numerical results. To facilitate understanding the ILP formulations, here we only present the raw versions from [3] in some detail. However, we emphasize that all of our contributions presented later are directly applied to the models from [17], which correspond to the current state of the literature. In contrast, a formal introduction of M3 is skipped since our new reductions either specifically address the set of servers to be modeled (which, however, is not explicitly contained in M3) or exclude combinations of items (which is automatically done in M3 through job-to-job coupling). Remark 1 Nevertheless, we will also consider an improved version of M3 in the numerical part, but its differences with the version from [17] are very general and therefore traceable even without explicit knowledge of the model itself. To state M1, let us consider the following four types of binary variables: –Wehavezk=1 if and only if server k∈Kis used. –Wesetxik =1 if and only if job i∈Iruns on server k∈K. –Weuseytk =1 if and only if server k∈Kis active at time t∈T. –Wehavewtk =1 if and only if server k∈Kis activated at time t∈TS. 123 Variable and constraint reduction techniques for the TBPP-FU 2337 Consequently, the z-variables measure the number of servers required whereas the w-variables are responsible for counting the fire-ups. The original version of M1, as presented in [3], then reads as follows Model 1 (M1) min  k∈K ⎛ ⎝zk+γ t∈TS wtk⎞ ⎠ s.t. ytk ≤ i∈It cixik ≤ytkC,k∈K,t∈T,(1)  k∈K xik =1,i∈I,(2) xik ≤ysi,k,i∈I,k∈K,(3) ytk ≤zk,k∈K,t∈T,(4) ytk −yt−1,k≤wtk,k∈K,t∈TS,(5) xik ∈{0,1},i∈I,k∈K,(6) ytk ∈{0,1},k∈K,t∈T,(7) wtk ∈{0,1},k∈K,t∈TS,(8) zk∈{0,1},k∈K.(9) The objective function minimizes a weighted sum of the aforementioned criteria. Constraints (1) make sure that the capacity of an active server is respected (right hand side), and that an empty server is deactivated (left hand side). Conditions (2) demand that any job is assigned exactly once, while linking the different types of variables is done by Restrictions (3)–(5). In particular, (5) is responsible for recognizing a fireup in precisely those cases where the considered server is currently active, but was inactive at the preceding instant of time (indicated by t−1 in a symbolic way). The second formulation M2 appearing in [3] addresses the temporal aspect of the problem in a less explicit way, e.g., by not making use of the y-variables measuring the activity of the servers. Instead, however, the sets δi:= j<isi<ejand δ+ i:= j<isi≤ej,i∈I, gathering jobs being active at si(see δiand δ+ i)or just having finished at si(only δ+ i) are required. With these ingredients, M2 from [3] is given by: Model 2 (M2) min  k∈K ⎛ ⎝zk+γ t∈TS wtk⎞ ⎠ s.t.  j∈δi cjxjk +cixik ≤Czk,i∈I,k∈K(10)  k∈K xik =1,i∈I,(11) 123 2338 J. Martinovic et al. xik ≤zk,i∈I,k∈K,(12) wsi,k≥xik − j∈δ+ i xjk,i∈I,k∈K,(13) xik ∈{0,1},i∈I,k∈K,(14) wtk ∈{0,1},t∈TS,k∈K,(15) zk∈{0,1},k∈K.(16) The objective function and Conditions (11) already appeared in exactly the same way in M1, whereas Constraints (10) again ensure that the server capacity is respected. Restrictions (12)–(13) are responsible for linking the different types of variables. In particular, Conditions (13) state that a fire-up at time sihas to be perceived on server k, if item i, but none of the items from δ+ i, has been placed on it. Besides being relatively large in size, the original versions of M1 and M2 possess some structural drawbacks: (i) The solution space is highly symmetric. (ii) The LP relaxation is rather poor. (iii) The set Kis much larger than required in an optimal solution. Note that the first two problems are mainly related to the Kantorovich-type structure of the models and were already successfully addressed in parts in [17]. Without going into too much detail (for this, we refer the reader to the contributions of [17]), this was done primarily by: (R1) Renumbering the servers so that only index pairs (i,k)from the set Δ:= {(i,k)| k≤i}have to be considered. This also made it possible to move to serverdependent time sets T(k)= i≥k {si,ei}and TS(k)= i≥k {si}, which helped to also save some of the y- and w-variables. (R2) Introducing valid inequalities zk≤t∈TS(k)wtk for any k∈Kimplying at least one fire-up on every server. In particular, this prevents the two variable types in the objective function from becoming arbitrarily small independently of each other. (R3) Lifting the item sizes ci,i∈I, to possibly tighten Conditions (1) and (10). Furthermore, by additional minor reductions (referred to as (R4) and (R5) in [17]), some redundancies within the set of constraints could be eliminated in M2. Based on numerical tests, it was shown that the listed techniques lead to significant improvements of the compact models, with (R1) and (R2) proving to be particularly valuable for the benchmark instances considered. This was due mainly to the fact that the size of the models could be reduced by roughly 50% (both in terms of variables and constraints), but also to significantly better LP bounds. For this reason, it seems worthwhile to us to explore further reduction possibilities (for the approaches from [17]) and present them in the next section, thus arriving at the somewhat “best possible” 123 Variable and constraint reduction techniques for the TBPP-FU 2339 version of the compact formulations M1 and M2 (and, in the light of Remark 1,also M3). 3 New reduction methods The new reduction methods to be proposed in this section can be roughly divided into three categories: (a) “optimizing” the set of constraints, (b) adding new valid inequalities, (c) a heuristic-based reduction of the model size. While item (a) is specific to the y-variables and Constraints (1) from M1, (b) and (c) can be applied to M1 and M2. For this reason, we will discuss all these methods using M1, but also briefly point out how they might need to be modified for M2. For the sake of completeness, we again point out that the specification of a starting point for the ILP solver, which is implicitly associated with (c), can of course be used for all three existing models. 3.1 Reduction (a) We first observe that after having applied Reduction (R1), Constraints (1)fromM1 only need to be formulated for the time steps t∈T(k)relevant on server k∈K. However, we do not require the whole inequality chain ytk ≤ i∈It:(i,k)∈Δ cixik ≤ytkC for each t∈T(k), since either of the two parts has a very specific purpose. To be more precise, the left hand side is only important to perceive the deactivation of a server, while the right hand side helps to recognize an active server. Hence, it suffices to state the first inequality for ending times t∈TE(k)=i≥k{ei}(on server k) only, whereas the second inequality needs to be formulated just for the server-dependent starting times t∈TS(k)=i≥k{si}. In the latter case, we can even go a step further by noting that only the non-dominated starting times Tnd S(k)have to be considered. Observe that a starting time t1is called dominated if it is directly followed by another starting time t2 (so that every job that is active at t1is still active at t2), see also [10,17]. After we have accordingly broken the chain of inequalities into two parts, we can strengthen the first part by moving from ytk ≤i∈It:(i,k)∈Δcixik to ytk ≤i∈It:(i,k)∈Δxik. Obviously, the latter better conveys the important message that an empty server cannot be active and an active server needs to have at least one item running on it. Overall, Reduction (a) helps to save some redundant conditions appearing in (1), while other conditions of that type are even tightened. 123 2340 J. Martinovic et al. 3.2 Reduction (b) One of the major advantages of Model M3 from [17] consisted of the fact that the set of variables to be considered was very small due to the elimination of forbidden item pairs. By that, we mean that any pair of jobs appearing in F:= {(i,j)|[si,ei)∩[sj,ej)= ∅,ci+cj>C}cannot be executed on the same server. While this could be incorporated directly into the model generation of M3 due to the job-to-job coupling, additional valid inequalities are needed for M1 and M2 to avoid such pairs. However, the naive way of just demanding xik +xjk ≤zkfor any k∈Kand any (i,j)∈Fwith (i,k), (j,k)∈Δnormally leads to a very large amount of further constraints (up to O(n3)of them in the worst case). For this reason, here we propose a more sophisticated strategy that produces fewer and at the same time (partly) better such inequalities. To this end, note that for a fixed server kit would be sufficient to collect (a reasonable subset of) the maximal cliques of the incompatibility graph G(k)=(I(k), F)formed by the relation Fon the set I(k):= {i∈I|i≥k}of items that can be assigned to server k. Then, for any such clique C(related to server k) with |C|≥2, the condition  i∈C xik ≤zk(17) has to be added. For M1, we recommend to replace zkon the right hand side of this inequality by ytk, where tis the last starting time of the items from C(that is, one specific instant of time where all these items are active). Thanks to the coupling conditions (4) from M1, this will impose an even stronger constraint. To find the maximal cliques, we propose the following strategy, starting with k=1 (so that I(k)=Iholds): (i) Find the maximal cliques of the subgraph (of G(1)) formed only by the items having ci>C/2. (ii) For any fixed item i∈Iwith ci≤C/2: consider the subgraph formed by the items jwith cj>C−cithat are adjacent to iin G(1). When we add {i}to a maximal clique of this subgraph, then we end up with a maximal clique of G(1). By these two steps, we will find all maximal cliques of G(1)thanks to the following result: Lemma 1 Let k ∈K be fixed. Then, a maximal clique of G(k)can have at most one item of size ≤C/2. Proof Indeed, if there were two such items in the clique, we would not have an edge between them which gives the contradiction.  For any remaining server k≥2, the maximal cliques of G(k)(having size |C|≥2) can be iteratively obtained from the information of the previous step k−1 by deleting the item i=k−1 from any maximal clique of G(k−1)and applying cardinality and dominance tests to the obtained subsets of items. 123 Variable and constraint reduction techniques for the TBPP-FU 2341 3.3 Reduction (c) The techniques presented so far (in Sects. 2and 3) have not yet contributed to the reduction of the quantity |K|, which has a decisive influence on the model size as, for instance, the index kappears in any of the four variable types of M1. To deal with this challenge, which was already established as item (iii) in Sect. 2, appropriate heuristic information can be applied. However, from a theoretical point of view, the latter has only been successfully achieved for very small choices of γ: Theorem 1 ([3]) Let γ≤1/n. Then, the number of servers required for the TBPP-FU is equal to the number of servers in an optimal solution to the TBPP. The previous result allows for either computing the optimal size of Kbeforehand by solving a somewhat easier auxiliary problem (that is, the TBPP) or to at least limit the number of servers to any value obtained by a heuristic solution. However, as also reported in [3, Example 2.2], this result does not hold for larger choices of γ, so that reducing the size of Kcannot be performed in the majority of the cases. To tackle this issue the following result presents an easy way of using heuristic information in the general case, too. Theorem 2 Let zheu be the objective value obtained by any heuristic for the TBPPFU. Then, the number of servers required in an optimal solution is at most k:= zheu/(1+γ) . Proof If the claim was wrong we would need at least k+1 servers in an optimal solution. Since every server is switched-on at least once, this would lead to an objective value of at least (k+1)+γ·(k+1)=(1+γ)·(k+1)>zheu giving the contradiction because the heuristic would have to be better than the optimal solution.  This result allows us to replace the set K={1,...,n}at all positions in M1 and M2 with an appropriately defined and greatly reduced set K:= {1,...,k}. Moreover, we recommend to pass the heuristic solution to the solver to give it a warm start. For our investigations, we will use the constructive look-ahead heuristic (CLH) described in [3, Sect. 3], but in a slightly more exploratory way. Before explaining the precise meaning of this intention, let us briefly collect the main idea of that heuristic: As stated in Sect. 2, we start by an item list ordered with respect to non-decreasing starting times si(where ties are broken in an arbitrary way) and process the items one by one. Moreover, we require a look-ahead parameter q ∈Nindicating the number of future items to be taken into account when making the current decision. In a specific iteration, we consider a fixed item i∈Iand assign it to every open server that is able to accommodate it, and (as another alternative) also to a new empty server. By that, we obtain various different assignments A1,...,Ap. Now, we add the next qitems to any of these assignments in a best-fit fashion, leading to the extended assignments  A1,...,  Ap. Finally, we compute the corresponding objective values 123 2348 J. Martinovic et al. Table 3 continued M1 M1M2 M2M3 M3 n¯sd icit opt t opt t opt t opt t opt t opt 150 150 dScL462.4 (4) 23.9 (5) 404.5 (4) 23.4 (5) 601.1 (4) 402.3 (5) cH1800.0 (0) 1729.0 (1) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) dLcL1502.3 (1) 1247.5 (2) 1800.0 (0) 988.4 (3) 1726.6 (1) 882.9 (3) cH1517.8 (1) 1456.7 (1) 1800.0 (0) 1453.1 (1) 1628.7 (1) 1468.0 (1) 180 dScL93.7 (5) 22.3 (5) 377.7 (4) 16.9 (5) 634.1 (4) 191.0 (5) cH1682.6 (2) 1301.7 (3) 1800.0 (0) 1600.3 (1) 1800.0 (0) 1604.2 (1) dLcL1800.0 (0) 886.3 (3) 1620.0 (1) 753.6 (3) 1800.0 (0) 1141.3 (2) cH1800.0 (0) 1271.6 (2) 1649.1 (1) 1293.1 (2) 1797.6 (1) 1246.3 (2) Average (Sum) 1332.3 (13) 992.4 (22) 1406.4 (10) 991.1 (20) 1473.5 (11) 1092.0 (19) 200 200 dScL582.8 (4) 385.0 (4) 730.5 (3) 371.5 (4) 1595.9 (2) 752.2 (4) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) dLcL1574.1 (1) 1536.1 (1) 1800.0 (0) 1122.6 (2) 1800.0 (0) 1534.3 (1) cH1800.0 (0) 1293.7 (2) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 240 dScL220.1 (5) 35.2 (5) 1083.7 (2) 728.9 (3) 1144.1 (2) 1105.4 (2) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) dLcL1800.0 (0) 1109.3 (2) 1800.0 (0) 1096.7 (2) 1800.0 (0) 1489.2 (2) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) Average (Sum) 1422.1 (10) 1219.9 (14) 1576.8 (5) 1315.0 (11) 1692.5 (4) 1510.1 (9) Total: Average (Sum) 935.2 (85) 727.6 (103) 1022.8 (73) 806.0 (91) 1030.6 (76) 849.6 (91) Average Exit gap [%]20.8 3.9 9.5 5.2 9.5 4.9 For the sake of completeness, also the average exit gaps (computed based on all 160 instances) are displayed. We use bold numbers to indicate the best formulation per subset 123 Variable and constraint reduction techniques for the TBPP-FU 2349 Fig. 2 Temporal development of the number of instances solved to optimality by the various formulations solved instances over time, see Fig. 2. Therein, it is clearly visible that at any point in time a fixed updated formulation dominates its corresponding original model from [17]. Moreover, given the additional improvements from Sect. 3, either M1or M2 always possesses the most convincing performance. The generally smaller model size of M2causes it to dominate M1within the first 2 min, while in the long term M3 offers similar and M1even better numerical results. We attribute the latter to the fact that the numerous coupling conditions in M1(i.e., the implications inherent to Constraints (3)–(5)) have a large effect in the deeper layers of the branch-and-bound tree, since already the specification of a small set of variables actually fixes a much larger set of variables to integer values. Moreover, the methods contained in Reduction (a), and the fact that the valid cuts from Reduction (b) can be formulated in a stronger way may also have contributed to the slightly better overall performance of M1. While these considerations refer only to the successfully solved instances, the exit gaps provided in the last row of Table 3also indicate the improvements with respect to all instances. Roughly speaking, all compact models were able to reduce their exit gap by at least 45%, with M1standing out here with a reduction of more than 80%. This observation is partly due to the fact that the specification of a starting point now generally leads to reasonable approximate solutions even for very difficult instances. Remark 4 To gain a rough insight into which of the presented reductions have which effect, we exemplarily solved again the more difficult half of the instances (those with n≥150) by different variants of M1. More precisely, we start with the version from [17] and then gradually add the methods from Sect. 3, see Table 4. Note that for Reduction (c) we distinguish between the mere heuristic-based reduction (called “M1(cold)”) and the additional use of the feasible solution as a starting point for the ILP solver. In terms of model size, one can clearly see that Reduction (c) makes the largest contribution, reducing both variable and constraint numbers very significantly. However, also Reduction (a) helps to make a remarkable improvement, especially by already removing roughly 40% of all constraints. In contrast, as expected, adding valid cuts (i.e., applying Reduction (b)) again leads to an increase (of 22%) in constraints, but this still results in better overall performance, especially for n=150. With respect to 123 2350 J. Martinovic et al. Table 4 Some key indicators summarizing the effects of the step-by-step reduction for n=150 (upper half, i.e., rows 1-6) and n=200 (lower half, i.e., rows 7-12) Indicator Units M1 M1 + (a) M1 + (a) + (b) M1(cold) M1 nvar 10331.3 28.7 28.7 7.4 7.4 ncon 10356.1 34.1 41.5 11.7 11.7 nnz 103613.0 317.0 408.5 130.9 130.9 z– 61.7 57.5 46.6 38.0 37.4 opt –1315 17 19 22 ts 1332.3 1228.3 1174.8 1084.6 992.4 nvar 10354.6 51.1 51.1 11.2 11.2 ncon 10396.8 61.1 74.5 17.6 17.6 nnz 1031114.2 607.4 770.0 199.3 199.3 z– 179.1 95.4 91.6 44.3 40.1 opt –1010 10 11 14 ts 1422.1 1376.0 1376.3 1360.1 1219.9 In addition to the notation already used before, nnz represents the number of nonzero elements appearing in the constraint matrix of the optimization problems the number of instances solved to proven optimality and the solution times required, it can be observed that for n=150 each individual method has an approximately equal contribution. For the even more difficult instances with n=200 items, Reductions (a) and (b) do particularly lead to significantly better objective function values (in total, we see a reduction of almost 50% from M1 to M1+(a)+(b)), but the optimality for additional instances can only be witnessed after having added Reduction (c). Hence, from the point of view of model performance, Reduction (c) as a whole (i.e, using heuristic information plus warm start) is typically slightly superior to the other two individual techniques. Some more detailed results can also be found in Table 8in the “Appendix” section. Moreover, Fig. 3additionally gives an overview of the average objective values (again only for the 80 harder instances with n≥150) over time. Besides the obvious and substantial improvements of M1,M2 , and M3(over the original versions), we highlight the very good performance of M2(see Fig. 4for an enlarged section) at almost all instants of time, which we again particularly attribute to the much smaller model size. Although Fig. 4might suggest this, M2is nevertheless not better than M1or M3for every single instance, see also Table 5. We observe that the comparison between M1and M2ends in a draw here, with 16 wins for each of the models, while both of the previously mentioned formulations dominate the M3model in terms of the objective function value found much more often than they are defeated by it. From a general point of view, it can be said that the advantages of M1lie in particular in its ability to obtain proven optimal solutions, while M2is able to (on average) produce slightly better feasible points even for challenging instances of the TBPP-FU. The high quality of the approximate solutions obtained from M1and M2is also confirmed by the fact that the best (rounded-up) 123 Variable and constraint reduction techniques for the TBPP-FU 2351 Fig. 3 Temporal development of the average objective value for n≥150 by the various formulations. To better distinguish the new models, which are very close to each other, we refer to Fig. 4 Fig. 4 An enlarged section from Fig. 3to better compare M1, M2,andM3  LP bound (over all models) for the instances considered in Fig. 4averaged 34.55. The fact that M3, in the light of Table 5, now tends to perform worst in the comparison of the three formulations is mainly due to the fact that, according to Table 2,ithaslost its former leading position (in terms of model size) to the other two formulations as a result of the very powerful improvements from Sect. 3. Overall, it can be concluded that the methods presented in Sect. 3(and the warm start of the solver) not only substantially improve the performance of the models individually, but also result in the advantageous features of the M3-type approaches (listed in [17]) now being barely discernible in most of the numerical comparisons. As a consequence, also M3is outperformed in many respects by M1and M2. 4.4 An outlook: valid cuts from lot sizing In the literature there are many problems of operations research which, similar to the TBPP-FU, assign additional costs to the start-up of a machine, see for example the uncapacitated lot sizing problem [21]. For that problem, classes of valid inequalities are also known, whose applicability and usefulness for the TBPP-FU we want to briefly discuss here as a conclusion of our considerations. In particular, this is also 123 2352 J. Martinovic et al. Table 5 Comparison between the three improved formulations M1M2M3 M1–1625 M216 – 26 M315 15 – An integer number x∈Nat position (i,j)in the table means, that formulation iwas strictly better (i.e., it found a better feasible point) than jin xcases to emphasize that the improvements in compact models achieved in this article have indeed reached a certain plateau level and, as a consequence, that obvious ideas from adjacent fields do not easily lead to further numerical advantages. For the sake of exposition, in a final experiment, let us therefore add the following types of constraints to M1 wtk ≤ytk, wtk ≤1−yt−1,k, lbt≤ k∈K ytk. The first two sets are directly taken from [21], establish an additional w-y-coupling of the variables appearing in M1, and can be added for all k∈Kand t∈TS(k). In particular, these restrictions include that a server that is active at a given instant of time cannot be activated at the following point in time. The third set of conditions involves a lower bound lbt∈Nwhich is defined as the optimal value of a bin packing problem containing precisely the subset Itof jobs being available at time t∈TS.By that, we make sure that sufficiently many servers are active at every time instant to accommodate the items that are executed at that moment. Remark 5 Since all these valid cuts explicitly require the presence of the y-variables, they cannot be applied to M2or M3. Let us refer to the model containing all these new valid inequalities by M1. Then, for the benchmark set and hardware specified in Sect. 4.1, we obtain the average numbers collected in Table 6. In terms of model size, we note that variables remain untouched, while there is an obvious increase in the number ncon of constraints and also in the number nnz of non-zero elements in the system matrix. In contrast, the LP bound zLP at the root node improves only negligibly. In our observations, these opposing effects nevertheless lead to a marginal improvement of the model performance overall. As can be seen from the exit gap, slightly better feasible points are found on average, so that in the end exactly one more instance could be optimally solved. We attribute this in particular to the fact that although the additional inequalities do not necessarily contribute to raising the continuous bound in the root node, they do help to keep the resulting branch-and-bound trees (over the entire time period) somewhat smaller, see also Fig. 5. 123 Variable and constraint reduction techniques for the TBPP-FU 2353 Table 6 A brief overview of the numerical comparison between M1and M1 Indicator Units M1M1 Diff nvar 1036.1 6.1 ±0% ncon 1039.4 12.6 +34% nnz 103102.1 110.0 +7.7% zLP – 32.7 32.8 +0.3% Exit gap % 3.9 3.4 −12.8% opt – 103 104 +1% ts 727.6 705.5 −3% The column ’Diff’ measures the percentage deviation of the new value from the previous one. Please note that positive and negative deviations may have a separate meaning depending on the criterion Fig. 5 The average number of unexplored nodes (for M1and M1) over time. The average is built based on all 160 instances Finally, however, we would like to point out that despite the same software and hardware, the solution process applied by the Gurobi solver is subject to a high degree of randomization and thus a comparison of both sets of experiments (with such a small difference) is difficult. In particular, we do not want to claim that the small performance deviations between the two variants are an actual advancement of the model itself, since they could have been caused by other effects. Even though we will refer to M1as state-of-the-art for these reasons, it was important to us to at least briefly discuss this alternative variant in the context of an outlook, since one or the other version could prove to be more advantageous for concrete problem instances from practice or other (future) benchmark sets. 5 Conclusions In this article, we dealt with the temporal bin packing problem with fire-ups, a relatively new decision making problem in operations research typically leading to integer models of challenging size. Even though some fundamental methods for obtaining more tractable formulations have already been described in the recent literature, these investigations do not yet turn out to be “complete” upon closer inspection, especially 123 2354 J. Martinovic et al. because the incorporation of heuristic information has so far only been possible for a few special cases. Therefore, the contributions of this article were aimed in particular at three methods to improve existing ILP models: “optimizing” the set of constraints (by removing redundancies and tightening some inequalities), adding valid inequalities, and reducing the number of servers to be considered (thus considerably decreasing the overall model size). Based on numerical computations, the positive effects of the new techniques (together with the warm start of the solver) could be manifested. We underline not only the fact that, as a result of the improvements, each model was able to solve at least 15 additional instances (compared to its previous version from [17]) of the challenging benchmark set from [3], but also highlight that, in particular, the optimal solution of 14 instances (twelve by M1,ninebyM2 , seven by M3, and six by all three models) was obtained for the first time. Now that the investigation of assignment models for the TBPP-FU is somewhat “complete”, future research should focus in particular on flow-based models or branch-and-price approaches. Moreover, theoretical results dealing with the worst-case performance of heuristics for the TBPPFU have not yet been addressed at all in the literature. From a practical point of view, also generalizations of the problem considered here could be explored, in which, for example, the time interval [si,ei)of a job can be shifted slightly, which is then associated with penalty costs (for early or late execution). An idea related to this in a certain sense has already been mentioned in the concluding parts of [10] for the TBPP. Funding Open Access funding enabled and organized by Projekt DEAL. Availability of data and material The instances used in that paper were originally designed in [3] and can be found online, see https://github.com/sibirbil/TemporalBinPacking. Declarations Conflict of interest The authors declare that they do not have any conflicts of interest. Code availability The instances were solved by the commercial software Gurobi. The underlying implementation of the models in Python can be found in https://github.com/wotzlaff/tbpp-cf2. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. A Further numerical results See Tables 7and 8. 123 Variable and constraint reduction techniques for the TBPP-FU 2355 Table 7 Detailed numerical results for every instance (numbered from 1 to 5 for any parameter constellation) of the considered benchmark set zbest M1M2M3 n¯sd ici1 2 3 4 5 123451234512345 50 50 dScL1820182220SSSSSSSSSSSSSSS cH2428272822SSSSSSSSSSSSSSS dLcL3230283030SSSS SSSS SSSSS cH3844485446SSSSSSSSSSSSSSS 60 dScL1616181618SSSSSSSSSSSSSSS cH2429232420SSSSSSSSSSSSSSS dLcL2832303028SSSSSSSSSSSSSSS cH4438384840SSSSSSSSSSSSSSS 100 100 dScL2022242422SSSSSSSSSSSSSSS cH4135333332SSSSSSSVVSSSSVS dLcL3638363634VVVVS VVVVS VVVVS cH46 58 48 46 56 V V S V V V S V V V S V V 120 dScL2022182020SSSSSSSSSSSSSSS cH3528322731SSSVSVVVVV S VVV dLcL3030303432SSVSSSSVSSS VSS cH42 52 42 48 44 V S S V S V S V S V S S V S 123 2356 J. Martinovic et al. Table 7 continued zbest M1M2M3 n¯sd ici1 2 3 4 5 123451234512345 150 150 dScL2022202422SSSSSSSSSSSSSSS cH40 46 41 35 35 S V V V V V V V dLcL3842404038SV VSSVSVSSVSVS cH51 57 57 58 50 V S V S V S V 180 dScL2018182022SSSSSSSSSSSSSSS cH41 25 33 38 38 S S S V S V V V S dLcL3234323232SVVSSSVVSSSVV S cH51 48 58 55 48 S S S V V S S V S 200 200 dScL2424292224SSVSSSSVSSSSVSS cH46 49 39 29 37 V V V V V V dLcL40 40 40 36 40 V S V V V S V S V V S V V cH57 58 50 59 65 S S V V V 240 dScL2220222024SSSSSVSSS S S cH41 42 41 54 48 V V V V V V dLcL36 30 34 36 32 V S S V V V S S V V V S S V V cH53 43 56 54 53 V V V V V V V The table contains the best objective value zbest found by any of the models M1,M2 ,andM3 as well as the information which approach led to that value (indicated by ’V’). Whenever, in addition, an instance was solved to proven optimality by a given formulation, we use the symbol ’S’ (instead of ’V’). This table also supports the observations from Remark 3 123 Variable and constraint reduction techniques for the TBPP-FU 2357 Table 8 Detailed results for the 80 instances with n∈{150,200}solved by different variants of M1 M1 M1+(a) M1 + (a) + (b) M1(cold) M1 n¯sd icit opt t opt t opt t opt t opt 150 150 dScL462.4 (4) 296.1 (5) 299.5 (5) 69.3 (5) 23.9 (5) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1729.0 (1) dLcL1502.3 (1) 1458.3 (1) 1458.7 (1) 1455.7 (1) 1247.5 (2) cH1517.8 (1) 1578.9 (1) 1349.4 (2) 1504.5 (1) 1456.7 (1) 180 dScL93.7 (5) 20.8 (5) 21.2 (5) 4.4 (5) 22.3 (5) cH1682.6 (2) 1509.9 (1) 1442.7 (2) 1200.4 (3) 1301.7 (3) dLcL1800.0 (0) 1448.8 (1) 1448.9 (1) 1108.5 (2) 886.3 (3) cH1800.0 (0) 1713.3 (1) 1578.1 (1) 1534.0 (2) 1271.6 (2) Average (Sum) 1332.3 (13) 1228.3 (15) 1174.8 (17) 1084.6 (19) 992.4 (22) 200 200 dScL582.8 (4) 430.9 (4) 431.9 (4) 393.1 (4) 385.0 (4) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) dLcL1574.1 (1) 1492.8 (1) 1493.5 (1) 1659.7 (1) 1536.1 (1) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1583.5 (1) 1293.7 (2) 240 dScL220.1 (5) 84.6 (5) 85.2 (5) 44.5 (5) 35.2 (5) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) dLcL1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1109.3 (2) cH1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) 1800.0 (0) Average (Sum) 1422.1 (10) 1376.0 (10) 1376.3 (10) 1360.1 (11) 1219.9 (14) We start with the original version from [17], which is then improved step-by-step with the methods presented in Sect. 3. Reduction (c) is split into two parts: at first, we just reduce the number of servers by using heuristic information, but we do not provide the feasible starting point (called “M1(cold)” in the table), then, in a second step, we make use of the warm start option (leading to M1) 123