Overview

This page discusses:

Description

An iterative algorithm was developed for finding the (nearly) optimal solution. In each iteration, a simplified version of the mathematical program is solved where the complex objective is replaced by its linearization. At the end of the iteration, the true objective is evaluated for the solution produced in the simplified problem. If the gap between the simplified objective and the optimal objective is too large, a new linearization point is added and the next iteration can start.

As an example, let us consider a single component of the objective for some i. The function is a square root and for NLT_{i} \in \lbrack 0,T_{i}\rbrack looks like this:

With the initial linearization, replace the objective with a straight line, as seen in blue:

Then, the optimizer runs and the initial solution is found. Evaluate the gap between the objectives' component for i. For example, if X_{i} = 4, visualize the gap between the objectives as follows (in green):

If that gap is too large, add to the objective a linearization point at X_{i} = 4. The resulting objective then looks as follows (in blue and purple):

The summary of the procedure is in the following pseudocode:

FOR each stock location i
      INITIALIZE net lead time decision variable X_{i}
      ADD constraints on X_{i} depending on maximum allowed SS_{i}
      ADD user constraints on ST_{i}
      COMPUTE T_{i} as the longest path of processing time upstream
END FOR
WHILE stop criterion not met
      INITIALIZE problem given linearization points
      SOLVE using HiGHS the problem with linearized objective
      FOR each stock location i
            COMPUTE the difference between linearized and true objective's component
            IF the difference too large THEN
                  ADD X_{i} as a linearization point
            END IF
      END FOR
END WHILE
RETURN solution

Mathematics

Formally, the linearization approach creates a new mathematical program that HiGHS solves. Linearize X_{i} by creating linearization points L_{i} = \left\lbrack l_{i0},\cdots,l_{i\left| L_{i} - 1 \right|} \right\rbrack with index set K_{i} = \left\lbrack 0,\cdots,\left| L_{i} \right| \right\rbrack. For this, there is the continuous \lbrack 0,1\rbrack-variable \alpha_{ik} and binary variable h_{ik}(\alpha starts at k = 0,h at k = 1 ). Subsequently, replace \sqrt{X_{i}} by \sum_{k \in K_{i}}\alpha_{ik}\sqrt{l_{ik}} and introduce linearization constraints:

\begin{aligned} \min\sum_{i \in V}^{} c_{i} \cdot \sum_{k \in K_{i}}^{}\alpha_{ik}\sqrt{l_{ik}} & \\ X_{i} \geq 0 & \ \forall i \in V \\ X_{i} = 0 & \ \forall i \in V_{T} \\ X_{i} \geq PT_{i} + ST_{j} - ST_{i} & \ \forall i,j \in V \\ ST \in \left\lbrack LB_{i},UB_{i} \right\rbrack & \ \forall i \in V \\ \sum_{k \in K \smallsetminus \left\{ 0 \right\}}^{} h_{ik} = 1 & \ \forall i \in V \\ \alpha_{i,k - 1} \leq h_{i,k - 1} + h_{ik} & \ \forall i \in V,k \in K_{i} \smallsetminus \{ 0\} \\ \sum_{k \in K}^{}\alpha_{ik} = 1 & \ \forall i \in V \\ X_{i} = \sum_{k \in K}^{}\alpha_{ik}l_{ik} & \ \forall i \in V \end{aligned}

Benefits and Drawbacks

There are multiple reasons for developing this approach. First, the implementation of the optimizer is relatively simple given the current object model. Moreover, there are few steps in the algorithm where parameter tuning or creativity would be required. With the linearization approach, rely on the underlying mathematics instead of trying to be creative with, for example, the combi creation procedure.

There are some risks of this methodology. If many linearization points shift the solution to the other side of the all-or-nothing policy, convergence might be slow. That holds especially if a supply chain had an unusually large depth. In addition, there are technological requirements. Ensure to make use of HiGHS to solve the optimization problem. For now, there is no technology ready for the platform development. However, run HiGHS locally with the right jar and dll files; and pointed in the “build.gradle.” Finally, there is no guarantee that the performance of the algorithm is up to the expectations. Ultimately, only evaluate its usefulness once there is a test of the implementation on various data sets.

Other Approaches

During the analysis sessions, other techniques were considered. Some of those in no particular order include Quintiq local search, ready-made Java solver, own heuristic, dynamic programming, using Powell's method for the mathematical program. One more approach that was considered is combi generation. The idea is to create an integer formulation of the problem based on combis. Each combi spans both child and parents ST simultaneously such that the nonlinear term \sqrt{\left\lbrack PT_{i} + \max_{j:(j,i) \in A}\left\{ ST_{j} \right\} - ST_{i} \right\rbrack^{+}} can be refactored into a combi-based parameter. In addition, synchronization of selected combis needs to be performed to make sure that the same value ST_{i} is present in all combis that span stock location I. No matter if as a child or a parent stock location. Ultimately, however, linearization is the approach selected.

Additional Remarks

As discussed in the previous sections, always initialize a feasible solution. Moreover, if such a solution does not exist, immediately conclude and return that information. However, there is also an interest in searching the entire solution space. Perturb a service time freely within its lower and upper bounds if it is not a transportation stock location or a parent to one. For parents to transport stock locations, there is a need to, in addition, be careful about not increasing the service time too much not to cause a positive net lead time at the child. In addition, there is no need to decrease the service time of a transportation stock location too much not to cause a positive net lead time at the stock location. The previous two can be summarized in the following equation, with i representing transportation and j parent stock locations: ST_{j} + PT_{i} \leq ST_{i}.