Keywords

1 Introduction

In manufacturing industries, the production style has shifted to high-mix low-volume manufacturing production from small-mix high-volume production in order to respond to the consumers’ needs flexibly [1]. As a result, the market objective has been changed into shortening due date and product life cycle [2]. In response to this situation, industries have to constantly introduce new products to the market, and at the same time establish a decision making mechanism that can respond to consumers’ needs quickly. The issues are to reduce product inventory, shorten lead time, estimate due date accurately, launch new products rapidly, and manage individual specifications flexibly as mass customization [3]. In order to solve these problems, it is necessary to improve the production efficiency with rational production scheduling and to properly adjust the gap between the customers’ needs and due date estimation by the sales department.

In the relevant researches, there is order acceptance and scheduling problem proposed by Guerrero and Kern [4]. This is defined as the joint decision of which orders to accept for processing and how to schedule them, and various studies have been conducted on this [5].

In this study, we propose an order planning method that performs determination of the due date and production scheduling in consideration of the relationship among customers, salespersons and factories. In the determination of the due date, the response adjustment method by using sales department is used which gives margin time for the due date. In scheduling, we solve the optimization problem which minimizes the objective function using multiple indicators considering salespersons and factory managers. To evaluate the effectiveness of the proposed method, several computational experiments are performed.

2 Target Model

In this study, we target a factory model with multiple customers, salespersons and one factory as shown in Fig. 1. One ordering period is defined as lead time from customer’s inquiry to delivery. Each business organization is set as follows.

Fig. 1.
figure 1

Overview of relationship diagram among entities

2.1 Customer

Customers order the desired production item and the quantity of the items to the salespersons. Each customer has a degree of credibility to the salespersons which represent the previous order conditions. The order quantity is determined by the degree of credibility and the answered due date from the salesperson. The degree of credibility varies depending on the occurrence situation of the tardiness from the due date. When the credibility reaches the lower limit, the customer temporarily stops the transaction at the subsequent ordering period.

2.2 Salesperson

Salespersons make due date estimation in response to customers’ order inquiries. Based on the desired due date of the customer and the information on the production schedule at the previous ordering period, the answered due date to the customer is decided in consideration with the margin time. By reducing the margin time, it is possible to bring the answered due date closer to the desired due date from the customers. On the other hand, the tardiness may increase. In contrast, by increasing it, occurrence of the tardiness can be decreased. However, the due date is far from the customers’ desired due date.

2.3 Factory

The factory creates production schedule for the orders from salespersons per ordering period and manufactures products. This study targets multi-stage flow shops.

3 Proposed Order Planning Method

The proposed order planning method in this study is explained. In this method, mainly due date adjustment and scheduling are performed. The algorithm of proposed method is described in Sect. 3.2, and the formulation of factory scheduling within the algorithm is shown in Sect. 3.3.

3.1 Notation

The notations used in proposed order planning method are shown as follows:

\( s : \) :

Salesperson \( \left( {s = 1, \ldots ,S} \right) \)

\( c : \) :

Customer \( \left( {c = 1, \ldots ,C} \right) \)

\( p : \) :

Order period \( \left( {p = 1, \ldots ,P} \right) \)

\( OC : \) :

The number of time slots in one ordering period

\( CR_{p,c} : \) :

Degree of credibility to salespersons by customer \( c \) in period \( p \)

\( BQ_{c} : \) :

Standard order quantity of customer \( c \)

\( Q_{p,c} : \) :

Original order quantity of customer \( c \) in period \( p \)

\( Q_{p,c}^{{\prime }} : \) :

Final order quantity of customer \( c \) in period \( p \)

\( AT_{p,c} : \) :

Allowable time for order of customer \( c \) in period \( p \)

\( PD_{p,c} : \) :

Desired due date of customer \( c \) in period \( p \)

\( AD_{p,c} : \) :

Answered due date of the order of customer \( c \) in period \( p \)

\( CT_{p,c} : \) :

Correction time given order when the previous end time is later than the desired due date of customer \( c \) in period \( p \)

\( MT_{p,c,s} : \) :

Margin time given to order of customer \( c \) in period \( p \) by salesperson \( s \)

\( DD_{p,c} : \) :

