Supply chain optimization explained – with example

November 15, 2021 Anastasiya Malinovskaya

Supply chain optimization explained – with example

Creating and maintaining a result-oriented, efficient supply chain can be tricky since it brings together the procurement, production, transportation, sales, and financial sides of your business. This is where optimization can help.

In this article, we explore what ‘supply chain optimization‘ means, look at the typical supply chain management and optimization problems, and go through a practical example to learn how to solve those problems.


  1. What is supply chain optimization?
  2. Typical problems supply chain network optimization solves
  3. Example: Facility location problem and production planning
  4. Next steps


Many definitions of supply chain optimization exist but all generally fall into two categories:

  • In the broad sense, the term refers to all kinds of processes that help improve supply chain performance and efficiency. It applies to managerial approaches, both quantitative and qualitative, that help make a supply chain more lean and agile, grow profit, and reduce costs.
  • The narrower meaning of supply chain optimization focuses on a mathematical problem-solving method. Also called supply chain network optimization, this is a quantitative approach for finding the best combination of facilities, warehouses, the flows between them, production resource allocation, and other elements under specific constraints. Such optimization can solve large-scale data-intensive problems and uses mixed-integer and linear programming solvers (such as IBM ILOG CPLEX®).

In this article, we will focus on the narrower term, because it is the one that usually causes the most confusion, and we will show you how to perform supply chain network optimization.

Network optimization, as a quantitative approach, combined with management-based qualitative methods (case study research, action research, etc.) helps solve various supply chain challenges. Managers typically divide those challenges into three levels:

  1. Strategic issues include size and location of manufacturing plants or distribution centers, the structure of service networks, and supply chain design.
  2. Tactical issues include production, transportation, and inventory planning while balancing supply and demand.
  3. Operational issues address production scheduling and control, inventory control, and vehicle routing.

Optimization usually deals with the problems on the first two levels – strategic and tactical. Let us have a closer look at them.


Supply chain design – Includes finding optimal locations for new facilities (distribution centers, warehouses, and plants), defining the flows between them, and balancing costs. An optimal supply chain design should be reliable, cost-efficient, and ready to deal with supply and demand uncertainty.

Master planning by period– Its goal is to align production, storage, and transport with demand fluctuations. When aligned, they help maximize a supply chain’s efficiency, cut costs, and increase profit.

Transportation – The objective is to transport products from one facility to another (from warehouses to customers, for example) while satisfying supply and demand and keeping the transportation costs at the lowest level.

Now let us see network optimization in action.


From the supply chain network optimization example below, you will learn to:

  1. Find optimal locations for several distribution centers (supply chain design problem).
  2. Plan production and analyze demand fulfillment for the main and by-products (master planning and production planning problems).

Linear and mixed-integer programming are commonly used methods for solving supply chain optimization challenges. While many companies use MS Excel to implement these methods, we would like to show a more efficient and easier way to solve the same supply chain problems in anyLogistix software.

Sunflower Oil Supply Chain Model Description

A company acquires sunflower oil factories in several countries and wants to merge its supply chains. These are zero-waste factories that produce sunflower husk and pressed cake as by-products. The by-products are then further processed into fuel and animal food.

A supply chain network design for the model consists of Suppliers (which transfer raw materials to factories), Factories, Distribtion centers (DCs), Ports (used to transfer products by sea), and Customers. The screenshots below show this network’s structure and on-map view.

Supply chain’s on-map view in anyLogistix Supply chain network’s structure

The supply chain’s on-map view (left) and its network’s structure (right).

Main Characteristics of the Supply Chain Model

Distribution Centers, Factories, and Ports

  • In total there are 14 potential DCs but we set a constraint that the optimizatior must only select up to 7.
  • The maximum stock level and storage expenses differ for DCs, factories, and ports.
  • Factories also have maximum monthly throughput of refined and unrefined sunflower oil – 4,000 and 2,000 tons respectively.


  • Selling price and production cost differ for each product.
  • Tariffs (customs duties) are considered. They are calculated when importing or exporting a certain number of products.
  • By-products don’t have their own bills of materials (BOM) defined. But their production is set as a ratio of the main products and the by-products.

