Real world application for math example (Maybe pattern recognition)

In summary, my dad is driving coal from the central which has enough coal, to farmers that need different amounts. He knows all distances, and how much coal each farmer needs. When all farmers have their needed coal, he notes the total distance his truck has driven. He can make a route, that minimizes the total distance his truck has driven by taking into account the amounts of coal each farmer needs.
  • #1
Keba
17
0

Homework Statement


My dad is driving coal. His truck has a limited coal-capacity, and enough fuel. He drives this coal from the central which has enough coal, to farmers that need different amounts. As there are many farmers, he has to drive back and forth several times. He knows all distances, and how much coal each farmer needs. When all farmers have their needed coal, he notes the total distance his truck has driven.

How can he make a route, that minimizes the total distance his truck has driven?


Homework Equations



The Attempt at a Solution


This is not from any assignment, but from a real problem which directly affects when my dad gets home from work.
I figure, If I get all the distances, I can make a map of the problem using Multidimensional Scaling, and then apply a modified k-nearest neighbors algorithm, that has a stop criteria of the truck capacity, and thus takes the amounts of coal into account.

What strategy would you use?
 
Physics news on Phys.org
  • #2
Keba said:

Homework Statement


My dad is driving coal. His truck has a limited coal-capacity, and enough fuel. He drives this coal from the central which has enough coal, to farmers that need different amounts. As there are many farmers, he has to drive back and forth several times. He knows all distances, and how much coal each farmer needs. When all farmers have their needed coal, he notes the total distance his truck has driven.

How can he make a route, that minimizes the total distance his truck has driven?


Homework Equations



The Attempt at a Solution


This is not from any assignment, but from a real problem which directly affects when my dad gets home from work.
I figure, If I get all the distances, I can make a map of the problem using Multidimensional Scaling, and then apply a modified k-nearest neighbors algorithm, that has a stop criteria of the truck capacity, and thus takes the amounts of coal into account.

What strategy would you use?

Your problem is an example of the Operations Research problem known as the "Truck Dispatching Problem", and is closely related to the so-called "Vehicle Routing Problem". The truck dispatching problem was first posed by Dantzig and Ramser, Management Science, Vol. 6, No. 1, 1959, pp. 80-91. Those authors gave near-optimal solutions of the problem using linear programming formulations. A great deal of subsequent work has been done on this problem, and numerous usable systems for getting near-optimal solutions exist, using various tools such as integer programming, tabu search, etc., as well as through a host of constructive heuristics. One source that you can look at is the 400-page report freely downloadable as a pdf file (or readable on screen) from the EPA. Do a Google search under "truck dispatching problem" and then scroll down to an entry entitled "Mathematical Analysis of Solid Waste Collection" (the URL is too long to put here). It has chapters on the models and algorithms used, and carries out tests of these on numerous example problems.

RGV
 
  • #3
Thank you for responding.
I was able to find some of the report, namely the part describing the Truck Dispatching Problem. "ftp://124.42.15.59/ck/2011-01/165/020/665/238/The%20Truck%20Dispatching%20Problem.pdf"[/URL]
It is the exact problem I am having.
I found the stated solution hard to follow, so I don't think I can recreate it for myself. You mentioned near-optimal solutions existed. Am I to understand, that there are finished algorithms available, that I can simply supply with a distance matrix, truck capacity and a delivery vector, and it will propose a solution?
 
Last edited by a moderator:
  • #4
I think the answer is YES: you can supply the data and the computer will spit out an answer of perhaps good quality (very likely better than anything you could come with on your own). The next question is: how do we get one of these codes? There, I am unsure; vehicle routing was not my speciality when still teaching and doing research. However, I can suggest you go to the INFORMS website and look therein for resources related to the situation. In particular, INFORMS maintains a listing of free software for a wide variety of problems, andaybe you will find what you need. Of course, there are numerous commercial packages available, but they might be very costly. You might also try posting your problem to the Operations Research newsgroup "sic.op-research", although that forum has been underutilized lately.

Good luck.

RGV

RGV
 
  • #5
Sorry for the typos above. Doing this on an i-phone allows only limited editing, and I cannot seem to scroll down in edit mode. Anyway, the newsgroup is "sci.op-research". Let's hope the speller does not change "s c i" to "s i c".

RGV
 

1. How is math used in pattern recognition?

Math is used in pattern recognition to analyze and identify patterns in data. This can include statistical methods such as regression and classification, as well as algorithms like neural networks. These mathematical tools help to identify patterns and relationships within data, which can be applied in various real-world scenarios such as image and speech recognition, financial forecasting, and medical diagnosis.

2. Can you give an example of a real-world application that uses pattern recognition?

One example of a real-world application that uses pattern recognition is facial recognition technology. This technology uses math algorithms to analyze facial features and patterns, allowing it to accurately identify and match faces in images or videos. This is commonly used in security systems, social media platforms, and even in smartphones for unlocking the device.

3. How does math help in predicting future outcomes based on patterns?

Math helps in predicting future outcomes based on patterns by using statistical models and algorithms to analyze data and identify patterns. These patterns can then be used to make predictions about future outcomes. For example, in stock market analysis, math is used to identify patterns in past market trends and make predictions about future stock prices.

4. What are some other real-world applications of math in pattern recognition?

Apart from facial recognition and stock market analysis, math is also used in other real-world applications of pattern recognition such as weather forecasting, speech recognition, and fraud detection. In weather forecasting, math is used to analyze and identify patterns in weather data to predict future weather conditions. In speech recognition, math is used to identify patterns in speech and convert it into text. In fraud detection, math is used to identify patterns and anomalies in financial transactions to detect fraudulent activities.

5. How important is math in pattern recognition?

Math is extremely important in pattern recognition as it provides the tools and techniques to analyze and identify patterns in data. Without math, it would be difficult to make accurate predictions and decisions based on patterns. It also allows for the development of advanced technologies and applications that rely on pattern recognition, making it an essential aspect of many industries and fields.

Similar threads

  • General Discussion
Replies
1
Views
791
  • Other Physics Topics
Replies
16
Views
5K
  • Astronomy and Astrophysics
Replies
10
Views
1K
Replies
1
Views
2K
  • Quantum Interpretations and Foundations
Replies
4
Views
1K
  • Classical Physics
Replies
21
Views
1K
  • General Discussion
Replies
2
Views
1K
Replies
19
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
340
  • Art, Music, History, and Linguistics
Replies
1
Views
1K
Back
Top