Delivery date of the order of customer \( c \) in period \( p \)

\( r_{QD} : \) :

Rate of decrease in order quantity

\( a_{CRI} : \) :

Amount of credibility increase when the order can be delivered within the answered due date

\( r_{CRD} : \) :

Reduction rate of credibility at the time of the occurrence of the tardiness

In addition, the notations used in scheduling are shown as follows:

\( j : \) :

Job number \( \left( {j = 1, \ldots ,J} \right) \)

\( k : \) :

Stage number \( \left( {k = 1, \ldots ,K} \right) \)

\( T_{p,j} : \) :

Tardiness of job \( j \) in period \( p \)

\( MS_{p} : \) :

Makespan in period \( p \)

\( PT_{p,j,k} : \) :

Processing time of stage \( k \) of job \( j \) in period \( p \)

\( ST_{{p,j,j^{\prime},k}} : \) :

Setup time from job \( j \) to job \( j^{\prime} \) at stage \( k \) in period \( p \)

\( D_{p,j} : \) :

Due date of job \( j \) in period \( p \)

\( s_{p,j,k} : \) :

Start time of stage \( k \) of job \( j \) in period \( p \)

\( ET_{p,j,k} : \) :

End time of stage \( k \) of job \( j \) in period \( p \)

\( \upalpha: \) :

Weight factor of objective function

\( x_{{p,j,j^{{\prime }} ,k}} : \) :

Decision variable

3.2 Algorithm of Proposed Method

In the proposed method using due date adjustment and production scheduling, the aim is to increase order quantity by reducing the tardiness and keeping the high credibility. The algorithm of the proposed method is expressed and the flowchart of the proposed method is shown in Fig. 2.

Fig. 2.
figure 2

