원시데이터 수집 시스템
선정목록으로

Integration of discrete-event dynamics and machining dynamics for machine tool: Modeling, analysis and algorithms

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Mason Ma — Department of Industrial and Systems Engineering, University of Tennessee Knoxville, Knoxville, TN 37996, USA
  2. Alisa Ren — Department of Industrial and Systems Engineering, University of Tennessee Knoxville, Knoxville, TN 37996, USA
  3. Christopher W. Tyler — Manufacturing Science Division, Oak Ridge National Laboratory, Oak Ridge, TN 37830, USA
  4. Jaydeep Karandikar — Manufacturing Science Division, Oak Ridge National Laboratory, Oak Ridge, TN 37830, USA
  5. Michael A. Gómez — MSC Industrial Supply Company, Knoxville, TN 37932, USA
  6. Tony Shi — Department of Industrial and Systems Engineering, University of Tennessee Knoxville, Knoxville, TN 37996, USA
  7. Tony L. Schmitz — Manufacturing Science Division, Oak Ridge National Laboratory, Oak Ridge, TN 37830, USA|||Department of Mechanical, Aerospace and Biomedical Engineering, University of Tennessee Knoxville, Knoxville, TN 37996, USA
DOI
10.1016/j.mfglet.2023.08.096
저널
Manufacturing Letters
발행년도
2023
발행기관
Elsevier BV
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.mfglet.2023.08.096
토픽
Injection Molding Process and Properties
OpenAlex ID
W4387463171

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Machining dynamics research lays a solid foundation for machining operations by providing stable combinations of spindle speed and depth of cut. Furthermore, machine learning has been applied to predict tool life as a function of cutting speed. However, the existing research does not consider the discrete-event dynamics in machine shop, i.e., the machine tool needs to process a series of parts in queue under various practical production requirements. This paper addresses the integration of discrete-event dynamics and machining dynamics to achieve cost savings in machining. A learning-based cost function is first proposed for the studied integrated optimization problem of machine tool. The proposed cost function utilizes the predicted tool life under different stable cutting speeds for further optimizing speed selection of machine tool to deal with the discrete-event dynamics in machine shop. Then, according to the practical production requirements, effective mathematical optimization models are developed for the related integrated optimization problems with the consideration of cost, makespan and due date, respectively. Numerical results show the effectiveness of our proposed methods and also the potential to be used in practice.

본문 66,395자

