# From platinum to smartphone: How maths models can be used to streamline supply chains

Whether itâs the rubber in your Nike trainers, the metals in your iPhone or the sugar in your Coca-Cola, raw materials such as these go through a series of steps in a supply chain to end up in a shop near you. But what happens if one of these steps fails? At Lehigh University, Professor Larry Snyder is using operations research and machine learning to protect these vital supply chains

Every organisation, whether a restaurant or hospital, depends to some extent on factors out of their control: workers in another factory, a cargo ship departing punctually, the weather. The sequence of steps required for a product or service to make it from the development stage to sale is called a supply chain. Larry Snyder, Professor of Industrial and Systems Engineering at Lehigh University, uses operations research to build computer models that can optimise and protect these supplyÂ chains.

**WHAT IS SUPPLY CHAIN MANAGEMENT?**

Supply chain management is the management of the flow of goods from the source of the raw materials, through to the production process, all the way to the consumer. A supply chain ends with a customer getting the product or service they want. Think of coffee beans in Costa Rica, for example, and all of the processes that need to happen to turn these coffee beans into coffee that can be sold in coffee shops or supermarkets. There are a lot of hidden steps that consumers never see, from the harvesting of the beans to the processing, packaging and transportation. But what happens if floods damage the crops in Costa Rica, or a fire breaks out in the processing factory? A failure at any stage in the supply chain can cause a chain reaction, delaying later steps, and creating a shortage at the consumer end â this is known as supply chain disruption. Good supply chain management is about creating supply chains that can withstand these disruptions without leading to a shortage of supplies or services.

**HOW CAN OPERATIONS RESEARCH BE USED FOR SUPPLY CHAIN MANAGEMENT?**

The mathematical tools of operations research can be used to analyse a supply chain and help it to run as efficiently as possible. âImagine you own a bakery,â says Larry. âYou bake bread each morning, but you donât know in advance how much will be bought that day. If you bake too few loaves, youâll miss out on some potential profit. But if you bake too many, youâll be left with stale bread. Striking the optimal balance â the number of loaves that will maximise your average profit per day â requires some probability and some calculus.â This is a classic operations research problem called the newsvendor problem â newspapers, like bread, go âstaleâ after a day.

**WHAT CAUSES SUPPLY CHAINÂ DISRUPTION?**

Events such as natural disasters, equipment failure or strikes can cause supply chain disruption. Using operations research for supply chain management doesnât just mean making sure that the chain will have optimal results when everything is going to plan â it means that supply chains can be designed to withstand disruption, so that an unforeseen problem at one step doesnât bring the whole supply chain to a halt.

Larry develops computer programs, or algorithms, which model supply chains for different organisations. Using these algorithms, he helps organisations to optimise their supply chains and withstand any difficulties theyÂ encounter.

**HOW CAN MACHINE LEARNING HELP IN SUPPLY CHAIN MANAGEMENT?**

Machine learning is a technique where a computer program is âtrainedâ to make decisions. Recently, Larryâs team has been investigating ways that machine learning can be applied to help make better decisions in supply chains. Larry explains: âFor example, if you had lots of data about the demand for bread at your bakery on different days of the week, in different weather conditions, and so on, you could train a machine learning algorithm to make better decisions about how much bread to bake.â Larry also uses machine learning to predict shortages in the supply chain, and to decide what routes delivery trucks should take.

Machine learning is a useful tool in operations research, the purpose of which is to help people tackle challenging problems. With applications in healthcare, business and disaster relief, a career in the wider field of operations research could offer you the chance to make a difference in an area important to you.

**Reference**

https://doi.org/10.33424/FUTURUM20

Larry brainstorming a mathematical model for a supply chain problem

Larry and his students discussing computer code for an optimization problem

Every organisation, whether a restaurant or hospital, depends to some extent on factors out of their control: workers in another factory, a cargo ship departing punctually, the weather. The sequence of steps required for a product or service to make it from the development stage to sale is called a supply chain. Larry Snyder, Professor of Industrial and Systems Engineering at Lehigh University, uses operations research to build computer models that can optimise and protect these supply chains.

**WHAT IS SUPPLY CHAIN MANAGEMENT?**

Supply chain management is the management of the flow of goods from the source of the raw materials, through to the production process, all the way to the consumer. A supply chain ends with a customer getting the product or service they want. Think of coffee beans in Costa Rica, for example, and all of the processes that need to happen to turn these coffee beans into coffee that can be sold in coffee shops or supermarkets. There are a lot of hidden steps that consumers never see, from the harvesting of the beans to the processing, packaging and transportation. But what happens if floods damage the crops in Costa Rica, or a fire breaks out in the processing factory? A failure at any stage in the supply chain can cause a chain reaction, delaying later steps, and creating a shortage at the consumer end â this is known as supply chain disruption. Good supply chain management is about creating supply chains that can withstand these disruptions without leading to a shortage of supplies or services.