Production of the main and the by-products

Production of the main and the by-products.


We have a demand forecast for the next three years. The demand

  • Is constant during the first year for all products;
  • Increases for oil by 30% in August and September during the second and the third years;
  • Decreases for pressed cake by 30% from April to October during the third year.

Demand also varies for each product. If demand fails to get fulfilled, penalties (or SLA violation fees) per product unit are charged.


  • anyLogistix software uses online GIS map providers to identify real roads between supply chain facilities.
  • Transportation costs are calculated according to distance travelled and transportation load.


  • We use two vehicle types: trucks and container ships.
  • Each vehicle type has certain capacity and speed values.

Why Do You Need Optimization in This Case?

The dilemma lies in the balance between demand and production for both the main products and by-products.

If we try to completely fulfill demand for the main products, we end up with too many by-products than required to meet demand and must therefore find storage for them, at a cost.

Supply chain demand fulfillment animation

After running the scenario, we see that the demand for husk is completely fulfilled, however, inventory carrying costs are charged.

Alternatively, the company can choose to reduce the production volume. In this case, factories only produce a certain amount to avoid expenses for storing unsold main products. Average demand is fulfilled this way but demand peaks are not. Eventually, the company will have to pay SLA penalties.

Production of the main and the by-products

After running the scenario, we see that while the average demand for oil is satisfied, the company fails to do that during demand fluctuations. As a result, SLA penalties are charged.

Network optimization aims at finding the best configuration alternatives for our sunflower oil supply chain. While striving to reach the optimal balance between demand and production, it also considers our costs, penalties, and other constraints. For example, it takes into account the total amount of DCs that we can include in our network and the maximum throughput of the factories.

Supply chain map and network

Statistics for the three scenarios described earlier. Compare (Inventory) Carrying costs, Penalties, and Objectives (profit in US dollars).

Supply chain map and network

Statistics for the three scenarios described earlier. Compare Demand fulfillment (in %) and Penalties.

Supply Chain Optimization Results

Running the network optimization experiment for the sunflower oil supply chain model in anyLogistix, provides several network configurations with detailed statistics.

For example, the statistics show that during the first modeled year, the demand for sunflower oil was completely satisfied, while for the by-products, it was only partially satisfied. Therefore, no penalties are charged for oil, as you can see in the table below.

The demand for sunflower oil was completely satisfied, while for the by-products, it was only partially satisfied.

During the first modeled year, the demand for sunflower oil was completely satisfied, while for the by-products, it was only partially satisfied.

Producing additional batches to completely satisfy demand for the by-products would have created an excess of the main product. This, in turn, would result in extra storage costs and decrease supply chain operation profits.

The result of this supply chain optimization example is a three-year production plan that was calculated considering all constraints. This optimization example can be adapted and applied to your real supply chain tasks.


Together we have explored what supply chain optimization means and the problems it solves. Now what?

To start, open the sunflower oil example in anyLogistix Studio Edition, explore the network structure, and examine the tables to see all the settings and parameters for the supply chain. Finally, you can run the optimization experiment in anyLogistix and analyze the results yourself.

If you don’t have anyLogistix Studio, we recommend you watch these short videos on related supply chain optimization topics and try the corresponding examples yourself in anyLogistix PLE for free.

Supply chain master planning

Learn how to organize a two-tier network and estimate the amount of product a cheese plant should produce each month.

See the example’s description in anyLogistix Documentation.

Global network optimization

Discover how to organize a multi-tier network. The goal of this example is to find the best configuration of DCs while considering transportation, initial, carrying costs, and the list of locations where a company could build warehouses.

See the example’s description in anyLogistix Documentation.

Try anyLogistix for free