본문 펼치기
## Integration of discrete-event dynamics and machining dynamics for machine tool: modeling, analysis and algorithms Mason Ma <sup>a</sup>, Alisa Ren <sup>a</sup>, Christopher Tyler <sup>b</sup>, Jaydeep Karandikar <sup>b</sup>, Michael Gomez <sup>c</sup>, Tony Shi <sup>a,</sup> <sup>_∗_</sup>, Tony Schmitz <sup>b,d</sup> _aDepartment_ _of_ _Industrial_ _and_ _Systems_ _Engineering,_ _University_ _of_ _Tennessee_ _Knoxville,_ _Knoxville,_ _TN_ _37996,_ _USA_ _bManufacturing_ _Science_ _Division,_ _Oak_ _Ridge_ _National_ _Laboratory,_ _Oak_ _Ridge,_ _TN_ _37830,_ _USA_ _cMSC_ _Industrial_ _Supply_ _Company,_ _Knoxville,_ _TN_ _37932,_ _USA_ _dDepartment_ _of_ _Mechanical,_ _Aerospace_ _and_ _Biomedical_ _Engineering,_ _University_ _of_ _Tennessee_ _Knoxville,_ _Knoxville,_ _TN_ _37996,_ _USA_ Abstract Machining dynamics research lays a solid foundation for machining operations by providing stable combinations of spindle speed and depth of cut. Furthermore, machine learning has been applied to predict tool life as a function of cutting speed. However, the existing research does not consider the discrete-event dynamics in machine shop, i.e., the machine tool needs to process a series of parts in queue under various practical production requirements. This paper addresses the integration of discrete-event dynamics and machining dynamics to achieve cost savings in machining. We first propose a learning-based cost function for the studied integrated optimization problem of machine tool. The proposed cost function utilizes the predicted tool life under different stable cutting speeds for further optimizing speed selection of machine tool to deal with the discrete-event dynamics in machine shop. Then, according to the practical production requirements, we develop several mathematical optimization models for the related integrated optimization problems with the consideration of cost, makespan and due date. Numerical results show the effectiveness of our proposed methods and also the potential to be used in practice. _Keywords:_ Machine tool, machining dynamics, discrete-event dynamics, mathematical optimization, operational excellence 1. Introduction The daily operations of machine tools aim to produce products to fulfill orders with various production requirements at the minimum cost. This involves both the machining dynamics that govern the material cutting by the machine tool, and the discrete-event dynamics that govern the production of a series of parts queued at the machine tool. Studies in the two fields have independently made important contributions to the operational excellence of machine tools in production environments. _∗_ Corresponding author. Tel.: +1-865-974-7654. _Email_ _address:_ `tony.shi@utk.edu` (Tony Shi) 1 The research of machining dynamics has laid a solid foundation for the operational excellence of machine tool by providing a set of stable cutting parameters, including spindle speed. The related studies focus on the physical constraints and modeling of machining processes [20, 21], the stable and chatter machining parameters identification [1, 8], tool wear and tool life prediction [9, 10], cutting force modeling and measurement [13, 6] and etc. The machining of a single part is typically considered in these research studies. However, few research efforts have considered the practical production requirements for hundreds or even thousands of parts from multiple accepted orders. In the meantime, the discrete-event dynamics research for manufacturing typically considers the production scheduling of a series of parts that are in the queue of the machine tool. The operational excellence is usually achieved at the machine shop level by considering various production requirements, such as order scheduling on parallel machines [23, 18, 17], production scheduling on batch machines [16, 14], buffers for machines [25, 12], due date requirement [4] and etc. However, these studies do not consider the physical constraints and practical operating of the machine tools, such as the machining stability and tool life, which can significantly impact the accuracy of processing times. Most existing studies assume that the processing times are fixed and known. As such, the solutions from these studies are often impractical. Therefore, the integration of machining dynamics and discrete-event dynamics is critical and promising. In the literature, a few studies have considered the production scheduling of machine tool, such as machine tool feed rate scheduling for processing parts with various geometry [3, 2], computer numerical control (CNC) machine scheduling with controllable processing times constrained by tool life [11, 7], tool replacement scheduling to balance cost of machining conditions, product quality and tool life [22, 24]. However, to our knowledge, no research to date addresses how to integrate machining dynamics, including the machining stability, various cutting speeds and tool life, into discrete-event dynamics for the operational excellence of machine tool. We seek to fill this gap. In this paper, we address the problem of integration of discrete-event dynamics and machining dynamics, denoted by IDM, to increase the profit of machine shop. The machine shop wants to reduce the total cost for producing all fulfilled orders by selecting an appropriate cutting speed for each order. We analyze the problem under two scenarios of the practical production constraints with increasing complexities: 1) The integrated optimization of cost and makespan; 2) The integrated optimization of cost and due date. While only optimizing cost is the foundation, the above two scenarios increase the fidelity of our studied problem to practical production. We show that we can take advantage of high speed machining and proper production schedule to reduce the overall cost. We organize the rest of the paper as follows. In Section 2, we present the detailed problem settings for both the discrete-event dynamics and the machining dynamics. A learning-based cost function for machine tool is given in Section 3. Different production scenarios are studied in Sections 4 and 5. The mathematical optimization models, analysis and algorithms are provided. In Section 6, we present numerical results for the proposed methods. Section 7 concludes this paper. 2 2. Problem Settings In this section, we describe our problem settings of IDM in terms of orders and parts, stable spindle speed, processing time and tool life, and machine shop production and the cost. _2.1._ _Discrete-Event_ _Dynamics:_ _Order_ _and_ _Part_ _Setting_ We specify the production for _n_ accumulated orders, each consisting of a number of parts. For example, a machine shop may receive more than 10 orders from the master production plan for daily operations. We address how to schedule the production of the machine tool by identifying the best speeds for each of these orders and scheduling their sequences in the queue of the machine tool to save total production cost. Mathematically, we define the set of _n_ orders as _J_ = _{_ 1 _,_ 2 _, . . ., n}_ . Each order consists of a specific quantity of parts, denoted by _lj_, _j_ _∈J_ . In this paper, we assume all the parts of an order are the same type, but parts for different orders can be different. The different part types can be resulted by different situations, such as material type, part geometry, and etc. For the single type of part in an order _j_, let the volume to be removed by machining for each part be _vj_, such that the total volume to be removed (i.e. workload of order _j_ ) can be calculated by _vjlj_ . All the orders are released at time zero. A due date _dj_ is associated for order _j_ before which all parts of the order must be produced. The challenges for such discrete-event dynamics research are that the processing times of orders are various due to different cutting speeds for different part types. To obtain the operational excellence for machine tool, the critical issue is to obtain the accurate estimation of processing time for orders. _2.2._ _Machining_ _Dynamics:_ _Spindle_ _Speed_ _and_ _Tool_ _Life_ _Setting_ Machining dynamics provides the foundation for accurate processing time estimation via the machining stability and tool life estimation under a wide variety of spindle speeds. Without loss of generality, we adopt the milling settings throughout this paper. The stability lobe diagram (SLD) enables to select the best stable spindle speeds at increased axial depth of cut, as shown in Fig. 1. The machining process can either be stable, that are the green circles below the stability boundary (blue curve), and chatter (red cross). In practice, for a given tool-material combination, the SLD can be obtained by conducting impact test. For more details, see the SLD and its governing relationship in [15]. In this paper, we assume the stable spindle speeds are selected from SLD generated by impact test. Given a stable spindle speed Ωby SLD and a part with the volume to be removed as _v_, the machining time then can be calculated as _<u>v</u>_ _<u>v</u>_ _t_ = _MRR_ <sup>=</sup> _abftNt_ Ω <sup>_,_</sup> (1) where MRR is the material removal rate defined as the average volume of material removed per unit time with a chosen stable spindle speed Ωfrom the SLD, _a_ and _b_ the radial and axial depth of cut, and _ft_ is the feed per tooth. In this paper, we calculate _t_ by considering various Ωwith fixed _a_, _b_ and _ft_ as the same setting in [10]. 3 Figure 1: Stability lobe diagram (SLD) to determine the stable and unstable cutting (chatter) by choosing parameters spindle speed (Ω) and axial depth of cut ( _b_ ). Notably, the tool life is decided directly given by the machining parameters, like the spindle speed Ω. In general, this is given by the Taylor’s tool life equation [19]: _V T_ <sup>_N_</sup> = _C,_ (2) where the cutting speed _V_ is the peripheral velocity by _V_ = _πD_ Ω, _D_ is the diameter of the tool, and _T_ is the tool life. _N_ and _C_ are constants. Whilst higher spindle speed can increase the machining efficiency of jobs with less machining time _t_, it leads to reduction of tool life. Thus, there exists a balance of tool life and the machining time which will eventually impact the cost. To obtain the tool life model is usually by machine learning methods. In this paper, we use a state-of-the-art machine learning model in [10] to generate the tool life as input for our method, as discussed in Section 3. _2.3._ _Production_ _and_ _Cost_ _Settings_ For production setting, we specify there is a single machine tool. There are large quantity of tool edges of the same type that are capable of processing all the _n_ orders. In practice, it is often infeasible to complete a fractional number of a part for a tool edge as it requires to change the tool edge in the middle of the cut. Typically, when the rest tool life is not long enough for machining a single part, the tool edge needs to be changed with a new one. The orders are produced sequentially in the queue of the machine tool. No preemption and interruption of orders are allowed. Furthermore, the worker would use the same spindle speed to machine all the parts in one order, regardless of changing tool edges in between the machining process. This is realistic and easy to implement by the on-site workers, because the quality of all parts within an order need to be maintained uniformly by keeping the same cutting conditions. The objective is to minimize the overall cost introduced by machine tool operating cost for machining parts plus the tool edges. In [10], a cost model per part was provided as _Cp_ = _rmt_ + <sup><u>(</u></sup> <sup>_<u>rmtch</u>_</sup> <sup><u>+</u></sup> <sup>_<u>Cte</u>_</sup> <sup><u>)</u></sup> <sup>_<u>t</u>_</sup> _,_ (3) _T_ 4 where we denote _rm_, _tch_, _Cte_ and _Cp_ as the machine tool operating cost in $ per unit time, the time required for changing a tool edge, the cost in $ per tool edge and the total cost per part, respectively. This model, however, considers the cost for a single part, rather than the overall cost of orders for hundreds or even thousands of parts made by different materials. In this study, we extend the above model to represent the overall cost for producing multiple parts in multiple orders as - _,_ (4) _Co_ = _j∈J_ - _rmpj_ + ( _rmtch_ + _Cte_ ) _qj_ where the first term _rmpj_ calculates the machine tool operating cost for processing order _j_ and _pj_ refers to the total machining time with a chosen speed. The second term ( _rmtch_ + _Cte_ ) _qj_ calculates the cost induced by changing tool edges, and _qj_ is the number of tool edges needed for processing order _j_ . Eq. (4) is the generalized form of Eq. (3) to include all orders in the practical machine shop production. In next section, we will present a new cost function through the calculation of _pj_ and _qj_ under the context of multiple orders in machine shop. 3. Learning-based Cost Function for Machine Tool The determination of cost of the orders depends on the machining time and number of tool edges used, which is directly decided by the prediction of tool life. In this section, we present a new cost function based on the tool life prediction in the sense of expectation with a state-of-the-art machine learning model. _3.1._ _A_ _Machine_ _Learning_ _Model_ _for_ _Tool_ _Life_ _Prediction_ Karandikar et al. (2021) [10] developed a physics-guided logistic regression model to predict tool wear probability with cutting speed _V_ and cutting time _T_ as inputs. Through introducing into machine learning Taylor’s power law-based tool life description (see Eq. (2)), the model has a powerful performance in prediction accuracy. The logistic decision boundary of the model, that is, when the probability of tool worn is 0.5, provides an accurate estimation for tool life in the sense of expectation as log( _T_ ) = _−_ <sup>_<u>θ</u>_</sup> <sup><u>1</u></sup> _θ_ 2 log( _V_ ) _−_ <sup>_<u>θ</u>_</sup> <sup><u>0</u></sup> _θ_ 2 _,_ (5) where the coefficients _θ_ 0 = _−_ 89 _._ 57, _θ_ 1 = 13 _._ 57 and _θ_ 2 = 5 _._ 26 are estimated through experimental data for a single-insert endmill (Kennametal KICR073SD30333C) with _D_ = 19 _._ 05 mm diameter and a square uncoated carbide insert (Kennametal 107,888,126 C9 JC). Equivalently, this model can be transformed into the below Taylor’s tool life model after using logarithmic transformation, - _<u>C</u>_ _πD_ Ω �1 _/N_ = �1 _/N_ _,_ (6) _T_ = - _<u>C</u>_ _V_ where _N_ = 0 _._ 388 and _C_ = 735 _._ 2 m/min using the above values of _θ_ 0, _θ_ 1 and _θ_ 2. The logistic model in the logarithmic and original space of _V_ and _T_ is shown in the two panels of Fig. 5 Figure 2: Probability of tool worn as a function of cutting speed from the trained logistic model; the train data points are shown in light and the test data points are shown in dark. The left panel shows the results in the logarithmic space and the right panel in the original space. Figures are reproduced from [10]. 2. The gray scale indicates the probability of tool worn with a cutting speed _V_ (horizontal axis) and cutting time _T_ (vertical axis). We will use Eq. (6) throughout this paper for tool life prediction. _3.2._ _Calculation_ _of_ _Learning-based_ _Cost_ _Function_ Based on the learning-based tool life model in [10], a cost function is developed for multiple orders. As the parts for different orders can be made by different materials, the SLD of the same tool edge for different orders (parts) are different. As a result, the candidate stable spindle speeds for orders are also different. Thus, we define the matrix of spindle speed as Ω11 Ω12 _· · ·_ Ω1 _n_ Ω21 Ω22 _· · ·_ Ω2 _n_ ... ... ... ... Ω _m_ 1 Ω _m_ 2 _· · ·_ Ω _mn_  (7)  _,_ Ω =   where the entry Ω _ij_ refers to the spindle speed for processing order _j_ with spindle speed _i_, _i ∈I_, and _I_ = _{_ 1 _,_ 2 _, . . ., m}_ is defined as the index set of available stable spindle speed. For a given spindle speed Ω _ij_ to process order _j_, the tool life _Tij_ is calculated by Eq. (6). Also, the total machining time _pij_ for processing order _j_ with spindle speed Ω _ij_ calculated as _<u>vjlj</u>_ _pij_ = _abftNt_ Ω _ij_ _,_ (8) where _vjlj_ indicates total volume of order _j_ by multiplying its part quantity _lj_ with the part volume _vj_ . When arranged _Tij_ and _pij_ in matrix form, we can obtain the below matrices for tool life and machining time: _T_ 11 _T_ 12 _· · ·_ _T_ 1 _n_ _T_ 21 _T_ 22 _· · ·_ _T_ 2 _n_ ... ... ... ... _Tm_ 1 _Tm_ 2 _· · ·_ _Tmn_   _p_ 11 _p_ 12 _· · ·_ _p_ 1 _n_ _p_ 21 _p_ 22 _· · ·_ _p_ 2 _n_ ... ... ... ... _pm_ 1 _pm_ 2 _· · ·_ _pmn_   and P = 6  (9)  _,_ T =   Using T, we can now compute the number of tool edges needed for each order with different spindle speeds as matrix _q_ 11 _q_ 12 _· · ·_ _q_ 1 _n_ _q_ 21 _q_ 22 _· · ·_ _q_ 2 _n_ ... ... ... ... _qm_ 1 _qm_ 2 _· · ·_ _qmn_  (10)  _,_ Q = where each entry is calculated by   _qij_ = _<u>lj</u>_ <u>�</u> _Tij/tij_ <u>�</u> _<u>vj</u>_ _,_ and _tij_ = _abftNt_ Ω _ij_ _._ (11) The term _tij_ is the machining time for a single part of order _j_ with spindle speed Ω _ij_ . Thus, with floor function, _⌊Tij/tij_ - refers to the number of parts of order _j_ that can be finished by a single tool edge. Finally, the number of tool edges for processing _lj_ parts can be obtained by the ceiling function. We can further obtain the summation of total machining time and tool edge change time for each order under all its candidate spindle speeds. This summation, denoted by _hij_, represents the total processing time occupied by order _j_ if with speed _i_ : _hij_ = _pij_ + _tchqij._ (12) The associated total time matrix is denoted by _h_ 11 _h_ 12 _· · ·_ _h_ 1 _n_ _h_ 21 _h_ 22 _· · ·_ _h_ 2 _n_ ... ... ... ... _hm_ 1 _hm_ 2 _· · ·_ _hmn_  (13)  _._ H =   Finally, with matrices P, Q and H, we can obtain the cost function for processing all orders as _fcost_ ( _x_ ) = - _j∈J_ _i∈I_ ( _rmhij_ + _Cteqij_ ) _xij._ (14) Note here we introduce an indicator _xij_ defined as _xij_ := 1 _,_ if speed _i_ is chosen for processing order _j,_ (15) 0 _,_ otherwise. Eq. (14) integrates both the machining dynamics, that is, term _rmhij_ + _Cteqij_ based on the cost function for parts of orders, and the discrete-event dynamics, that is, discrete variable _xij_ in Eq. (15) for choosing different speeds for different orders to achieve the reduction of production cost. In next section, we will optimize the speed selection through controlling _xij_ under the discrete-event dynamics environment of machine shop such that _fcost_ ( _x_ ) can be minimized for processing all orders. Before that, we show an illustrative example. 7 _3.3._ _Illustration_ _of_ _Cost_ _Saving_ _by_ _the_ _Proposed_ _Integration_ As an illustrative example of our proposed integration, we show two scenarios in Fig. 3 for processing an order: with faster speed in (a) obtained by the expected cost method in [10], and slower speed in (b) by solving our developed M1 model in Section 4. The light grey period is for tool machining, the light green period is for changing the tool edge. The red dashed sections refer to the waste time that is not enough for machining a single part before its tool life comes to end, while the one in the last tool edge is wasted because all parts are done. Figure 3: Illustrative example for choosing different speeds to process multiple parts of an order by the expected cost method in [10] and solving our developed model M1 in Section 4. By choosing slower speed, we process one more part per tool edge in (b) in comparison with (a). The last three parts on the 4th tool edge of (a) are thus moved back to the 3rd tool edge. This leads to saving the last tool edge and reducing the waste time for each tool edge in (a), and importantly, reducing the cost from $244.18 to $223.14. See details in Section 6. By choosing slower speed in (b), we process one more part per tool edge in (b) in comparison with (a), namely from 9 part per tool edge to 10. The last three parts on the 4th tool edge of (a) are thus moved back to be processed with the 3rd tool edge, saving the last tool edge and reducing the waste time for each tool edge in (a). Notably, the production cost is reduced from $244.18 to $223.14. The makespan is increased from 80.82 min to 81.09 min as a sacrifice of the reduced cost. Such trade-off between cost and makespan is meaningful in practical production. Note Figure 3 only gives the case when smaller speed will lead to cost reduction, it is more often and realistic to reduce cost by increasing the speed for high speed machining, and this exactly shows our motivation for this study. 4. Integrated Optimization of Cost and Makespan We denote our problem when only cost is considered as IDM-C, which is studied in Sections 4.1 - 4.2 . In section 4.3, we study the IDM problem when integrated optimization of cost and makespan is considered, denoted by IDM-CM. Integer optimization (IO) models 8 are presented for both problems. For clarity, we first summarize all the notations that will be used for all the models proposed in this paper throughout. Sets: _J_ : set of orders, _J_ = _{_ 1 _,_ 2 _, . . ., n}_ . Each order _j_ consists of a quantity of _lj_ parts that are the same part type with the volume to be removed as _vj_ ; _I_ : index set of stable candidate spindle speed for arbitrary order, _I_ = _{_ 1 _,_ 2 _, . . ., m}_ ; Ω : Ω _∈_ R <sup>_m×n_</sup> is the matrix of spindle speed where entry Ω _ij_ refers to the spindle speed _i_ for processing order _j_, _∀j_ _∈J_, _i_ _∈I_ . A column Ω _·_ _j_ refers to all candidate spindle speeds that are stable for processing order _j_ ; T : T _∈_ R <sup>_m×n_</sup> is the matrix of tool edge life if selecting spindle speed Ω _ij_ for order _j_, _∀j_ _∈J_, _i ∈I_ . Each entry _Tij_ is calculated by Eq. (6); P : P _∈_ R <sup>_m×n_</sup> is the matrix of total machining time for all orders where entry _pij_ refers to the total machining time if selecting Ω _ij_ to process order _j_, as in Eq. (8); Q : Q _∈_ Z <sup>_m_</sup> + <sup>_×n_</sup> is the matrix of the number of tool edges needed for order _j_ with entry _qij_ calculated by Eq. (11); H : H _∈_ R <sup>_m×n_</sup> is the matrix of total processing time where entry _hij_ consists of two parts: total machining time _pij_ and the tool change time _tchqij_, as calculated by Eq. (12). Parameters: _rm_ : machine tool operating cost ratio in $ per unit time; _tch_ : time required for changing a tool edge; _Cte_ : cost in $ per tool edge. Decision variables: _xij_ : _xij_ = 1 if spindle speed Ω _ij_ is selected for processing order _j_, _∀j_ _∈J_ and _i_ _∈I_ . Otherwise, _xij_ = 0. _4.1._ _Model_ _with_ _Only_ _Cost_ _Consideration_ When only cost is under consideration, the below IO model M1 aims to find the optimal spindle speed for each order, such that the cost function can be minimized. min _fcost_ ( _x_ ) (M1) s.t. _i∈I_ _xij_ = 1 _,_ _∀j_ _∈J,_ (16) _xij_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j_ _∈J ._ (17) The objective is to minimize the overall cost _fcost_ ( _x_ ) of producing _n_ orders. Constraints (16) ensure that each order must be processed by only one spindle speed. Constraints (17) provide the binary variable restriction on _xij_ . 9 We show the constraint matrix of formulation M1 is totally unimodular. Thus, the IO model can be solved as a linear programming (LP) model. To do this, we arrange the variables in the sequence of _x_ 11 _, x_ 21 _, . . ., xm_ 1; _x_ 12 _, . . . xm_ 2; _. . ._ ; _x_ 1 _n, . . ., xmn_ as columns of the constraint matrix. The constraint matrix A _∈_ Z <sup>_n×mn_</sup> for constraints (16) is as below: 1 <sup>_th_</sup> _. . . m_ <sup>_th_</sup> ( _m_ + 1) <sup>_th_</sup> _. . ._ 2 _m_ <sup>_th_</sup> _. . ._ (( _n −_ 1) _m_ + 1) <sup>_th_</sup> _. . . nm_ <sup>_th_</sup> 1 _. . ._ 1 0 _. . ._ 0 _. . ._ 0 _. . ._ 0 0 _. . ._ 0 1 _. . ._ 1 _. . ._ 0 _. . ._ 0 ... ... ... ... ... ... ... ... ... ... 0 _. . ._ 0 0 _. . ._ 0 _. . ._ 1 _. . ._ 1  (18)  _._ A =   The above 0, 1 matrix A is totally unimodular because it satisfies the following two conditions: (1) there are at most two nonzero elements in each column of A, which is number 1 and there is only one entry for each column to be 1; (2) A admits an equitable rowbicoloring. In particular, the rows of A can be partitioned into two sets, say “red set” as row 1 and “blue set” as rows 2 to n. It’s easy to check that the sum of the red rows minus the sum of the blue rows is a vector with entries _±_ 1. As a result, the polyhedron for formulation M1 is integral, which has integral extreme points. Thus, it always admits an integral solution and is equivalent to solving the LP relaxation: min _fcost_ ( _x_ ) (M1-LP) s.t. _i∈I_ _xij_ = 1 _,_ _∀j_ _∈J,_ (19) _xij_ _∈_ [0 _,_ 1] _,_ _∀i ∈I, j_ _∈J,_ (20) where we relax the binary variable constraints _xij_ _∈{_ 0 _,_ 1 _}_ into the interval _xij_ _∈_ [0 _,_ 1]. Next, we develop an exact algorithm. _4.2._ _Decomposition-based_ _Greedy_ _Algorithm_ Formulation M1 naturally adopts a decomposition for both the objective and the constraints for each order. While every order must be assigned with a spindle speed, there are no additional constraints that couples the assignment of spindle speed for different orders. Therefore, the assignment of spindle speed for each order is independent. That is, for each order _j_, we can select the optimal speed from _m_ candidates that minimize its cost _rmhij_ + _Cteqij_ in the objective. In general, we denote the described procedure as Decomposition-based Greedy (DG) and summarize as the below Algorithm 1. For Algorithm 1, we have the below lemma to show the optimality of its solution. Lemma 4.1. _Given_ _n_ _orders_ _and_ _m_ _candidate_ _speeds,_ _Algorithm_ _1_ _solves_ _problem_ _IDM-C_ _optimally_ _in_ _O_ (18 _mn_ + _n_ ) _time._ _Proof._ To prove DG algorithm is optimal, we do it by contradiction. Suppose the solution of DG is not optimal, then there must exist at least one order, denoted by <sup>ˆ</sup> _j_, that selects a spindle speed with smaller cost _rmhij_ + _Cteqij_ than <sup>ˆ</sup> _j_ . This contradicts with steps 7-9 of DG, which selects the spindle speed with the smallest cost. Thus, Algorithm 1 is an exact algorithm. 10 <u>Algorithm</u> <u>1:</u> <u>The</u> <u>DG</u> <u>algorithm</u> Input : Data matrices Ω ; order set _J_ and associated _lj_ and _vj_ ; the cost parameters _rm_, _tch_ and _Cte_ . 1 Initialize _fcost_ ( _x_ ) = 0; _xij_ = 0 _, ∀i ∈I, j_ _∈J_ ; 2 Calculate matrices T, Q, P and H with Eqs. (6) - (12); 3 for _j_ _∈J_ do `/*` `Decompose` `as` _n_ `subproblems` `*/` 4 for _i ∈I_ do `/*` `Find` `best` `speed` `for` _j_ `*/` 5 Compute _Objij_ = _rmhij_ + _Cteqij_ ; 6 end 7 Find the best speed _i_ <sup>_∗_</sup> of job _j_ by _i_ <sup>_∗_</sup> := arg min _i∈I Objij_ ; 8 Update _xi_ <sup>_∗_</sup> _j_ = 1; 9 _fcost_ ( _x_ ) _←_ _fcost_ ( _x_ ) + _Obji_ <sup>_∗_</sup> _j_ 10 end 11 Output Optimal cost _fcost_ ( _x_ ), speed _xij, ∀i ∈I_, _j_ _∈J_ Next, we consider the solution time of Algorithm 1. For preparing T, Q, P and H, it takes 2 operations to calculate _Tij_, 6 operations to calculate _qij_, 3 operations to calculate _pij_ and 2 operations to calculate _hij_ . Together with the coupled loops, this takes 14 _mn_ times. For each _j_, it takes 3 _m_ operations to compute _Objij_ for all _i_ _∈I_, _m_ operations to find the speed _i_ <sup>_∗_</sup> with minimum _Objij_, and 1 operation to update the overall cost _fcost_ ( _x_ ), respectively. To sum up, we can get the total time complexity of Algorithm 1 is _O_ (18 _mn_ + _n_ ), which completes the proof. _4.3._ _Integration_ _with_ _Makespan_ Makespan constraint refers to the hard constraint that all the orders must be completed within a given time period. For example, this can describe the fixed time length for the worker shift. To model problem IDM-CM, we need an additional parameter: _c_ : a given constant of the upper bound for the makespan. With this additional parameter, we can model problem IDM-CM by modifying formulation M1 with makespan constraint as below IO model, denoted by M2: min _fcost_ ( _x_ ) (M2) _i∈I_ s.t. _i∈I_ _j∈J_ _xij_ = 1 _,_ _∀j_ _∈J,_ (21) _hijxij_ _≤_ _c,_ (22) _xij_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j_ _∈J ._ (23) Constraint (22) ensures the makespan of producing all the orders not exceeding the given time length _c_ . The makespan constraint adds additional complexity for the problem. We remark the complexity of problem IDM-CM is still open. 11 5. Integrated Optimization of Cost and Due Date We consider problem IDM when the integrated optimization of cost and due date is to be achieved, denoted by IDM-CD. In this case, the sequence of orders needs to be considered. We provide three categories of model based on the choices of decision variables. That are, completion time variables (5.1), linear order variables (5.2) and positional variables (5.3) of orders, respectively. In the first category, we propose a mixed-integer optimization (MIO) model. For each of the latter two, we present a quadratic integer optimization model and an MIO model by applying linearization technique. _5.1._ _Modeling_ _with_ _Completion_ _Time_ _Variables_ In the first model, we use completion time variables to indicate the order sequence for problem IDM-CD. The needed additional variables are defined as follows: _yjk_ : _yjk_ = 1 if order _j_ is processed before order _k_, _∀j, k_ _∈J_ and _j̸_ = _k_ . Otherwise _yjk_ = 0; _Cj_ : completion time of order _j_, _∀j_ _∈J_ . The problem IDM-CD can be formulated as below. min _fcost_ ( _x_ ) (M3-1) s.t. _i∈I_ _xij_ = 1 _,_ _∀j_ _∈J,_ (24) _Cj_ _≥_ _Cj_ + _Ck_ + _i∈I_ _i∈I_ _i∈I_ _hijxij,_ _∀j_ _∈J,_ (25) _hikxik_ _≤_ _Ck_ + _M_ (1 _−_ _yjk_ ) _,_ _∀j_ _< k_ _∈J,_ (26) _hijxij_ _≤_ _Cj_ + _Myjk,_ _∀j_ _< k_ _∈J,_ (27) _Cj_ _∈_ [0 _, dj_ ] _,_ _∀j_ _∈J,_ (28) _xij, yjk_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j, k_ _∈J ._ (29) Constraints (25) ensure that the completion time of each order is no later than its processing time. Constraints (26) and (27) are disjunctive constraints which ensure that either order _j_ is processed before order _k_, i.e. _yjk_ = 1 in constraints (26), or order _k_ is before order _j_, that is _yjk_ = 0 in constraints (27). _M_ is a sufficiently large number. Constraints (28) enforce the completion time is non-negative and no larger than the due date. In this formulation, the _M_ is a natural upper bound for _Cj_ for arbitrary _j_ _∈J_ . Thus, we can set _M_ = <sup>�</sup> _j∈J_ <sup>max</sup> <sup>_i∈I{hij}_</sup> <sup>.</sup> The total number of variables for formulation M3-1 is _n_ <sup>2</sup> + _mn_ + _n_, which includes _n_ <sup>2</sup> + _mn_ binary variables and _n_ <sup>2</sup> + 3 _n_ constraints. Remark 1. _If_ _dj_ = _c_ _for_ _j_ _∈J,_ _problem_ _IDM-CD_ _is_ _reduced_ _to_ _problem_ _IDM-CM._ To check the above remark is valid, it’s obvious to see that when _dj_ = _c_ for _j_ _∈J_, then the makespan of any feasible solutions to problem IDM-CD also satisfy the makespan limit _c_ . Thus, problem IDM-CM is a special case of problem IDM-CD. It is more general for us to study problem IDM-CD. 12 _5.2._ _Modeling_ _with_ _Linear_ _Ordering_ _Variables_ _5.2.1._ _Proposed_ _Integer_ _Optimization_ _Model_ This formulation is based on the linear order variables _yjk_ and _ykj_ that either of them should be equal to 1 for arbitrary _j_ _< k_ _∈J_ . The following formulation M3-2 is considered. min _fcost_ ( _x_ ) (M3-2) s.t. _i∈I_ _xij_ = 1 _,_ _∀j_ _∈J,_ (30) _yjk_ + _ykj_ = 1 _,_ _∀j, k_ _∈J, j_ _< k,_ (31) _yjk_ + _ykl_ + _ylj_ _≤_ 2 _,_ _∀j, k, l ∈J, j̸_ = _k̸_ = _l,_ (32) - - _hijxijyjk_ + _hikxik_ _≤_ _dk,_ _∀k_ _∈J,_ (33) _j∈J_ _i∈I_ _i∈I_ _xij, yjk_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j, k_ _∈J ._ (34) Constraints (31) are a set of conflict constraints, which ensure that either order _j_ is processed before order _k_ or vice versa. Note here _j_ _< k_ because of symmetry. Constraints (32) indicate the transitivity constraints that ensure a linear order of three arbitrary orders. Constraints (33) indicate the starting time of order _k_ plus its processing time must be no larger than its due date. The total number of variables of formulation M3-2 with _m_ speeds and _n_ orders is _n_ <sup>2</sup> + _mn_, which are all binary variables and involve _n_ <sup>3</sup> _−_ 2 _._ 5 _n_ <sup>2</sup> + 3 _._ 5 _n_ constraints. Note that M3-2 is a quadratically constrained IO formulation due to constraints (33). Considering that the current optimization solvers like `CPLEX` cannot efficiently deal with this kind of nonlinear problem, we adopt linearization strategies for this formulation in the following section. _5.2.2._ _Reformulation_ _with_ _Linearization_ _Technique_ To enhance the solvability of formulation M3-2, we first apply the linearization technique proposed in [5] to derive an MIO model, which is equivalent to M3-2. For arbitrary _j_ _∈J_, _k_ _∈J_, let _αjk_ = ( <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>)</sup> <sup>_yjk_</sup> <sup>and</sup> <sup>substitute</sup> <sup>the</sup> <sup>cross-product</sup> <sup>�</sup> _i∈I_ <sup>_hijxijyjk_</sup> <sup>in</sup> <sup>M3-2</sup> _i∈I_ <sup>_hijxij_</sup> <sup>)</sup> <sup>_yjk_</sup> <sup>and</sup> <sup>substitute</sup> <sup>the</sup> <sup>cross-product</sup> <sup>�</sup> _k_ _∈J_, let _αjk_ = ( <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>)</sup> <sup>_yjk_</sup> <sup>and</sup> <sup>substitute</sup> <sup>the</sup> <sup>cross-product</sup> <sup>�</sup> _i∈I_ <sup>_hijxijyjk_</sup> <sup>in</sup> <sup>M3-2</sup> using the following inequalities:      _−_ _Myjk_ _≤_ _αjk_ _≤_ _Myjk,_ _i∈I_ (35) _hijxij_ _−_ _M_ (1 _−_ _yjk_ ) _≤_ _αjk_ _≤_ _i∈I_ _hijxij_ + _M_ (1 _−_ _yjk_ ) _,_ where _M_ is a sufficiently large number. For arbitrary _j, k_ _∈J_, if _yjk_ = 1, then _αjk_ = - _i∈I_ <sup>_hijxij_</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>inequalities</sup> <sup>become</sup> <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>and</sup> <sup>_−M_</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> _i∈I_ <sup>_hijxij_</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> <sup>�</sup> - _i∈I_ <sup>_hijxij_</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>inequalities</sup> <sup>become</sup> <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>and</sup> <sup>_−M_</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> _M_ . Clearly, the equivalence holds. Otherwise, if _yjk_ = 0, the inequalities are <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>_−_</sup> _M_ . Clearly, the equivalence holds. Otherwise, if _yjk_ = 0, the inequalities are <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>_−_</sup> _M_ _≤_ _αjk_ _≤_ <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>+</sup> <sup>_M_</sup> <sup>and</sup> <sup>0</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> <sup>0,</sup> <sup>which</sup> <sup>indicates</sup> <sup>_αjk_</sup> <sup>=</sup> <sup>0.</sup> <sup>Thus,</sup> <sup>we</sup> <sup>get</sup> <sup>an</sup> _M_ _≤_ _αjk_ _≤_ <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>+</sup> <sup>_M_</sup> <sup>and</sup> <sup>0</sup> <sup>_≤_</sup> <sup>_αjk_</sup> <sup>_≤_</sup> <sup>0,</sup> <sup>which</sup> <sup>indicates</sup> <sup>_αjk_</sup> <sup>=</sup> <sup>0.</sup> <sup>Thus,</sup> <sup>we</sup> <sup>get</sup> <sup>an</sup> equivalent model to M3-2. We further reduce the above inequality constraints (35) as    _hijxij_ _−_ _M_ (1 _−_ _yjk_ ) _≤_ _αjk,_ _i∈I_ (36) 0 _≤_ _αjk_ _≤_ _Myjk._ _i∈I_   13 Thus, we obtain a new linearized formulation M3-2-L as below: min _fcost_ ( _x_ ) (M3-2-L) s.t. Constraints (30) _−_ (32) _,_ (37) - _hikxik_ _≤_ _dk,_ _∀k_ _∈J,_ (38) _αjk_ + _j∈J_ _i∈I_ _i∈I_ _hijxij_ _−_ _M_ (1 _−_ _yjk_ ) _≤_ _αjk_ _≤_ _Myjk,_ _∀j, k_ _∈J,_ (39) _αjk_ _≥_ 0 _,_ _∀j, k_ _∈J,_ (40) _xij, yjk_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j, k_ _∈J ._ (41) This formulation is obtained by eliminating the right-hand-side of the first inequality and the left-hand-side of the second inequality in (35). The value of _M_ is set as the maximum total processing time of the orders, that is _M_ = max _i,j{hij}_ . The total number of variables is 2 _n_ <sup>2</sup> + _mn_, which involves _n_ <sup>2</sup> + _mn_ binary variables and _n_ <sup>3</sup> + 0 _._ 5 _n_ <sup>2</sup> + 3 _._ 5 _n_ constraints. For formulations M3-2-L and M3-2, we have the below Lemma 5.1. Lemma 5.1. _For_ _arbitrary_ _optimal_ _solution_ _to_ _M3-2-L,_ _there_ _exists_ _an_ _optimal_ _solution_ _to_ _M3-2_ _with_ _the_ _same_ _objective_ _value._ _Proof._ For arbitrary optimal solution ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> _, α_ <sup>_∗_</sup> ) to M3-2-L, we can show ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) as an optimal solution to M3-2 with the same objective value. We first show ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) is a feasible solution to M3-2. For arbitrary _j, k_ _∈J_, if _yjk_ <sup>_∗_</sup> <sup>= 0, then</sup> _αjk_ <sup>_∗_</sup> <sup>=</sup> <sup>0</sup> <sup>based</sup> <sup>on</sup> <sup>constraints</sup> <sup>(39)</sup> <sup>and</sup> <sup>(40).</sup> <sup>Then</sup> <sup>we</sup> <sup>have</sup> <sup>�</sup> _i∈I_ <sup>_hikx∗_</sup> _ik_ <sup>_≤_</sup> <sup>_dk_</sup> <sup>in</sup> <sup>constraints</sup> We first show ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) is a feasible solution to M3-2. For arbitrary _j, k_ _∈J_, if _y_ <sup>_∗_</sup> _i∈I_ <sup>_hikx∗_</sup> _ik_ _jk_ <sup>_∗_</sup> <sup>=</sup> <sup>0</sup> <sup>based</sup> <sup>on</sup> <sup>constraints</sup> <sup>(39)</sup> <sup>and</sup> <sup>(40).</sup> <sup>Then</sup> <sup>we</sup> <sup>have</sup> <sup>�</sup> _αjk_ <sup>_∗_</sup> <sup>=</sup> <sup>0</sup> <sup>based</sup> <sup>on</sup> <sup>constraints</sup> <sup>(39)</sup> <sup>and</sup> <sup>(40).</sup> <sup>Then</sup> <sup>we</sup> <sup>have</sup> <sup>�</sup> _i∈I_ <sup>_hikx∗_</sup> _ik_ <sup>_≤_</sup> <sup>_dk_</sup> <sup>in</sup> <sup>constraints</sup> (38). This indicates ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) satisfies constraints (33) in formulation M3-2 when _yjk_ <sup>_∗_</sup> <sup>=</sup> <sup>0.</sup> <sup>If</sup> _yjk_ <sup>_∗_</sup> <sup>= 1,</sup> <sup>then</sup> <sup>by</sup> <sup>substituting</sup> <sup>into</sup> <sup>constraints</sup> <sup>(39)</sup> <sup>first</sup> <sup>and</sup> <sup>then</sup> <sup>(38),</sup> <sup>we</sup> <sup>have</sup> _jk_ <sup>_∗_</sup> <sup>= 1,</sup> <sup>then</sup> <sup>by</sup> <sup>substituting</sup> <sup>into</sup> <sup>constraints</sup> <sup>(39)</sup> <sup>first</sup> <sup>and</sup> <sup>then</sup> <sup>(38),</sup> <sup>we</sup> <sup>have</sup> _i∈I_ _j∈J_ _i∈I_ _hijx_ <sup>_∗_</sup> _ij_ <sup>_∗_</sup> _ij_ <sup>_≤_</sup> <sup>_α_</sup> _jk_ <sup>_∗_</sup> _jk_ <sup>_∗_</sup> <sup>_≤_</sup> <sup>_M,_</sup> (42) _i∈I_ _hikx_ <sup>_∗_</sup> _ik_ <sup>_≤_</sup> <sup>_dk._</sup> (43) _j∈J_ _αjk_ <sup>_∗_</sup> <sup>+</sup> _hijx_ <sup>_∗_</sup> _ij_ <sup>+</sup> _i∈I_ _hikx_ <sup>_∗_</sup> _ik_ <sup>_≤_</sup> Inequalities (43) indicate ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) satisfies constraints (33) when _yjk_ <sup>_∗_</sup> <sup>= 1.</sup> <sup>To</sup> <sup>sum</sup> <sup>up,</sup> <sup>(</sup> <sup>_x∗, y∗_</sup> <sup>)</sup> is a feasible solution to M3-2. Next, we prove the objective value of ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) is less than or equal to that of any feasible solutions to M3-2. Let _S_ 2 be the solution space of formulation M3-2, i.e., _S_ 2 := _{_ ( _x, y_ ) : Constraints (30) - (34) _}._ (44) As M3-2-L is a relaxation of M3-2, the objective value of the optimal solution ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> _, α_ <sup>_∗_</sup> ) will be less than or equal to that of any feasible solutions to M3-2. That is _i∈I_ _fcost_ ( _x_ <sup>_∗_</sup> ) = _j∈J_ ( _rmhij_ + _Cteqij_ ) _x_ <sup>_∗_</sup> _ij_ <sup>_≤_</sup> <sup>_fcost_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_∀_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>_∈S_</sup> <sup>2</sup> <sup>_._</sup> (45) ( _rmhij_ + _Cteqij_ ) _x_ <sup>_∗_</sup> _ij_ Note _fcost_ ( _x_ <sup>_∗_</sup> ) is also the objective value of feasible solution ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) to M3-2. This indicates the objective value of ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) is no larger than any feasible solutions to M3-2. 14 Therefore, ( _x_ <sup>_∗_</sup> _, y_ <sup>_∗_</sup> ) is an optimal solution to M3-2 with the same objective value _fcost_ ( _x_ <sup>_∗_</sup> ), which completes the proof. _5.3._ _Modeling_ _with_ _Positional_ _Variables_ _5.3.1._ _Proposed_ _Integer_ _Optimization_ _Model_ This model is based on the positional variables that describe the relationship between arbitrary order with the position it is assigned in the schedule. The additional decision variables are defined as follows. _zjk_ : _zjk_ = 1 if order _j_ is assigned on position _k_, _∀j, k_ _∈J_ . Otherwise _zjk_ = 0; _Ck_ : completion time of the order at position _k_, _∀k_ _∈J_ . A new IO model can be formulated as below. min _fcost_ ( _x_ ) (M3-3) s.t. _i∈I_ _k∈J_ _j∈J_ _xij_ = 1 _,_ _∀j_ _∈J,_ (46) _zjk_ = 1 _,_ _∀j_ _∈J,_ (47) _zjk_ = 1 _,_ _∀k_ _∈J,_ (48) 0 _≤_ _Ck_ _≤_ - _djzjk,_ _∀k_ _∈J,_ (49) _j∈J_ _hijxijzj_ 1 _,_ (50) _i∈I_ _C_ 1 _≥_ _j∈J_ _Ck_ _≥_ _Ck−_ 1 + _j∈J_ _i∈I_ _hijxijzjk,_ _∀k_ _∈J /{_ 1 _},_ (51) _xij, zjk_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j, k_ _∈J ._ (52) Constraints (47) and (48) ensure that a particular order can only be assigned to exactly one position and each position can be assigned with exactly one order. Constraints (49) ensure the completion time of order at position _k_ is non-negative and no later than its due time. Constraints (50) and (51) describe the completion time of the order at position _k_ . The total number of variables in this formulation is _n_ <sup>2</sup> + _mn_ + _n_, which involves _n_ <sup>2</sup> + _mn_ binary variables and 6 _n_ constraints. Note that M3-3 is a quadratically constrained IO formulation. We will also apply linearization technique to reformulate M3-3. _5.3.2._ _Reformulation_ _with_ _Linearization_ _Technique_ For arbitrary _j,_ _k_ _∈J_, define a new variable _βjk_ = ( <sup>�</sup> For arbitrary _j,_ _k_ _∈J_, define a new variable _βjk_ = ( <sup>�</sup> _i∈I_ <sup>_hijxij_</sup> <sup>)</sup> <sup>_zjk_</sup> <sup>.</sup> <sup>An</sup> <sup>equivalent</sup> <sup>MIO</sup> model can be obtained by substituting <sup>�</sup> _i∈I_ <sup>_hijxijzjk_</sup> <sup>in M3-3 and with the below additional</sup> model can be obtained by substituting <sup>�</sup> _i∈I_ <sup>_hijxijzjk_</sup> <sup>in M3-3 and with the below additional</sup> constraints  - _hijxij_ _−_ _M_ (1 _−_ _zjk_ ) _≤_ _βjk_ _≤_ - _hijxij_ + _M_ (1 _−_ _zjk_ ) _,_  _hijxij_ _−_ _M_ (1 _−_ _zjk_ ) _≤_ _βjk_ _≤_ _hijxij_ + _M_ (1 _−_ _zjk_ ) _,_ _i∈I_ (53)   _i∈I_ _−_ _Mzjk_ _≤_ _βjk_ _≤_ _Mzjk._ 15 Note the equivalence validation of the above inequalities is the same with (35). For concise presentation we skip it. We further reduce the above inequality constraints (53) as    _hijxij_ _−_ _M_ (1 _−_ _zjk_ ) _≤_ _βjk,_ _i∈I_ (54) 0 _≤_ _βjk_ _≤_ _Mzjk._ _i∈I_   Thus, a new linearized formulation M3-3-L can be obtained as: min _fcost_ ( _x_ ) (M3-3-L) s.t. Constraints (46) _−_ (49) _,_ (55) _C_ 1 _≥_ _j∈J_ _βj_ 1 _,_ (56) _Ck_ _≥_ _Ck−_ 1 + _j∈J_ _βjk,_ _∀k_ _∈J /{_ 1 _},_ (57) _i∈I_ _hijxij_ _−_ _M_ (1 _−_ _zjk_ ) _≤_ _βjk_ _≤_ _Mzjk,_ _∀j, k_ _∈J,_ (58) _βjk_ _≥_ 0 _,_ _∀j, k_ _∈J,_ (59) _xij, zjk_ _∈{_ 0 _,_ 1 _},_ _∀i ∈I, j, k_ _∈J ._ (60) The value of _M_ is set as the maximum total processing time among all the orders, that is _M_ = max _i,j{hij}_ . The total number of variables is 2 _n_ <sup>2</sup> + _mn_ + _n_, including _n_ <sup>2</sup> + _mn_ binary variables and 2 _n_ <sup>2</sup> + 6 _n_ constraints. For formulations M3-3 and M3-3-L, we have the below Lemma 5.2. Lemma 5.2. _For_ _arbitrary_ _optimal_ _solution_ _to_ _M3-3-L,_ _there_ _exists_ _an_ _optimal_ _solution_ _to_ _M3-3_ _with_ _the_ _same_ _objective_ _value._ _Proof._ The proof idea is similar to Lemma 5.1. For arbitrary optimal solution ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> _, β_ <sup>_∗_</sup> ) to M3-3-L, we will construct ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> ) as an optimal solution to M3-3 with the same objective value. We first show ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> ) is a feasible solution to M3-3. It is simple to check ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> ) is feasible when _zjk_ <sup>_∗_</sup> <sup>= 0</sup> <sup>by</sup> <sup>substituting</sup> <sup>_z_</sup> _jk_ <sup>_∗_</sup> <sup>= 0</sup> <sup>into</sup> <sup>(58)</sup> <sup>and</sup> <sup>then</sup> <sup>(56)</sup> <sup>and</sup> <sup>(57).</sup> <sup>Otherwise,</sup> when substituting _zjk_ <sup>_∗_</sup> <sup>= 1</sup> <sup>we</sup> <sup>have</sup> _jk_ <sup>_∗_</sup> <sup>= 0</sup> <sup>by</sup> <sup>substituting</sup> <sup>_z_</sup> _jk_ <sup>_∗_</sup> _jk_ <sup>_∗_</sup> <sup>= 1</sup> <sup>we</sup> <sup>have</sup> _i∈I_ _hijx_ <sup>_∗_</sup> _ij_ <sup>_∗_</sup> _ij_ <sup>_≤_</sup> <sup>_β_</sup> _jk_ <sup>_∗_</sup> _jk_ <sup>_∗_</sup> <sup>_≤_</sup> <sup>_M,_</sup> _∀j, k_ _∈J,_ (61) _C_ 1 <sup>_∗_</sup> <sup>_≥_</sup> 1 <sup>_∗_</sup> <sup>_≥_</sup> _i∈I_ _βj_ <sup>_∗_</sup> 1 <sup>_≥_</sup> _βj_ <sup>_∗_</sup> _j∈J_ _hijx_ <sup>_∗_</sup> _ij_ <sup>_,_</sup> (62) _j∈J_ _i∈I_ _Ck_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> <sup>_≥_</sup> <sup>_C_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> _j∈J_ _hijx_ <sup>_∗_</sup> _ij_ <sup>_,_</sup> <sup>_∀k_</sup> <sup>_∈J /{_</sup> <sup>1</sup> <sup>_}_</sup> (63) _hijx_ <sup>_∗_</sup> _ij_ Inequalities (62) and (63) indicate ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> ) is a feasible solution when _zjk_ <sup>_∗_</sup> <sup>= 1.</sup> Next, similar to Lemma 5.1, we define the solution space of formulation M3-3 as _S_ 3 := 16 _{_ ( _x, z, C_ ) : Constraints (46) - (52) _},_ and we can get that _fcost_ ( _x_ <sup>_∗_</sup> ) _≤_ _fcost_ ( _x_ ) _, ∀_ ( _x, z, C_ ) _∈S_ 3 as M3-3-L is a relaxation of M3-3. Thus, we conclude ( _x_ <sup>_∗_</sup> _, z_ <sup>_∗_</sup> _, C_ <sup>_∗_</sup> ) is an optimal solution to M3-3. Based on Lemmas 5.1 and 5.2, we will directly solve models M3-2-L and M3-3-L using MIO solver instead of M3-2 and M3-3, respectively. The comparison of the three MIO formulations is discussed in next section. 6. Computational Experiments Comprehensive computational experiments are conducted for different problem settings. For problem IDM-C, we compare the performance of methods by solving models M1 and M1-LP with modern optimization solver `CPLEX`, DG algorithm and the expected cost method (ECM henceforth) from [10]. For problem IDM-CM, we compare methods by solving M2 using `CPLEX` with ECM. The three MIO models for problem IDM-CD, i.e., M3-1, M3-2-L and M3-3-L, are solved by `CPLEX` and compared in terms of their computational efficiency. All the methods are coded in Python. The optimization solver `CPLEX` `20.1.0` is used for solving all the IO and MIO models with the Python interface `docplex` . All the settings for `CPLEX` remain default except for time limit as 600 seconds. The experiments are deployed on a mobile workstation with Intel(R) Xeon(R) W-10885M CPU @ 2.40GHz, 128 GB memory, 64 bit Windows 10 Pro operating system for workstations. _6.1._ _Data_ _Generation_ _Machine_ _tool._ The settings for machine tool including the tool geometry, cutting parameters (except for spindle speed set) and tool life model are the same with that in [10]. In particular, the tool is a single-insert endmill with diameter _D_ = 19 _._ 05 mm and _Nt_ = 1. The radial depth of cut is _a_ = 4 _._ 7 mm, the axial depth of cut is _b_ = 3 mm and the feed per tooth is _ft_ = 0 _._ 06 mm, respectively. The constants in the Taylor tool life equation are _N_ = 0 _._ 388 and _C_ = 735 _._ 2 m/min. _Order_ _and_ _part._ The number of orders _n_ is from a set _{_ 2 _,_ 4 _,_ 6 _,_ 8 _,_ 10 _,_ 12 _,_ 14 _,_ 16 _,_ 18 _,_ 20 _}_, with one single part type for each order. The quantity _lj_ of the part for one order is an integer number randomly sampled from uniform distribution _U_ [10 _,_ 200]. The volume _vj_ to be removed per part is an integer number randomly sampled from uniform distribution _U_ [5000 _,_ 15000] with unit mm <sup>3</sup> . The makespan limitation _c_ under each case of _n_ is decided by considering two values: the makespan of the solution by solving problem IDM-C which only considers the cost, and the minimum makespan when adopting the minimum _hij_ for each order _j_ . We set _c_ as the integer number by rounding the average of these two values. _Due_ _date._ We specify the due date by generating the data without regarding for feasibility and then discarding instances that have no feasible schedule. Specifically, we first obtain the expected cutting speed for each order using the ECM in [10]. Henceforth, the makespan _C_ <sup>¯</sup> _max_ and the mean value of total processing time _h_ <sup>¯</sup> among the _n_ orders can be obtained. The initial due date _dj_ is generated by randomly sampling from uniform distribution _U_ [0 _._ 4 _C_ <sup>¯</sup> _max,_ 0 _._ 5 _C_ <sup>¯</sup> _max_ ]. A schedule is then generated using earliest due date rule based on _dj_, and the completion time _Cj_ for each order is thus obtained. We then check the feasibility of _dj_, i.e., _dj_ is accepted if _dj_ _≥_ _Cj_ ; otherwise _dj_ = _Cj_ + _r_, where _r_ is a randomly sampled 17 Table 1: Numerical results of solving problem IDM-C by the expected cost method (ECM) [10], solving models M1 and M1-LP, and the exact algorithm DG. <u>ECM</u> <u>M1</u> <u>M1-LP</u> <u>DG</u> Order # Obj: Cost Time (s) Obj: Cost CRR (%) Time (s) Obj: Cost CRR (%) Time (s) Obj: Cost CRR (%) Time (s) 2 2082.55 2.81 1977.23 5.06 0.01 1977.23 5.06 0.01 1977.23 5.06 0.000 4 3301.91 5.58 3174.74 3.85 0.01 3174.74 3.85 0.02 3174.74 3.85 0.000 6 5418.85 8.28 5184.44 4.33 0.01 5184.44 4.33 0.03 5184.44 4.33 0.000 8 6670.49 11.01 6406.96 3.95 0.01 6406.96 3.95 0.03 6406.96 3.95 0.003 10 9688.88 13.87 9314.33 3.87 0.01 9314.33 3.87 0.03 9314.33 3.87 0.003 12 11872.06 16.66 11363.36 4.28 0.01 11363.36 4.28 0.05 11363.36 4.28 0.003 14 13597.67 19.27 13061.32 3.94 0.02 13061.32 3.94 0.05 13061.32 3.94 0.003 16 15417.88 21.77 14768.81 4.21 0.02 14768.81 4.21 0.06 14768.81 4.21 0.005 18 16849.63 24.57 16127.64 4.28 0.02 16127.64 4.28 0.06 16127.64 4.28 0.003 20 20654.23 27.29 19883.29 3.73 0.02 19883.29 3.73 0.08 19883.29 3.73 0.003 - All values in all columns are the average results of 10 independent runs for each order number. - All the 10 independent instances for all the order numbers are solved to optimality with Gap 0.00% by M1, M1-LP and DG (shown by bold numbers). integer number from uniform distribution _U_ [0 _,_ _h_ <sup>¯</sup> ]. By this way of setting _dj_, we ensure at least the expected speeds are feasible solution to problem IDM-CD. _Production_ _and_ _cost._ The candidate cutting speed _V_ is evenly spaced in [220 _,_ 420] m/min with the interval 2 m/min. Thus, in total _m_ = 100 speeds are used for one order. Note here without loss of generality, we use the same set of cutting speed for all the _n_ orders. The spindle speed matrix Ω is thus constructed, with the equivalent minimum spindle speed 3676.02 rpm and the maximum spindle speed 6984.44 rpm. Lastly, the coefficients of the cost model are set as _rm_ = 2 $/min, _tch_ = 2 min and _Cte_ = $12 _._ 5 per tool edge. For each order number, 10 independent data instances using different random seeds are generated with the above data generation procedure. Therefore, in total 100 instances are used. All the reported results are the average values obtained by the 10 independent instances for each order number. _6.2._ _Results_ _for_ _Problem_ _IDM-C_ Table 1 presents the results for solving problem IDM-C by the ECM in [10], solving models M1 and M1-LP, and the DG algorithm 1. The columns show the objectives (minimum cost in $ by each method) and the solution time in second. In the column “CRR”, we calculate the cost reduction ratio (CRR) as _CRR_ = <sup>_<u>ObjECM</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>Obj</u>_</sup> _ObjECM_ _×_ 100% _,_ (64) where _ObjECM_ and _Obj_, respectively, refer to the objective value from ECM and other methods under comparison. As shown in Table 1, solving M1 and M1-LP by `CPLEX`, and the DG algorithm all find the optimal solution for all the 100 instances within 0.1 second, shown as the bold numbers. Remarkably, the DG algorithm preforms as the fastest among the three, within 0.005 second for all the 100 instances. In comparison with the ECM, formulations M1 and M1-LP and DG algorithm show that, by selecting different cutting speeds, the overall production cost can be reduced by 3% - 5% on average. Figure 4 shows results of CRR in Table 1. Note the objectives and the associated CRR for formulations M1, M1-LP and DG algorithm are the same and thus are overlapped. 18 Figure 4: The comparison of cost reduction ratio (CRR) for problem IDM-C. M1, M1-LP and DG are overlapped as they all obtain the optimal solutions. Table 2: Numerical results of solving problem IDM-CM by expected cost method (ECM) [10] and solving model M2. Makespan <u>ECM</u> <u>M2</u> Order # Limit: _c_ Obj: Cost Time (s) Makespan Obj: Cost Num Gap (%) LP Relaxation Time (s) Makespan 2 633 2082.55 2.81 763.15 2052.42 10 0.00 2034.58 0.00 624.96 4 1027 3301.91 5.58 1209.71 3245.44 10 0.00 3233.46 0.05 1021.47 6 1678 5418.85 8.28 2000.68 5281.53 10 0.00 5271.44 0.08 1672.02 8 2070 6670.49 11.01 2449.62 6532.52 10 0.00 6526.56 0.08 2067.51 10 3007 9688.88 13.87 3580.07 9512.87 10 0.00 9502.75 0.11 3003.93 12 3669 11872.06 16.66 4362.28 11571.73 10 0.00 11566.20 0.08 3667.11 14 4198 13597.67 19.27 5013.83 13364.26 10 0.00 13354.87 0.05 4195.26 16 4775 15417.88 21.77 5687.06 15047.90 10 0.00 15042.45 0.08 4772.70 18 5202 16849.63 24.57 6221.69 16426.20 10 0.00 16421.71 0.05 5199.98 20 6413 20654.23 27.29 7656.49 20286.36 10 0.00 20281.15 0.08 6411.31 - All values in all columns except for “Num” are the average results of 10 independent runs for each order number. - Column “Num” indicates the number of instances solved to optimality among the 10 instances. _6.3._ _Results_ _for_ _Problem_ _IDM-CM_ Table 2 shows the results for solving problem IDM-CM. In the column “Makespan Limit: _c_ ”, we show the average makespan limit within which all parts must be finished. Formulation M2 is solved to optimality (with the gap 0.00) for all the 10 instances under each order number within 0.11 second, shown as the bold numbers. The LP relaxation results show M2 is tight, which can explain for its good computational efficiency. Notably, due to the makespan limit, the minimum cost obtained in solving problem IDMC in Table 1 cannot be obtained in solving problem IDM-CM. Nevertheless, all these optimal solutions satisfy the makespan limit. While the ECM does not support to set makespan limit, the results here show that our integration provides the capability to set many practical production requirements. Furthermore, for all the 10 order numbers, both the cost and makespan of ECM solutions are larger than those of the M2 solutions. This indicates by using our method, it is practical for the machine shop to achieve solutions that lead to both smaller cost and shorter makespan. _6.4._ _Results_ _for_ _Problem_ _IDM-CD_ Table 3 presents the numerical results for solving problem IDM-CD with formulations M3-1, M3-2-L and M3-3-L, in terms of the objective value, number of the instances solved to optimality out of 10, gap to the lower bound returned by `CPLEX` and the solution time. 19 Table 3: Numerical results of problem IDM-CD by solving models M3-1, M3-2-L and M3-3-L. <u>M3-1</u> <u>M3-2-L</u> <u>M3-3-L</u> Order # Obj: Cost Num Gap (%) Time (s) Obj: Cost Num Gap (%) Time (s) Obj: Cost Num Gap (%) Time (s) 2 1920.68 10 0.00 0.02 1920.68 10 0.00 0.02 1920.68 10 0.00 0.03 4 4463.55 10 0.00 0.08 4463.55 10 0.00 0.05 4463.55 10 0.00 0.07 6 5412.14 10 0.00 0.25 5412.14 10 0.00 0.07 5412.14 10 0.00 0.14 8 7293.43 10 0.00 0.27 7293.43 10 0.00 0.10 7293.43 10 0.00 1.83 10 11129.40 10 0.00 1.02 11129.40 10 0.00 0.39 11129.40 10 0.01 25.43 12 12700.74 10 0.01 14.17 12700.74 10 0.00 2.66 12700.74 5 3.14 508.27 14 12615.67 8 0.44 163.11 12615.67 10 0.01 10.80 12615.67 1 6.05 601.27 16 13232.52 4 2.52 485.71 13232.52 10 0.01 45.09 13232.52 1 6.06 602.53 18 18001.38 0 6.47 600.30 18001.38 10 0.01 184.39 18001.38 0 8.06 602.33 20 21394.91 0 8.76 600.60 21394.91 8 0.76 380.35 21394.91 0 8.76 602.19 - All values in all columns except for “Num” are the average results of 10 independent runs for each order number. - Column “Num” indicates the number of instances solved to optimality among the 10 instances. Obviously, the solution quality of M3-2-L is the better than that of M3-1 and further better than that of M3-3-L. This can be seen from the number of instances solved to optimality. Among all the 100 instances, M3-2-L solves 98 to optimality except for 2 instances at _n_ = 20 orders, while that of M3-1 and M3-3-L are 72 and 66, respectively. The same conclusions can be drawn from the gap and the solution time. For example, at _n_ = 18, M3-2-L takes 0.01 second to solve all the 10 instances to optimality, while M3-1 takes 600.30 seconds yet still has gap 6.47%, and M3-3-L takes 602.33 seconds with gap 8.06%. Note that time above 600 seconds means the solving procedure is terminated due to time limit of `CPLEX` . It is interesting to see although with different gaps for the three models, the objectives are all the same. In our experience, it can often be the case that `CPLEX` has found the optimal solution in 5 minutes, though it takes much longer time to certify its optimality. Thus, formulations with fast increasing lower bounds can certify the optimality in shorter time. As a closing remark for this section, the results with cost, makespan and due date consideration validate the capability our methods to integrate constraints for describing practical requirements for the operational excellence of machine tool. 7. Conclusion, Discussion and Future Work In summary, we have identified and studied a significant problem of the integration of discrete-event dynamics and machining dynamics for the operational excellence of machine tool for the first time. The machining stability, various cutting speeds and tool life were incorporated into the production of a series of parts from multiple orders in the queue of machine tool. Based on a state-of-the-art logistic regression model for tool life prediction, a new cost function was developed for orders with cutting speed choices as the variables. Then the cost was minimized via choosing different stable cutting speeds. We have demonstrated a set of models and algorithms by considering various practical production scenarios, including cost, makespan and due date. When considering the integrated optimization of cost and makespan, we developed integer optimization models and exact algorithm. Then, we considered the integrated optimization of cost and due date. Three categories of mixed-integer optimization models were presented based on the choices of decision variables. The linearization technique was applied to obtain the models. The results showed while satisfying the makespan and due date requirements, our methods achieved on average 3% - 5% reduction of the cost, which has the potential for cost saving in practice. 20 Future work includes the deeper integration from both the discrete-event dynamics and the machining dynamics. Besides cutting speed, other machining parameters can be as decision variables, including axial depth of cut and feed rate. Thus, we may have nonlinear and nonconvex constraints from the stability lobe diagram. Also, the stochastic tool life prediction can be considered. In the meantime, the complexities of the problems for makespan and due date constraints are one future direction. The practical extensions of the problems are to consider different candidate speeds for orders, various part types of an order, and multiple machine tools in the machine shop. Acknowledgements This work has been supported in part by the University of Tennessee Knoxville under the Graduate Advancement Training and Education (GATE) program of Science Alliance, and the Southeastern Advanced Machine Tools Networks (SEAMTN). References [1] Y. Altintas, G. Stepan, E. Budak, T. Schmitz, and Z. M. Kilic. Chatter stability of machining operations. _Journal of Manufacturing Science and Engineering_, 142(11), 2020. [2] X. Beudaert, P.-Y. Pechard, and C. Tournier. 5-axis tool path smoothing based on drive constraints. _International_ _Journal_ _of_ _Machine_ _Tools_ _and_ _Manufacture_, 51(12):958–965, 2011. [3] W. Ferry and Y. Altintas. Virtual five-axis flank milling of jet engine impellers—part ii: feed rate optimization of five-axis flank milling. _Journal_ _of_ _Manufacturing_ _Science_ _and_ _Engineering_, 130(1), 2008. [4] J. M. Framinan and P. Perez-Gonzalez. Order scheduling with tardiness objective: Im proved approximate solutions. _European_ _Journal_ _of_ _Operational_ _Research_, 266(3):840– 850, 2018. [5] F. Glover and E. Woolsey. Converting the 0-1 polynomial programming problem to a 0-1 linear program. _Operations_ _Research_, 22(1):180–182, 1974. [6] M. F. Gomez and T. L. Schmitz. Displacement-based dynamometer for milling force measurement. _Procedia_ _Manufacturing_, 34:867–875, 2019. [7] S. Gurel and M. S. Akturk. Considering manufacturing cost and scheduling performance on a cnc turning machine. _European_ _Journal_ _of_ _Operational_ _Research_, 177(1):325–343, 2007. [8] J. Karandikar, A. Honeycutt, T. Schmitz, and S. Smith. Stability boundary and op timal operating parameter identification in milling using bayesian learning. _Journal_ _of_ _Manufacturing_ _Processes_, 56:1252–1262, 2020. [9] J. Karandikar, T. McLeay, S. Turner, and T. Schmitz. Tool wear monitoring using naive bayes classifiers. _The_ _International_ _Journal_ _of_ _Advanced_ _Manufacturing_ _Technology_, 77(9):1613–1626, 2015. 21 [10] J. Karandikar, T. Schmitz, and S. Smith. Physics-guided logistic classification for tool life modeling and process parameter optimization in machining. _Journal_ _of_ _Manufacturing_ _Systems_, 59:522–534, 2021. [11] R. K. Kayan and M. S. Akturk. A new bounding mechanism for the cnc machine scheduling problems with controllable processing times. _European Journal of Operational_ _Research_, 167(3):624–643, 2005. [12] H. Ma, H. K. Lee, Z. Shi, and J. Li. Workforce allocation in motorcycle transmission assembly lines: A case study on modeling, analysis, and improvement. _IEEE_ _Robotics_ _and_ _Automation_ _Letters_, 5(3):4164–4171, 2020. [13] T. No, M. Gomez, R. Copenhaver, J. U. Perez, C. Tyler, and T. L. Schmitz. Force and stability modeling for non-standard edge geometry endmills. _Journal_ _of_ _Manufacturing_ _Science_ _and_ _Engineering_, 141(12):121002, 2019. [14] M. Qin, R. Wang, Z. Shi, L. Liu, and L. Shi. A genetic programming-based scheduling approach for hybrid flow shop with a batch processor and waiting time constraint. _IEEE_ _Transactions_ _on_ _Automation_ _Science_ _and_ _Engineering_, 18(1):94–105, 2019. [15] T. L. Schmitz and K. S. Smith. Machining dynamics: Frequency response to improved productivity, 2nd edition. _Springer_, page 303, 2018. [16] Z. Shi, Z. Huang, and L. Shi. Customer order scheduling on batch processing machines with incompatible job families. _International_ _Journal_ _of_ _Production_ _Research_, 56(12):795–808, 2018. [17] Z. Shi, H. Ma, M. Ren, T. Wu, and J. Y. Andrew. A learning-based two-stage optimization method for customer order scheduling. _Computers_ _&_ _Operations_ _Research_, 136:105488, 2021. [18] Z. Shi, L. Wang, P. Liu, and L. Shi. Minimizing completion time for order scheduling: Formulation and heuristic algorithm. _IEEE_ _Transactions_ _on_ _Automation_ _Science_ _and_ _Engineering_, 14(4):1558–1569, 2015. [19] F. W. Taylor. _On_ _the_ _art_ _of_ _cutting_ _metals_, volume 23. American society of mechanical engineers, 1906. [20] C. T. Tyler and T. L. Schmitz. Analytical process damping stability prediction. _Journal_ _of_ _Manufacturing_ _Processes_, 15(1):69–76, 2013. [21] C. T. Tyler, J. R. Troutman, and T. L. Schmitz. A coupled dynamics, multiple degree of freedom process damping model, part 1: Turning. _Precision_ _Engineering_, 46:65–72, 2016. [22] Z. Vagnorius, M. Rausand, and K. Sørby. Determining optimal replacement time for metal cutting tools. _European_ _Journal_ _of_ _Operational_ _Research_, 206(2):407–416, 2010. [23] L. Wang, Z. Shi, and L. Shi. A novel quadratic formulation for customer order scheduling problem. In _2013_ _IEEE_ _International_ _Conference_ _on_ _Automation_ _Science_ _and_ _Engineer-_ _ing_ _(CASE)_, pages 576–580. IEEE, 2013. 22 [24] A. Zaretalab, H. S. Haghighi, S. Mansour, and M. S. Sajadieh. A mathematical model for the joint optimization of machining conditions and tool replacement policy with stochastic tool life in the milling process. _The International Journal of Advanced Manufacturing_ _Technology_, 96(5):2319–2339, 2018. [25] C. Zhang, Z. Shi, Z. Huang, Y. Wu, and L. Shi. Flow shop scheduling with a batch processor and limited buffer. _International Journal of Production Research_, 55(11):3217– 3233, 2017. 23