**HOW CAN OPERATIONS RESEARCH BE USED FOR SUPPLY CHAIN MANAGEMENT?**

The mathematical tools of operations research can be used to analyse a supply chain and help it to run as efficiently as possible. âImagine you own a bakery,â says Larry. âYou bake bread each morning, but you donât know in advance how much will be bought that day. If you bake too few loaves, youâll miss out on some potential profit. But if you bake too many, youâll be left with stale bread. Striking the optimal balance â the number of loaves that will maximise your average profit per day â requires some probability and some calculus.â This is a classic operations research problem called the newsvendor problem â newspapers, like bread, go âstaleâ after a day.

**WHAT CAUSES SUPPLY CHAIN DISRUPTION?**

Events such as natural disasters, equipment failure or strikes can cause supply chain disruption. Using operations research for supply chain management doesnât just mean making sure that the chain will have optimal results when everything is going to plan â it means that supply chains can be designed to withstand disruption, so that an unforeseen problem at one step doesnât bring the whole supply chain to a halt.

Larry develops computer programs, or algorithms, which model supply chains for different organisations. Using these algorithms, he helps organisations to optimise their supply chains and withstand any difficulties they encounter.

**HOW CAN MACHINE LEARNING HELP IN SUPPLY CHAIN MANAGEMENT?**

Machine learning is a technique where a computer program is âtrainedâ to make decisions. Recently, Larryâs team has been investigating ways that machine learning can be applied to help make better decisions in supply chains. Larry explains: âFor example, if you had lots of data about the demand for bread at your bakery on different days of the week, in different weather conditions, and so on, you could train a machine learning algorithm to make better decisions about how much bread to bake.â Larry also uses machine learning to predict shortages in the supply chain, and to decide what routes delivery trucks should take.

Machine learning is a useful tool in operations research, the purpose of which is to help people tackle challenging problems. With applications in healthcare, business and disaster relief, a career in the wider field of operations research could offer you the chance to make a difference in an area important to you.

**PROF LARRY SNYDER**Professor of Industrial and SystemsÂ Engineering

Lehigh University, USA

**FIELD OF RESEARCH: **Industrial and Systems Engineering

**RESEARCH PROJECT:** Larry uses computer models to help businesses protect their company from unforeseen supply problems.

**FUNDERS: **National Science Foundation (NSF), Department of Energy (DOE), Lehigh University

**PROF LARRY SNYDER**Professor of Industrial and SystemsÂ Engineering

Lehigh University, USA

**FIELD OF RESEARCH: **Industrial and Systems Engineering

**RESEARCH PROJECT:** Larry uses computer models to help businesses protect their company from unforeseen supply problems.

**FUNDERS: **National Science Foundation (NSF), Department of Energy (DOE), Lehigh University

**ABOUT OPERATIONS RESEARCH AND MACHINE LEARNING**

Operations research is a set of mathematical and computational tools for evaluating, analysing and optimising complex systems. In other words, these tools help systems run as efficiently as possible, and continue to work well during unforeseen problems such as natural disasters, strikes or equipment failure. Operations research is used by companies in nearly every industry, as well as by governments and non-profit organisations. âWhenever an organisation has a problem with huge numbers of possible combinations or lots of randomness, operations research can help,â says Larry. He lists the following examples:

â˘ Airlines use operations research to decide where to fly and when, which aircraft to fly on which flights, and which pilots to assign to each flight.

â˘ Hospitals use operations research to improve the efficiency of patient flows, to manage the inventory of life-saving supplies, and to schedule operating rooms.

â˘ Non-profit organisations use operations research to decide how to get relief supplies to disaster victims quickly, how to allocate resources fairly, and how to plan evacuation routes.

**WHAT IS MACHINE LEARNING?**

âEven though the phrase âmachine learningâ conjures up images of cyborg butlers and computerised doctors, itâs really just a set of computer programs, or algorithms, which help computers perform tasks that are traditionally thought of as part of human intelligence. For example, machine learning algorithms have recently gotten good at identifying images, translating text and even playing computer games!â says Larry.

âImagine you want to write an algorithm to play chess,â Larry continues. âOne approach would be to build certain fixed rules or preferences into the algorithm, like âitâs worse to lose your queen than your rookâ or âitâs good to double your opponentâs pawns.â Machine learning algorithms, though, donât tend to be rule-based. Instead, theyâre designed to âlearnâ which moves are good or bad on their own without being told explicitly. They do this either by analysing a large volume of data, or by simulating a task (like playing chess) many, many times and learning what works and what doesnât.â

However, as Larry says, âMachine learning is one of many tools in the operations research toolbox. Itâs a hugely powerful tool for some jobs, and not the right tool for others.â

**IF COMPUTERS CAN ANSWER COMPLEX MATHS PROBLEMS FOR US, WHY SHOULD STUDENTS CONSIDER STUDYING MATHS?**