Flowchart of proposed method

  • STEP 1. Set the ordering period \( p \) to 1.

  • STEP 2. The customer makes an inquiry about the order to the salesperson. Inquired order includes product type, desired order quantity \( Q_{p,c} \) and desired due date \( PD_{p,c} \) as information. The desired order quantity \( Q_{p,c} \) is expressed by the following Eq. (1). The desired due date \( PD_{p,c} \) is determined by the following Eq. (2).

    $$ Q_{p,c} = BQ_{c} \times CR_{p,c} $$
    (1)
    $$ PD_{p,c} = \left( {p - 1} \right) \times OC + AT_{p,c} $$
    (2)
  • STEP 3. The salesperson estimates the due date for the order. When estimating, the salesperson obtains the end time of the schedule of the previous period from the factory. The answered due date \( AD_{p,c} \) of the order of customer \( c \) in period \( p \) is expressed by the following Eq. (3).

    $$ AD_{p,c} = PD_{p,c} + CT_{p,c} + MT_{p,c,s} $$
    (3)
  • STEP 4. If the answered due date is later than the desired due date, the customer decreases the order quantity according to the tardiness. When the order quantity becomes 0 after the decreasing, the order is canceled. The final order quantity \( Q_{p,c}^{{\prime }} \) is expressed by the following Eq. (4).

    $$ Q_{p,c}^{{\prime }} = {\text{max }}\left[ {0, Q_{p,c} \times \left\{ {1 - r_{QD} \times \left( {CT_{p,c} + MT_{p,c,s} } \right)} \right\}} \right] $$
    (4)
  • STEP 5. The salesperson inserts the order to the factory. If STEP 2 to STEP 4 are performed by all the customers, the process proceeds to STEP 6, otherwise, returns to STEP 2.

  • STEP 6. The factory divides the orders input in STEP 5 into multiple jobs and formulates as a multi-stages flow shop scheduling problem. It creates a production schedule by solving the problem and manufactures products. This study uses IBM ILOG CPLEX 12.6.3 [6] to solve the problem.

  • STEP 7. If the delivery date \( DD_{p,c} \) of the order is included in the ordering period \( p \), the factory delivers to the customer.

  • STEP 8. If the order is in time for delivery, the credibility in the customer increases, and if the tardiness \( d_{p,c}^{CRD} \) according to Eq. (5) occurs, the credibility decreases. Change in credibility \( CR_{p,c} \) of customer \( c \) in period \( p \) is expressed by the following Eq. (6).

    $$ d_{p,c}^{CRD} = { \hbox{max} }\left( {0,DD_{p,c} - AD_{p,c} } \right), $$
    (5)
    $$ CR_{p,c} = \left\{ {\begin{array}{*{20}c} { CR_{{\left( {p - 1} \right),c}} + a_{CRI} , \left( {d_{p,c}^{CRD} \le 0} \right)} \\ {max\left( {0,CR_{{\left( {p - 1} \right),c}} - r_{CRD} \times d_{p,c}^{CRD} } \right), (d_{p,c}^{CRD} > 0)} \\ \end{array} } \right. $$
    (6)
  • STEP 9. If \( p \) period reaches the prescribed total number of times \( P \), the process ends. Otherwise, \( p: = p + 1 \) and return to STEP 2.

3.3 Formulation of K-Stage Flow Shop Scheduling

The \( K \)-stage flow shop scheduling problem in STEP 6 is formulated as follows as optimization problem:

$$ \hbox{min} \quad\upalpha\mathop \sum \nolimits_{\forall j} T_{p,j} + \left( {1 - \alpha } \right)MS_{p} $$
(7)

where

$$ T_{p,j} = \hbox{max} \left( {0,s_{p,j,K} + PT_{p,j,K} - D_{p,j} } \right) $$
(8)
$$ MS_{p} = \mathop {max }\nolimits_{\forall j, \forall k} \left( {s_{p,j,k} + PT_{p,j,k} - ET_{p - 1,k} } \right) $$
(9)
$$ ET_{p,k} = \mathop {\hbox{max} }\nolimits_{\forall j} \left( {s_{p,j,k} + PT_{p,j,k} } \right) $$
(10)

s.t.

$$ s_{p,j,k + 1} \ge s_{p,j,k} + PT_{p,j,k} $$
(11)
$$ s_{{p,j^{{\prime }} ,k}} \ge s_{p,j,k} + PT_{p,j,k} + ST_{{p,j,j^{\prime},k}} \left( {{\text{if }}x_{{p,j,j^{{\prime }} ,k}} = 1} \right)\;\left\{ {\forall j,\forall j^{{\prime }} \left( { \ne j} \right),\forall k} \right\} $$
(12)
$$ s_{p,j,k} \ge ET_{p - 1,k} \left( {\forall j,\forall k} \right) $$
(13)
$$ s_{p,j,k} \ge 0 $$
(14)
$$ x_{{p,j,j^{{\prime }} ,k}} + x_{{p,j^{{\prime }} ,j,k}} = 1\quad \left\{ {\forall j,\forall j^{{\prime }} \left( { \ne j} \right),\forall k} \right\} $$
(15)
$$ x_{{p,j,j^{{\prime }} ,k}} \in \left\{ {0,1} \right\}\quad \left\{ {\forall j,\forall j^{{\prime }} \left( { \ne j} \right),\forall k} \right\} $$
(16)

\( x_{{p,j,j^{{\prime }} ,k}} \) is the decision variable. When this value is 1, job \( j \) at stage \( k \) in period \( p \) precedes the job \( j^{{\prime }} \). When this value is 0, job \( j^{{\prime }} \) at stage \( k \) in period \( p \) precedes job \( j \).

Objective function (7) is intended for minimizing the weighted sum of the total tardiness and makespan. The reason for using these two as an evaluation index is that salespersons and the factory try to respond to customers’ requests and raising productivity. The parameter \( \alpha \) is a weight between the total tardiness and the makespan in the objective function.

Equations (8), (9) and (10) are the definition of tardiness, makespan, and end time. Constraint (11) guarantees that next stage is started after the completion of previous stage. Constraint (12) limits the number of jobs that can be processed at one time. Constraints (13) and (14) represent that start time is after the end time of previous period. Constraint (15) ensures that precedence relation of jobs is either one way.

4 Computational Experiments

In order to evaluate the influence of the weight parameter α of the objective function and the margin time \( MT_{p,c,s} \) which is given by the salespersons in the due date determination, the computational experiments are performed. In Experiment 1, we perform the sensitivity analysis for α which is the weighting factor of the total tardiness and makespan. Experiment 2 evaluates the influence of \( MT_{p,c,s} \). The evaluation criteria are as follows:

  • \( TO \): Total order quantity

  • \( DL \): Average tardiness per order [TS]

  • \( AC \): Average final credibility

  • \( SC \): The number of setup

4.1 Experimental Conditions

The experiments are performed with the following conditions:

  • The number of customers (C): 10

  • The number of salesperson (S): 10

  • The number of ordering period (P): 10

  • The number of time slots in each ordering period: 100[TS]

  • The number of job stages (K): 10

  • The number of product types: 2

  • Setup time due to change of product type \( \left( {ST_{{p,j,j^{\prime},k}} } \right) \): 2[TS]

  • Customer allowable time \( \left( {AT_{p,c} } \right) \): \( 20 \le AT_{p,c} \le 100 \)[TS] (uniform random number)

  • Standard order quantity of customer (BQ): 10

  • Initial credibility of customer (CR0,c): 1.0

  • Range of credibility of customer \( \left( {CR_{p,c} } \right) \): \( 0.0 \le CR \le 1.0 \)

  • Rate of decrease in order quantity \( \left( {r_{QD} } \right) \): 0.04

  • Amount of credibility increase when the order can be delivered within the answered due date \( (a_{CRI} ) \): 0.1

  • Reduction rate of credibility at the time of tardiness occurrence \( (r_{CRD} ) \): 0.04

  • The number of trials: 20

In these experiments, it is assumed that salespersons do not share information of orders of other customers, so the number of customers and salespersons are the same.

4.2 Experiment 1: Comparison by Objective Function Parameter \( {\varvec{\upalpha}} \)

In Experiment 1, we simulated by varying the parameter \( \upalpha \) used for the weighted sum of the objective function in \( MT_{p,c,s} = 0 \). When \( \upalpha \) is increased, the weight for minimizing the total tardiness in the objective function increases. Whereas if it is decreased, the weight of the minimization of the makespan increases. The results when \( \upalpha \) is set to 0.1, 0.5, 0.9 are shown in Table 1. Considering the results in Table 1, when the weight of the total tardiness increased, the average tardiness \( DL \) was reduced. And when we increased the weight of makespan, the number of setup \( SC \) decreased. From the result at \( \upalpha = 0.9 \), it was confirmed that increasing the weight of the tardiness raises the average final credibility \( AC \) and the total order quantity \( TO \).

Table 1. Results of Experiment 1 (\( MT_{p,c,s} = 0 \))

4.3 Experiment 2: Comparison by Margin Time \( \varvec{MT}_{{\varvec{p},\varvec{c},\varvec{s}}} \)

In Experiment 2, we compared the simulation results at \( \alpha = 0.9 \) with changing \( MT_{p,c,s} \) given by the salespersons. Changes in \( TO \) and \( DL \) when \( MT_{p,c,s} \) is 0 to 9 are shown in Fig. 3. Considering the results in Fig. 3, it was confirmed increasing margin time suppressed the tardiness. Also, \( TO \) was the maximum and increased more than when not having margin time in \( MT_{p,c,s} = 5 \). So the effectiveness of the proposed method was confirmed. However, \( TO \) was decreased with increasing in margin time at \( MT_{p,c,s} \ge 5 \). Although the degree of credibility was increased by suppressing the tardiness, for order quantity, the influence of “decrease due to the difference between desired and answered due date” was larger than one of “increase due to high credibility”. So the total order quantity was decreased. Therefore, in order to increase the order quantity, the appropriate adjustment of the margin time must be required.

Fig. 3.
figure 3

Changes to \( TO \) and \( DL \) with various \( MT_{p,c,s} \) (\( \alpha = 0.9 \)). Error bar: standard deviation

5 Conclusion

In this study, we targeted the manufacturing industry where there are multiple entities such as a factory, salespersons, and customers. And, the order planning method to decide due date including margin time and perform scheduling considering total tardiness and makespan was proposed.

In the computer experiments, we increased the weight for the total tardiness of the objective function in the scheduling problem and added the margin time to the due date. From the results, the tardiness from the due date was suppressed by them. Also, the proposed method was confirmed that the total order quantity increases as the margin time increases. However, in excessive margin time, the order quantity decreases due to being far from the customer’s desired due date.

We will consider the adjustment method of the margin time as the next step.