섹션 본문 124문단 · 41,652자

(제목 없음)

1Machining dynamics research lays a solid foundation for machining operations by providing stable combinations of spindle speed and depth of cut. Furthermore, machine learning has been applied to predict tool life as a function of cutting speed. However, the existing research does not consider the discrete-event dynamics in machine shop, i.e., the machine tool needs to process a series of parts in queue under various practical production requirements. This paper addresses the integration of discrete-event dynamics and machining dynamics to achieve cost savings in machining. We first propose a learning-based cost function for the studied integrated optimization problem of machine tool. The proposed cost function utilizes the predicted tool life under different stable cutting speeds for further optimizing speed selection of machine tool to deal with the discrete-event dynamics in machine shop. Then, according to the practical production requirements, we develop several mathematical optimization models for the related integrated optimization problems with the consideration of cost, makespan and due date. Numerical results show the effectiveness of our proposed methods and also the potential to be used in practice.

Introduction

2The daily operations of machine tools aim to produce products to fulfill orders with various production requirements at the minimum cost. This involves both the machining dynamics that govern the material cutting by the machine tool, and the discrete-event dynamics that govern the production of a series of parts queued at the machine tool. Studies in the two fields have independently made important contributions to the operational excellence of machine tools in production environments.

3The research of machining dynamics has laid a solid foundation for the operational excellence of machine tool by providing a set of stable cutting parameters, including spindle speed. The related studies focus on the physical constraints and modeling of machining processes [20,21], the stable and chatter machining parameters identification [1,8], tool wear and tool life prediction [9,10], cutting force modeling and measurement [13,6] and etc. The machining of a single part is typically considered in these research studies. However, few research efforts have considered the practical production requirements for hundreds or even thousands of parts from multiple accepted orders.