Computers are really good at calculations, but maths is about much more than number crunching. âIf you want to write a computer program that will design a bridge, you have to understand structural engineering before you can write the program. If you want to write an autopilot program for an aeroplane, you have to understand aerodynamics,â says Larry. âBy the same token, if you want to write a program to solve maths problems, you have to understand the maths.â

The importance of human input into operations research is highlighted by a famous operations research problem: the travelling salesman problem. âYou are given a set of cities, and you have to find the shortest route that visits every city (and returns to the starting point).â Explains Larry, âOne naĂŻve way of solving this problem is to program a computer to try every possible sequence of cities and pick the shortest one. If there are n cities, then there are n! (n factorial) sequences. If your travelling salesman needed to visit 50 cities and your computer could check 1 quadrillion sequences per second, it would take your computer over 964,424,568, 801,000,000,000,000,000,000,000, 000,000,000 years to solve the problem!â

Human input, in the form of operations researchers, is essential. More complex algorithms need to be designed to solve problems such as this one. âTodayâs algorithms can solve a 50-city travelling salesman problem in a fraction of a second,â says Larry. âThose algorithms use lots of maths, especially fields like combinatorics, linear algebra, and real analysis.â

Understanding maths is a crucial part of operations research. However, there are a lot of different routes to operations research, including engineering and physical sciences. Also, because operations research isnât typically taught in high school, university level courses donât assume that their students already understand the maths behind operations research.

OPPORTUNITIES IN OPERATIONS RESEARCH

Â

- Pathways to Science offers a summer programme for high school students interested in learning about in computer science and maths, including operations research
- INFORMS develops instructional materials for teaching operations research in high school
- The National Security Agency offers internships and other career opportunities in operations research
- You can find free online courses in operations research on websites like Coursera and OR Complete
- On average, an operations research analyst in the USA earns $75,770 per year

**ASK PROF LARRY SNYDER**

**WHAT DO YOU LOVE ABOUT MATHS?**

Maths is about problem solving, about coming up with creative ways to solve problems. I think a lot of people donât like maths in high school because they think itâs all about recipes: if you encounter a problem that looks like this, then you should solve it by following these steps. In college, maths is much more creative. If you want to come up with a way to solve maths problems, you have to understand the underlying maths. Thereâs a lot of logic, a lot of trial and error, and a lot of experimentation involved. In fact, doing research scratches the same part of my brain that itches when I solve (or write) puzzles.

**WHY DIDNâT YOU WANT TO CONTINUE TO WORK IN PURE MATHS AFTER YOUR UNDERGRADUATE DEGREE?**

Actually, I knew even at high school that I wanted to go into operations research after my undergrad degree. I loved maths at high school, but I didnât really know what sort of careers were possible if I majored in maths in college. Then a graduate of my high school, who works in operations research, gave a talk about operations research to my calculus class. I was hooked immediately.

**WHAT WAS IT THAT GRABBED YOUR ATTENTION ABOUT OPERATIONS RESEARCH?**

I loved the idea that maths could be applied, and applied to interesting businesses like airlines and health care, so I knew I wanted to go into operations research. But I also really wanted to go to Amherst College, which doesnât have an operations research programme. So, I decided to major in maths at Amherst, then switch to operations research in graduate school, and it worked out great.

**WHO HAS INSPIRED YOU THE MOST THROUGHOUT YOUR CAREER? OR IN YOUR CHOICE OF CAREER?**

I was fortunate to have a few really good maths teachers in high school, who helped me see the non-recipe side of maths earlier than some students do. I also had terrific maths professors in college, who encouraged me to find my way to operations research even though it wasnât part of the curriculum. They taught me to enjoy the slight feeling of vertigo you get when you start down the path of an idea, but you donât quite know how solid it is or which way itâs heading. They also taught me, by example, how much fun it is to teach. And also that maths jokes are awesome!

LARRYâS FAVOURITE MATHS JOKES!

- A mathematician, an engineer, and a physicist are riding a train through Scotland when they pass a black sheep. The engineer says, âApparently Scottish sheep are black.â The physicist says, âNo, all we can say is that
*some*Scottish sheep are black.â âNo, no,â says the mathematician, âall we can say is that some Scottish sheep are black*on one side*.âÂ - âA mathematician is a device for turning coffee into theorems.â Quote from the mathematician AlfrĂŠd RĂŠnyi

LARRYâS TOP TIPS FOR STUDENTS

Â

- Take the maths classes that interest you! Every maths class is going to stretch your brain in useful ways, and prepare you to think about whatever new kinds of problems youâll discover later.Â
- When you do maths, let your mind wander. Let yourself think about problems in ways that your teacher didnât suggest.Â
- Explore the ways that maths is linked to your other interests. Maths has a role to play in everything, whether that be music, coding, or even planning out a paper route.