Polynomial vs. Exponential time

  • Context: Undergrad 
  • Thread starter Thread starter senmeis
  • Start date Start date
  • Tags Tags
    Complexity
Click For Summary
SUMMARY

The discussion highlights the significant time complexity differences between polynomial and exponential algorithms, particularly in the context of sorting and NP-complete problems. Polynomial algorithms, such as Strassen's matrix multiplication, demonstrate manageable run times, improving from O(n^3) to O(n^2.8). In contrast, exponential algorithms, exemplified by the traveling salesman problem, exhibit drastic increases in run time with larger input sizes, making them impractical for large datasets. The discussion emphasizes the critical importance of algorithm choice in real-world applications, particularly in industries like logistics and healthcare.

PREREQUISITES
  • Understanding of algorithm complexity, specifically polynomial and exponential time complexities.
  • Familiarity with Strassen's matrix multiplication and its implications on computational efficiency.
  • Knowledge of NP-complete problems and their relevance in practical applications.
  • Basic mathematical concepts related to growth rates and big O notation.
NEXT STEPS
  • Research the implementation and optimization of Strassen's matrix multiplication in software applications.
  • Explore algorithms for solving NP-complete problems, focusing on approximation techniques.
  • Study the implications of algorithmic complexity in real-world scenarios, particularly in logistics and healthcare.
  • Learn about advanced sorting algorithms and their performance metrics in comparison to traditional methods.
USEFUL FOR

Software engineers, data scientists, and algorithm researchers who are involved in optimizing computational efficiency and solving complex problems in various industries.

senmeis
Messages
77
Reaction score
3
Hi,

How much time difference can be expected between polynomial and exponential time?
 
Mathematics news on Phys.org
Guessing OP is referring to solving times, like sorting algorithms.

Algorithms with polynomial run times proceed at a manageable rate, whereas algorithms with exponential run times often double their run times with each additional element, rapidly becoming unmanageable.
 
Last edited:
  • Agree
Likes   Reactions: FactChecker
senmeis said:
Hi,

How much time difference can be expected between polynomial and exponential time?
This is only relevant for large input lengths. An example. Strassen's matrix multiplication has brought the number of multiplications, which were time-consuming in relation to additions, from ##n^3## to ##n^{2.8}##. I've heard rumors that this was enough to implement the algorithm in airplane software. And this was only a polynomial improvement.

If you look at NP complete problems like the travelling salesman problem, which has many real-world applications like staffing in industries such as airlines, hospitals, or logistics, where a large number of persons and regulations have to be juggled, you get a tremendous benefit between polynomial and exponential.

##100^5=10^{10}## but ##e^{100}\sim 10^{43}=1000\cdot 10^{10}\cdot 10^{10}\cdot 10^{10}\cdot 10^{10}.## So even ##n=100## can vary between doable and hopeless.
 
Last edited:
  • Like
Likes   Reactions: FactChecker

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K