4In the meantime, the discrete-event dynamics research for manufacturing typically considers the production scheduling of a series of parts that are in the queue of the machine tool. The operational excellence is usually achieved at the machine shop level by considering various production requirements, such as order scheduling on parallel machines [23,18,17], production scheduling on batch machines [16,14], buffers for machines [25,12], due date requirement [4] and etc. However, these studies do not consider the physical constraints and practical operating of the machine tools, such as the machining stability and tool life, which can significantly impact the accuracy of processing times. Most existing studies assume that the processing times are fixed and known. As such, the solutions from these studies are often impractical.

5Therefore, the integration of machining dynamics and discrete-event dynamics is critical and promising. In the literature, a few studies have considered the production scheduling of machine tool, such as machine tool feed rate scheduling for processing parts with various geometry [3,2], computer numerical control (CNC) machine scheduling with controllable processing times constrained by tool life [11,7], tool replacement scheduling to balance cost of machining conditions, product quality and tool life [22,24]. However, to our knowledge, no research to date addresses how to integrate machining dynamics, including the machining stability, various cutting speeds and tool life, into discrete-event dynamics for the operational excellence of machine tool. We seek to fill this gap.

6In this paper, we address the problem of integration of discrete-event dynamics and machining dynamics, denoted by IDM, to increase the profit of machine shop. The machine shop wants to reduce the total cost for producing all fulfilled orders by selecting an appropriate cutting speed for each order. We analyze the problem under two scenarios of the practical production constraints with increasing complexities: 1) The integrated optimization of cost and makespan; 2) The integrated optimization of cost and due date. While only optimizing cost is the foundation, the above two scenarios increase the fidelity of our studied problem to practical production. We show that we can take advantage of high speed machining and proper production schedule to reduce the overall cost.

7We organize the rest of the paper as follows. In Section 2, we present the detailed problem settings for both the discrete-event dynamics and the machining dynamics. A learning-based cost function for machine tool is given in Section 3. Different production scenarios are studied in Sections 4 and 5. The mathematical optimization models, analysis and algorithms are provided. In Section 6, we present numerical results for the proposed methods. Section 7 concludes this paper.

Problem Settings

8In this section, we describe our problem settings of IDM in terms of orders and parts, stable spindle speed, processing time and tool life, and machine shop production and the cost.

Discrete-Event Dynamics: Order and Part Setting

9We specify the production for n accumulated orders, each consisting of a number of parts. For example, a machine shop may receive more than 10 orders from the master production plan for daily operations. We address how to schedule the production of the machine tool by identifying the best speeds for each of these orders and scheduling their sequences in the queue of the machine tool to save total production cost.

10Mathematically, we define the set of n orders as J = {1, 2, . . . , n}. Each order consists of a specific quantity of parts, denoted by l j , j ∈ J . In this paper, we assume all the parts of an order are the same type, but parts for different orders can be different. The different part types can be resulted by different situations, such as material type, part geometry, and etc. For the single type of part in an order j, let the volume to be removed by machining for each part be v j , such that the total volume to be removed (i.e. workload of order j) can be calculated by v j l j . All the orders are released at time zero. A due date d j is associated for order j before which all parts of the order must be produced.

11The challenges for such discrete-event dynamics research are that the processing times of orders are various due to different cutting speeds for different part types. To obtain the operational excellence for machine tool, the critical issue is to obtain the accurate estimation of processing time for orders.

Machining Dynamics: Spindle Speed and Tool Life Setting

12Machining dynamics provides the foundation for accurate processing time estimation via the machining stability and tool life estimation under a wide variety of spindle speeds. Without loss of generality, we adopt the milling settings throughout this paper. The stability lobe diagram (SLD) enables to select the best stable spindle speeds at increased axial depth of cut, as shown in Fig. 1. The machining process can either be stable, that are the green circles below the stability boundary (blue curve), and chatter (red cross). In practice, for a given tool-material combination, the SLD can be obtained by conducting impact test. For more details, see the SLD and its governing relationship in [15]. In this paper, we assume the stable spindle speeds are selected from SLD generated by impact test.

13Given a stable spindle speed Ω by SLD and a part with the volume to be removed as v, the machining time then can be calculated as

14where MRR is the material removal rate defined as the average volume of material removed per unit time with a chosen stable spindle speed Ω from the SLD, a and b the radial and axial depth of cut, and f t is the feed per tooth. In this paper, we calculate t by considering various Ω with fixed a, b and f t as the same setting in [10]. Notably, the tool life is decided directly given by the machining parameters, like the spindle speed Ω. In general, this is given by the Taylor's tool life equation [19]:

15where the cutting speed V is the peripheral velocity by V = πDΩ, D is the diameter of the tool, and T is the tool life. N and C are constants. Whilst higher spindle speed can increase the machining efficiency of jobs with less machining time t, it leads to reduction of tool life. Thus, there exists a balance of tool life and the machining time which will eventually impact the cost. To obtain the tool life model is usually by machine learning methods. In this paper, we use a state-of-the-art machine learning model in [10] to generate the tool life as input for our method, as discussed in Section 3.

Production and Cost Settings

16For production setting, we specify there is a single machine tool. There are large quantity of tool edges of the same type that are capable of processing all the n orders. In practice, it is often infeasible to complete a fractional number of a part for a tool edge as it requires to change the tool edge in the middle of the cut. Typically, when the rest tool life is not long enough for machining a single part, the tool edge needs to be changed with a new one. The orders are produced sequentially in the queue of the machine tool. No preemption and interruption of orders are allowed. Furthermore, the worker would use the same spindle speed to machine all the parts in one order, regardless of changing tool edges in between the machining process. This is realistic and easy to implement by the on-site workers, because the quality of all parts within an order need to be maintained uniformly by keeping the same cutting conditions.

17The objective is to minimize the overall cost introduced by machine tool operating cost for machining parts plus the tool edges. In [10], a cost model per part was provided as

18where we denote r m , t ch , C te and C p as the machine tool operating cost in $ per unit time, the time required for changing a tool edge, the cost in $ per tool edge and the total cost per part, respectively. This model, however, considers the cost for a single part, rather than the overall cost of orders for hundreds or even thousands of parts made by different materials.

19In this study, we extend the above model to represent the overall cost for producing multiple parts in multiple orders as

20where the first term r m p j calculates the machine tool operating cost for processing order j and p j refers to the total machining time with a chosen speed. The second term (r m t ch + C te )q j calculates the cost induced by changing tool edges, and q j is the number of tool edges needed for processing order j.

21Eq. (4) is the generalized form of Eq. (3) to include all orders in the practical machine shop production. In next section, we will present a new cost function through the calculation of p j and q j under the context of multiple orders in machine shop.

Learning-based Cost Function for Machine Tool

22The determination of cost of the orders depends on the machining time and number of tool edges used, which is directly decided by the prediction of tool life. In this section, we present a new cost function based on the tool life prediction in the sense of expectation with a state-of-the-art machine learning model. (2)), the model has a powerful performance in prediction accuracy. The logistic decision boundary of the model, that is, when the probability of tool worn is 0.5, provides an accurate estimation for tool life in the sense of expectation as

A Machine Learning Model for Tool Life Prediction

23where the coefficients θ 0 = −89.57, θ 1 = 13.57 and θ 2 = 5.26 are estimated through experimental data for a single-insert endmill (Kennametal KICR073SD30333C) with D = 19.05 mm diameter and a square uncoated carbide insert (Kennametal 107,888,126 C9 JC). Equivalently, this model can be transformed into the below Taylor's tool life model after using logarithmic transformation,

24where N = 0.388 and C = 735.2 m/min using the above values of θ 0 , θ 1 and θ 2 . The logistic model in the logarithmic and original space of V and T is shown in the two panels of 2. The gray scale indicates the probability of tool worn with a cutting speed V (horizontal axis) and cutting time T (vertical axis). We will use Eq. (6) throughout this paper for tool life prediction.

Calculation of Learning-based Cost Function

25Based on the learning-based tool life model in [10], a cost function is developed for multiple orders. As the parts for different orders can be made by different materials, the SLD of the same tool edge for different orders (parts) are different. As a result, the candidate stable spindle speeds for orders are also different. Thus, we define the matrix of spindle speed as

26where the entry Ω ij refers to the spindle speed for processing order j with spindle speed i, i ∈ I, and I = {1, 2, . . . , m} is defined as the index set of available stable spindle speed. For a given spindle speed Ω ij to process order j, the tool life T ij is calculated by Eq. (6). Also, the total machining time p ij for processing order j with spindle speed Ω ij calculated as

27where v j l j indicates total volume of order j by multiplying its part quantity l j with the part volume v j . When arranged T ij and p ij in matrix form, we can obtain the below matrices for tool life and machining time:

28Using T, we can now compute the number of tool edges needed for each order with different spindle speeds as matrix

29where each entry is calculated by

30The term t ij is the machining time for a single part of order j with spindle speed Ω ij . Thus, with floor function, T ij /t ij refers to the number of parts of order j that can be finished by a single tool edge. Finally, the number of tool edges for processing l j parts can be obtained by the ceiling function.

31We can further obtain the summation of total machining time and tool edge change time for each order under all its candidate spindle speeds. This summation, denoted by h ij , represents the total processing time occupied by order j if with speed i:

32The associated total time matrix is denoted by

33Finally, with matrices P, Q and H, we can obtain the cost function for processing all orders as

34Note here we introduce an indicator x ij defined as

35Eq. (14) integrates both the machining dynamics, that is, term r m h ij + C te q ij based on the cost function for parts of orders, and the discrete-event dynamics, that is, discrete variable x ij in Eq. (15) for choosing different speeds for different orders to achieve the reduction of production cost. In next section, we will optimize the speed selection through controlling x ij under the discrete-event dynamics environment of machine shop such that f cost (x) can be minimized for processing all orders. Before that, we show an illustrative example.

Illustration of Cost Saving by the Proposed Integration

36As an illustrative example of our proposed integration, we show two scenarios in Fig. 3 for processing an order: with faster speed in (a) obtained by the expected cost method in [10], and slower speed in (b) by solving our developed M1 model in Section 4. The light grey period is for tool machining, the light green period is for changing the tool edge. The red dashed sections refer to the waste time that is not enough for machining a single part before its tool life comes to end, while the one in the last tool edge is wasted because all parts are done. [10] and solving our developed model M1 in Section 4. By choosing slower speed, we process one more part per tool edge in (b) in comparison with (a). The last three parts on the 4th tool edge of (a) are thus moved back to the 3rd tool edge. This leads to saving the last tool edge and reducing the waste time for each tool edge in (a), and importantly, reducing the cost from $244.18 to $223.14. See details in Section 6.

37By choosing slower speed in (b), we process one more part per tool edge in (b) in comparison with (a), namely from 9 part per tool edge to 10. The last three parts on the 4th tool edge of (a) are thus moved back to be processed with the 3rd tool edge, saving the last tool edge and reducing the waste time for each tool edge in (a). Notably, the production cost is reduced from $244.18 to $223.14. The makespan is increased from 80.82 min to 81.09 min as a sacrifice of the reduced cost. Such trade-off between cost and makespan is meaningful in practical production. Note Figure 3 only gives the case when smaller speed will lead to cost reduction, it is more often and realistic to reduce cost by increasing the speed for high speed machining, and this exactly shows our motivation for this study.

Integrated Optimization of Cost and Makespan

38We denote our problem when only cost is considered as IDM-C, which is studied in Sections 4.1 -4.2 . In section 4.3, we study the IDM problem when integrated optimization of cost and makespan is considered, denoted by IDM-CM. Integer optimization (IO) models are presented for both problems. For clarity, we first summarize all the notations that will be used for all the models proposed in this paper throughout.

Sets:

39J : set of orders, J = {1, 2, . . . , n}. Each order j consists of a quantity of l j parts that are the same part type with the volume to be removed as v j ;

40I : index set of stable candidate spindle speed for arbitrary order, I = {1, 2, . . . , m};

41Ω : Ω ∈ R m×n is the matrix of spindle speed where entry Ω ij refers to the spindle speed i for processing order j, ∀j ∈ J , i ∈ I. A column Ω ·j refers to all candidate spindle speeds that are stable for processing order j;

42T : T ∈ R m×n is the matrix of tool edge life if selecting spindle speed Ω ij for order j, ∀j ∈ J , i ∈ I. Each entry T ij is calculated by Eq. (6); P : P ∈ R m×n is the matrix of total machining time for all orders where entry p ij refers to the total machining time if selecting Ω ij to process order j, as in Eq. (8);

43is the matrix of the number of tool edges needed for order j with entry q ij calculated by Eq. (11);

44H : H ∈ R m×n is the matrix of total processing time where entry h ij consists of two parts: total machining time p ij and the tool change time t ch q ij , as calculated by Eq. (12).

Parameters:

45r m : machine tool operating cost ratio in $ per unit time;

46t ch : time required for changing a tool edge;

47C te : cost in $ per tool edge.

48Decision variables:

49x ij : x ij = 1 if spindle speed Ω ij is selected for processing order j, ∀j ∈ J and i ∈ I.

50Otherwise, x ij = 0.

Model with Only Cost Consideration

51When only cost is under consideration, the below IO model M1 aims to find the optimal spindle speed for each order, such that the cost function can be minimized.

52The objective is to minimize the overall cost f cost (x) of producing n orders. Constraints (16) ensure that each order must be processed by only one spindle speed. Constraints (17) provide the binary variable restriction on x ij .

53We show the constraint matrix of formulation M1 is totally unimodular. Thus, the IO model can be solved as a linear programming (LP) model. To do this, we arrange the variables in the sequence of x 11 , x 21 , . . . , x m1 ; x 12 , . . . x m2 ; . . . ; x 1n , . . . , x mn as columns of the constraint matrix. The constraint matrix A ∈ Z n×mn for constraints (16) is as below:

54The above 0, 1 matrix A is totally unimodular because it satisfies the following two conditions: (1) there are at most two nonzero elements in each column of A, which is number 1 and there is only one entry for each column to be 1; (2) A admits an equitable rowbicoloring. In particular, the rows of A can be partitioned into two sets, say "red set" as row 1 and "blue set" as rows 2 to n. It's easy to check that the sum of the red rows minus the sum of the blue rows is a vector with entries ±1.

55As a result, the polyhedron for formulation M1 is integral, which has integral extreme points. Thus, it always admits an integral solution and is equivalent to solving the LP relaxation:

56x ij ∈ [0, 1], ∀i ∈ I, j ∈ J ,

57where we relax the binary variable constraints x ij ∈ {0, 1} into the interval x ij ∈ [0, 1]. Next, we develop an exact algorithm.

Decomposition-based Greedy Algorithm

58Formulation M1 naturally adopts a decomposition for both the objective and the constraints for each order. While every order must be assigned with a spindle speed, there are no additional constraints that couples the assignment of spindle speed for different orders. Therefore, the assignment of spindle speed for each order is independent. That is, for each order j, we can select the optimal speed from m candidates that minimize its cost r m h ij + C te q ij in the objective. In general, we denote the described procedure as Decomposition-based Greedy (DG) and summarize as the below Algorithm 1.

59For Algorithm 1, we have the below lemma to show the optimality of its solution. Proof. To prove DG algorithm is optimal, we do it by contradiction. Suppose the solution of DG is not optimal, then there must exist at least one order, denoted byĵ, that selects a spindle speed with smaller cost r m h ij + C te q ij thanĵ. This contradicts with steps 7-9 of DG, which selects the spindle speed with the smallest cost. Thus, Algorithm 1 is an exact algorithm.

60Algorithm 1: The DG algorithm Input : Data matrices Ω; order set J and associated l j and v j ; the cost parameters r m , t ch and C te .

611 Initialize f cost (x) = 0; x ij = 0, ∀i ∈ I, j ∈ J ; 2 Calculate matrices T, Q, P and H with Eqs. (6) -(12); 3 for j ∈ J do /* Decompose as n subproblems */ 4 for i ∈ I do /* Find best speed for j */

62Find the best speed i * of job j by i * := arg min i∈I Obj ij ;

638 Update x i * j = 1;

64Output Optimal cost f cost (x), speed x ij , ∀i ∈ I, j ∈ J Next, we consider the solution time of Algorithm 1. For preparing T, Q, P and H, it takes 2 operations to calculate T ij , 6 operations to calculate q ij , 3 operations to calculate p ij and 2 operations to calculate h ij . Together with the coupled loops, this takes 14mn times. For each j, it takes 3m operations to compute Obj ij for all i ∈ I, m operations to find the speed i * with minimum Obj ij , and 1 operation to update the overall cost f cost (x), respectively. To sum up, we can get the total time complexity of Algorithm 1 is O(18mn+n), which completes the proof.

Integration with Makespan

65Makespan constraint refers to the hard constraint that all the orders must be completed within a given time period. For example, this can describe the fixed time length for the worker shift. To model problem IDM-CM, we need an additional parameter:

66c : a given constant of the upper bound for the makespan.

67With this additional parameter, we can model problem IDM-CM by modifying formulation M1 with makespan constraint as below IO model, denoted by M2:

68j∈J i∈I

69x ij ∈ {0, 1}, ∀i ∈ I, j ∈ J .

70Constraint (22) ensures the makespan of producing all the orders not exceeding the given time length c. The makespan constraint adds additional complexity for the problem. We remark the complexity of problem IDM-CM is still open.

Integrated Optimization of Cost and Due Date

71We consider problem IDM when the integrated optimization of cost and due date is to be achieved, denoted by IDM-CD. In this case, the sequence of orders needs to be considered. We provide three categories of model based on the choices of decision variables. That are, completion time variables (5.1), linear order variables (5.2) and positional variables (5.3) of orders, respectively. In the first category, we propose a mixed-integer optimization (MIO) model. For each of the latter two, we present a quadratic integer optimization model and an MIO model by applying linearization technique.

Modeling with Completion Time Variables

72In the first model, we use completion time variables to indicate the order sequence for problem IDM-CD. The needed additional variables are defined as follows:

73y jk : y jk = 1 if order j is processed before order k, ∀j, k ∈ J and j = k. Otherwise y jk = 0; C j : completion time of order j, ∀j ∈ J .

74The problem IDM-CD can be formulated as below.

75x ij , y jk ∈ {0, 1}, ∀i ∈ I, j, k ∈ J .

76Constraints (25) ensure that the completion time of each order is no later than its processing time. Constraints (26) and (27) are disjunctive constraints which ensure that either order j is processed before order k, i.e. y jk = 1 in constraints (26), or order k is before order j, that is y jk = 0 in constraints (27). M is a sufficiently large number. Constraints (28) enforce the completion time is non-negative and no larger than the due date. In this formulation, the M is a natural upper bound for C j for arbitrary j ∈ J . Thus, we can set M = j∈J max i∈I {h ij }. The total number of variables for formulation M3-1 is n 2 + mn + n, which includes n 2 + mn binary variables and n 2 + 3n constraints.

Remark 1.

77If d j = c for j ∈ J , problem IDM-CD is reduced to problem IDM-CM.

78To check the above remark is valid, it's obvious to see that when d j = c for j ∈ J , then the makespan of any feasible solutions to problem IDM-CD also satisfy the makespan limit c. Thus, problem IDM-CM is a special case of problem IDM-CD. It is more general for us to study problem IDM-CD.

Modeling with Linear Ordering Variables 5.2.1. Proposed Integer Optimization Model

79This formulation is based on the linear order variables y jk and y kj that either of them should be equal to 1 for arbitrary j < k ∈ J . The following formulation M3-2 is considered.

80j∈J i∈I

81x ij , y jk ∈ {0, 1}, ∀i ∈ I, j, k ∈ J .

82Constraints (31) are a set of conflict constraints, which ensure that either order j is processed before order k or vice versa. Note here j < k because of symmetry. Constraints (32) indicate the transitivity constraints that ensure a linear order of three arbitrary orders. Constraints (33) indicate the starting time of order k plus its processing time must be no larger than its due date. The total number of variables of formulation M3-2 with m speeds and n orders is n 2 + mn, which are all binary variables and involve n 3 − 2.5n 2 + 3.5n constraints. Note that M3-2 is a quadratically constrained IO formulation due to constraints (33). Considering that the current optimization solvers like CPLEX cannot efficiently deal with this kind of nonlinear problem, we adopt linearization strategies for this formulation in the following section.

Reformulation with Linearization Technique

83To enhance the solvability of formulation M3-2, we first apply the linearization technique proposed in [5] to derive an MIO model, which is equivalent to M3-2. For arbitrary j ∈ J , k ∈ J , let α jk = ( i∈I h ij x ij )y jk and substitute the cross-product i∈I h ij x ij y jk in M3-2 using the following inequalities:

84where M is a sufficiently large number. For arbitrary j, k ∈ J , if y jk = 1, then α jk = i∈I h ij x ij , and the inequalities become i∈I h ij x ij ≤ α jk ≤ i∈I h ij x ij and −M ≤ α jk ≤ M . Clearly, the equivalence holds. Otherwise, if y jk = 0, the inequalities are i∈I h ij x ij − M ≤ α jk ≤ i∈I h ij x ij + M and 0 ≤ α jk ≤ 0, which indicates α jk = 0. Thus, we get an equivalent model to M3-2.

85We further reduce the above inequality constraints (35) as

86Thus, we obtain a new linearized formulation M3-2-L as below:

87x ij , y jk ∈ {0, 1}, ∀i ∈ I, j, k ∈ J .

88This formulation is obtained by eliminating the right-hand-side of the first inequality and the left-hand-side of the second inequality in (35). The value of M is set as the maximum total processing time of the orders, that is M = max i,j {h ij }. The total number of variables is 2n 2 + mn, which involves n 2 + mn binary variables and n 3 + 0.5n 2 + 3.5n constraints. For formulations M3-2-L and M3-2, we have the below Lemma 5.1.

89Lemma 5.1. For arbitrary optimal solution to M3-2-L, there exists an optimal solution to M3-2 with the same objective value.

90Proof. For arbitrary optimal solution (x * , y * , α * ) to M3-2-L, we can show (x * , y * ) as an optimal solution to M3-2 with the same objective value. We first show (x * , y * ) is a feasible solution to M3-2. For arbitrary j, k ∈ J , if y * jk = 0, then α * jk = 0 based on constraints (39) and (40). Then we have i∈I h ik x * ik ≤ d k in constraints (38). This indicates (x * , y * ) satisfies constraints (33) in formulation M3-2 when y * jk = 0. If y * jk = 1, then by substituting into constraints (39) first and then (38), we have

91j∈J i∈I

92Inequalities (43) indicate (x * , y * ) satisfies constraints (33) when y * jk = 1. To sum up, (x * , y * ) is a feasible solution to M3-2.

93Next, we prove the objective value of (x * , y * ) is less than or equal to that of any feasible solutions to M3-2. Let S 2 be the solution space of formulation M3-2, i.e.,

94As M3-2-L is a relaxation of M3-2, the objective value of the optimal solution (x * , y * , α * ) will be less than or equal to that of any feasible solutions to M3-2. That is

95Note f cost (x * ) is also the objective value of feasible solution (x * , y * ) to M3-2. This indicates the objective value of (x * , y * ) is no larger than any feasible solutions to M3-2.

96Therefore, (x * , y * ) is an optimal solution to M3-2 with the same objective value f cost (x * ), which completes the proof.

Modeling with Positional Variables 5.3.1. Proposed Integer Optimization Model

97This model is based on the positional variables that describe the relationship between arbitrary order with the position it is assigned in the schedule. The additional decision variables are defined as follows.

98z jk : z jk = 1 if order j is assigned on position k, ∀j, k ∈ J . Otherwise z jk = 0; C k : completion time of the order at position k, ∀k ∈ J .

99A new IO model can be formulated as below.

100x ij , z jk ∈ {0, 1}, ∀i ∈ I, j, k ∈ J .

101Constraints (47) and (48) ensure that a particular order can only be assigned to exactly one position and each position can be assigned with exactly one order. Constraints (49) ensure the completion time of order at position k is non-negative and no later than its due time. Constraints (50) and (51) describe the completion time of the order at position k. The total number of variables in this formulation is n 2 +mn+n, which involves n 2 +mn binary variables and 6n constraints. Note that M3-3 is a quadratically constrained IO formulation. We will also apply linearization technique to reformulate M3-3.

Reformulation with Linearization Technique

102For arbitrary j, k ∈ J , define a new variable β jk = ( i∈I h ij x ij )z jk . An equivalent MIO model can be obtained by substituting i∈I h ij x ij z jk in M3-3 and with the below additional constraints

103Note the equivalence validation of the above inequalities is the same with (35). For concise presentation we skip it. We further reduce the above inequality constraints (53) as

104Thus, a new linearized formulation M3-3-L can be obtained as:

105x ij , z jk ∈ {0, 1}, ∀i ∈ I, j, k ∈ J .

106The value of M is set as the maximum total processing time among all the orders, that is M = max i,j {h ij }. The total number of variables is 2n 2 + mn + n, including n 2 + mn binary variables and 2n 2 + 6n constraints. For formulations M3-3 and M3-3-L, we have the below Lemma 5.2.

107Lemma 5.2. For arbitrary optimal solution to M3-3-L, there exists an optimal solution to M3-3 with the same objective value.

108Proof. The proof idea is similar to Lemma 5.1. For arbitrary optimal solution (x * , z * , C * , β * ) to M3-3-L, we will construct (x * , z * , C * ) as an optimal solution to M3-3 with the same objective value. We first show (x * , z * , C * ) is a feasible solution to M3-3. It is simple to check (x * , z * , C * ) is feasible when z * jk = 0 by substituting z * jk = 0 into (58) and then (56) and (57). Otherwise, when substituting z * jk = 1 we have

109Inequalities (62) and (63) indicate (x * , z * , C * ) is a feasible solution when z * jk = 1. Next, similar to Lemma 5.1, we define the solution space of formulation M3-3 as S 3 := {(x, z, C) : Constraints (46) -(52)}, and we can get that f cost (x * ) ≤ f cost (x), ∀(x, z, C) ∈ S 3 as M3-3-L is a relaxation of M3-3. Thus, we conclude (x * , z * , C * ) is an optimal solution to M3-3.

110Based on Lemmas 5.1 and 5.2, we will directly solve models M3-2-L and M3-3-L using MIO solver instead of M3-2 and M3-3, respectively. The comparison of the three MIO formulations is discussed in next section.

Computational Experiments

111Comprehensive computational experiments are conducted for different problem settings. For problem IDM-C, we compare the performance of methods by solving models M1 and M1-LP with modern optimization solver CPLEX, DG algorithm and the expected cost method (ECM henceforth) from [10]. For problem IDM-CM, we compare methods by solving M2 using CPLEX with ECM. The three MIO models for problem IDM-CD, i.e., M3-1, M3-2-L and M3-3-L, are solved by CPLEX and compared in terms of their computational efficiency.

112All the methods are coded in Python. The optimization solver CPLEX 20.1.0 is used for solving all the IO and MIO models with the Python interface docplex. All the settings for CPLEX remain default except for time limit as 600 seconds. The experiments are deployed on a mobile workstation with Intel(R) Xeon(R) W-10885M CPU @ 2.40GHz, 128 GB memory, 64 bit Windows 10 Pro operating system for workstations.

Data Generation

113Machine tool. The settings for machine tool including the tool geometry, cutting parameters (except for spindle speed set) and tool life model are the same with that in [10]. In particular, the tool is a single-insert endmill with diameter D = 19.05 mm and N t = 1. The radial depth of cut is a = 4.7 mm, the axial depth of cut is b = 3 mm and the feed per tooth is f t = 0.06 mm, respectively. The constants in the Taylor tool life equation are N = 0.388 and C = 735.2 m/min.

114Order and part. The number of orders n is from a set {2, 4,6,8,10,12,14,16,18, 20}, with one single part type for each order. The quantity l j of the part for one order is an integer number randomly sampled from uniform distribution U [10,200]. The volume v j to be removed per part is an integer number randomly sampled from uniform distribution U [5000, 15000] with unit mm 3 . The makespan limitation c under each case of n is decided by considering two values: the makespan of the solution by solving problem IDM-C which only considers the cost, and the minimum makespan when adopting the minimum h ij for each order j. We set c as the integer number by rounding the average of these two values.

115Due date. We specify the due date by generating the data without regarding for feasibility and then discarding instances that have no feasible schedule. Specifically, we first obtain the expected cutting speed for each order using the ECM in [10]. Henceforth, the makespanC max and the mean value of total processing timeh among the n orders can be obtained. The initial due date d j is generated by randomly sampling from uniform distribution U [0.4C max , 0.5C max ]. A schedule is then generated using earliest due date rule based on d j , and the completion time C j for each order is thus obtained. We then check the feasibility of d j , i.e., d j is accepted if d j ≥ C j ; otherwise d j = C j + r, where r is a randomly sampled integer number from uniform distribution U [0,h]. By this way of setting d j , we ensure at least the expected speeds are feasible solution to problem IDM-CD. Production and cost. The candidate cutting speed V is evenly spaced in [220, 420] m/min with the interval 2 m/min. Thus, in total m = 100 speeds are used for one order. Note here without loss of generality, we use the same set of cutting speed for all the n orders. The spindle speed matrix Ω is thus constructed, with the equivalent minimum spindle speed 3676.02 rpm and the maximum spindle speed 6984.44 rpm. Lastly, the coefficients of the cost model are set as r m = 2 $/min, t ch = 2 min and C te = $12.5 per tool edge.

116For each order number, 10 independent data instances using different random seeds are generated with the above data generation procedure. Therefore, in total 100 instances are used. All the reported results are the average values obtained by the 10 independent instances for each order number. Table 1 presents the results for solving problem IDM-C by the ECM in [10], solving models M1 and M1-LP, and the DG algorithm 1. The columns show the objectives (minimum cost in $ by each method) and the solution time in second. In the column "CRR", we calculate the cost reduction ratio (CRR) as

Results for Problem IDM-C

117where Obj ECM and Obj, respectively, refer to the objective value from ECM and other methods under comparison. As shown in Table 1, solving M1 and M1-LP by CPLEX, and the DG algorithm all find the optimal solution for all the 100 instances within 0.1 second, shown as the bold numbers. Remarkably, the DG algorithm preforms as the fastest among the three, within 0.005 second for all the 100 instances. In comparison with the ECM, formulations M1 and M1-LP and DG algorithm show that, by selecting different cutting speeds, the overall production cost can be reduced by 3% -5% on average. Figure 4 shows results of CRR in Table 1. Note the objectives and the associated CRR for formulations M1, M1-LP and DG algorithm are the same and thus are overlapped. * All values in all columns except for "Num" are the average results of 10 independent runs for each order number. * Column "Num" indicates the number of instances solved to optimality among the 10 instances. Table 2 shows the results for solving problem IDM-CM. In the column "Makespan Limit: c", we show the average makespan limit within which all parts must be finished. Formulation M2 is solved to optimality (with the gap 0.00) for all the 10 instances under each order number within 0.11 second, shown as the bold numbers. The LP relaxation results show M2 is tight, which can explain for its good computational efficiency.

Results for Problem IDM-CM

118Notably, due to the makespan limit, the minimum cost obtained in solving problem IDM-C in Table 1 cannot be obtained in solving problem IDM-CM. Nevertheless, all these optimal solutions satisfy the makespan limit. While the ECM does not support to set makespan limit, the results here show that our integration provides the capability to set many practical production requirements. Furthermore, for all the 10 order numbers, both the cost and makespan of ECM solutions are larger than those of the M2 solutions. This indicates by using our method, it is practical for the machine shop to achieve solutions that lead to both smaller cost and shorter makespan. Table 3 presents the numerical results for solving problem IDM-CD with formulations M3-1, M3-2-L and M3-3-L, in terms of the objective value, number of the instances solved to optimality out of 10, gap to the lower bound returned by CPLEX and the solution time. * All values in all columns except for "Num" are the average results of 10 independent runs for each order number. * Column "Num" indicates the number of instances solved to optimality among the 10 instances.

Results for Problem IDM-CD

119Obviously, the solution quality of M3-2-L is the better than that of M3-1 and further better than that of M3-3-L. This can be seen from the number of instances solved to optimality. Among all the 100 instances, M3-2-L solves 98 to optimality except for 2 instances at n = 20 orders, while that of M3-1 and M3-3-L are 72 and 66, respectively. The same conclusions can be drawn from the gap and the solution time. For example, at n = 18, M3-2-L takes 0.01 second to solve all the 10 instances to optimality, while M3-1 takes 600.30 seconds yet still has gap 6.47%, and M3-3-L takes 602.33 seconds with gap 8.06%. Note that time above 600 seconds means the solving procedure is terminated due to time limit of CPLEX.

120It is interesting to see although with different gaps for the three models, the objectives are all the same. In our experience, it can often be the case that CPLEX has found the optimal solution in 5 minutes, though it takes much longer time to certify its optimality. Thus, formulations with fast increasing lower bounds can certify the optimality in shorter time.

121As a closing remark for this section, the results with cost, makespan and due date consideration validate the capability our methods to integrate constraints for describing practical requirements for the operational excellence of machine tool.

Conclusion, Discussion and Future Work

122In summary, we have identified and studied a significant problem of the integration of discrete-event dynamics and machining dynamics for the operational excellence of machine tool for the first time. The machining stability, various cutting speeds and tool life were incorporated into the production of a series of parts from multiple orders in the queue of machine tool. Based on a state-of-the-art logistic regression model for tool life prediction, a new cost function was developed for orders with cutting speed choices as the variables. Then the cost was minimized via choosing different stable cutting speeds.

123We have demonstrated a set of models and algorithms by considering various practical production scenarios, including cost, makespan and due date. When considering the integrated optimization of cost and makespan, we developed integer optimization models and exact algorithm. Then, we considered the integrated optimization of cost and due date. Three categories of mixed-integer optimization models were presented based on the choices of decision variables. The linearization technique was applied to obtain the models. The results showed while satisfying the makespan and due date requirements, our methods achieved on average 3% -5% reduction of the cost, which has the potential for cost saving in practice.

124Future work includes the deeper integration from both the discrete-event dynamics and the machining dynamics. Besides cutting speed, other machining parameters can be as decision variables, including axial depth of cut and feed rate. Thus, we may have nonlinear and nonconvex constraints from the stability lobe diagram. Also, the stochastic tool life prediction can be considered. In the meantime, the complexities of the problems for makespan and due date constraints are one future direction. The practical extensions of the problems are to consider different candidate speeds for orders, various part types of an order, and multiple machine tools in the machine shop.

참고문헌 24건

  1. Tool wear monitoring using naïve Bayes classifiers The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2014 10.1007/s00170-014-6560-6
  2. Technical Note—Converting the 0-1 Polynomial Programming Problem to a 0-1 Linear Program Operations Research · Institute for Operations Research and the Management Sciences · 1974 10.1287/opre.22.1.180
  3. Determining optimal replacement time for metal cutting tools European Journal of Operational Research · Elsevier BV · 2010 10.1016/j.ejor.2010.03.023
  4. Virtual Five-Axis Flank Milling of Jet Engine Impellers—Part II: Feed Rate Optimization of Five-Axis Flank Milling Journal of Manufacturing Science and Engineering · ASM International · 2008 10.1115/1.2815340
  5. 5-Axis tool path smoothing based on drive constraints International Journal of Machine Tools and Manufacture · Elsevier BV · 2011 10.1016/j.ijmachtools.2011.08.014
  6. A new bounding mechanism for the CNC machine scheduling problems with controllable processing times European Journal of Operational Research · Elsevier BV · 2004 10.1016/j.ejor.2004.07.012
  7. Considering manufacturing cost and scheduling performance on a CNC turning machine European Journal of Operational Research · Elsevier BV · 2006 10.1016/j.ejor.2005.11.029
  8. Analytical process damping stability prediction Journal of Manufacturing Processes · Elsevier BV · 2013 10.1016/j.jmapro.2012.11.006
  9. A coupled dynamics, multiple degree of freedom process damping model, Part 1: Turning Precision Engineering · Elsevier BV · 2016 10.1016/j.precisioneng.2016.03.017
  10. Minimizing Completion Time for Order Scheduling: Formulation and Heuristic Algorithm IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2015 10.1109/tase.2015.2456131
  11. Flow shop scheduling with a batch processor and limited buffer International Journal of Production Research · Taylor & Francis · 2016 10.1080/00207543.2016.1268730
  12. Order scheduling with tardiness objective: Improved approximate solutions European Journal of Operational Research · Elsevier BV · 2017 10.1016/j.ejor.2017.10.064
  13. Customer order scheduling on batch processing machines with incompatible job families International Journal of Production Research · Taylor & Francis · 2017 10.1080/00207543.2017.1401247
  14. A mathematical model for the joint optimization of machining conditions and tool replacement policy with stochastic tool life in the milling process The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2018 10.1007/s00170-018-1683-9
  15. Machining Dynamics: Frequency Response to Improved Productivity 2007
  16. Displacement-based dynamometer for milling force measurement Procedia Manufacturing · Elsevier BV · 2019 10.1016/j.promfg.2019.06.161
  17. Force and Stability Modeling for Non-Standard Edge Geometry Endmills Journal of Manufacturing Science and Engineering · ASM International · 2019 10.1115/1.4045057
  18. A Genetic Programming-Based Scheduling Approach for Hybrid Flow Shop With a Batch Processor and Waiting Time Constraint IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2019 10.1109/tase.2019.2947398
  19. Workforce Allocation in Motorcycle Transmission Assembly Lines: A Case Study on Modeling, Analysis, and Improvement IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2020 10.1109/lra.2020.2989658
  20. Stability boundary and optimal operating parameter identification in milling using Bayesian learning Journal of Manufacturing Processes · Elsevier BV · 2020 10.1016/j.jmapro.2020.04.019
  21. Chatter Stability of Machining Operations Journal of Manufacturing Science and Engineering · ASM International · 2020 10.1115/1.4047391
  22. Physics-guided logistic classification for tool life modeling and process parameter optimization in machining Journal of Manufacturing Systems · Elsevier BV · 2021 10.1016/j.jmsy.2021.03.025
  23. A learning-based two-stage optimization method for customer order scheduling Computers & Operations Research · Elsevier BV · 2021 10.1016/j.cor.2021.105488
  24. 2014 IEEE International Conference on Automation Science and Engineering (CASE) IEEE International Conference on Automation Science and Engineering (CASE) · 2014 10.1109/case31623.2014