TL;DR
This paper proposes a novel approach to tackle NP-complete problems not by proving P=NP or P!=NP, but by transforming two specific NP-complete problems, Minimizing Makespan (MinMS) and Minimizing Total Power-on Time (MinTPT), into solvable P problems. They achieve this by leveraging techniques like Virtual Machines (VMs) and Live VM Migration, demonstrating that practical solutions to these complex problems can be found in polynomial time.
What Problem Does This Paper Address?
The P versus NP problem is one of the most significant open questions in computer science and mathematics. It asks whether every problem whose solution can be quickly verified (NP) can also be quickly solved (P). While much research focuses on proving P=NP or P!=NP, this paper takes a different tack. It addresses the practical challenge of solving NP-complete problems, which are notoriously difficult and computationally expensive to solve exactly. The authors aim to provide a new perspective by showing how to transform specific NP-complete problems into equivalent P problems, thus enabling efficient, exact solutions for real-world applications.
Methods
The paper introduces two main approaches for transforming NP-complete problems into P problems:
- For Minimizing Makespan (MinMS): The authors propose the Partition and Migration (PAM) algorithm. This algorithm first calculates the ideal optimal balance value (OPT) for job distribution across machines. Then, it uses Virtual Machines (VMs) and Live VM Migration to redistribute workloads. Jobs are sorted, and machines with loads exceeding OPT have their excess load partitioned and migrated to machines with loads below OPT, aiming to make all machine loads exactly equal to OPT. The complexity is O(n log m) using priority queues.
- For Minimizing Total Power-on Time (MinTPT): The authors propose the Algorithm 1 Lower Bound Migration (LBM). This algorithm focuses on minimizing the total power-on time of machines by considering fixed process intervals for jobs. It first calculates a theoretical lower bound (OPT) for MinTPT, which is the sum of the minimum machines needed per time slot. The algorithm then sorts jobs by their start times and uses job migration to achieve this OPT. Jobs are allocated to machines, and if a slot requires more machines than available, or if a machine has excess capacity, jobs are migrated to ensure the minimum number of machines are used per slot, thus achieving the theoretical lower bound. The complexity is O(n log n) + O(S), where S is the total number of slots.
Datasets
Not discussed in the paper. The paper focuses on theoretical algorithms and problem transformations rather than empirical evaluation on specific datasets.
Key Insights and Ideas
- Shifting Focus from P vs. NP Proof to Practical Solutions: The paper argues that instead of getting bogged down in proving P=NP or P!=NP, we can make significant progress by developing methods to transform NP-complete problems into solvable P problems.
- Leveraging Virtualization and Migration: The core innovation lies in using modern virtualization technologies like VMs and Live VM Migration as a mechanism to achieve exact solutions for problems that were previously considered intractable. This highlights how advancements in infrastructure can impact theoretical computer science.
- Achieving Theoretical Optimal Solutions: For both MinMS and MinTPT, the proposed algorithms are shown to achieve the theoretical optimal solution (OPT) in polynomial time, provided job migration is allowed. This is a significant practical improvement over approximation algorithms.
- Common Features in NP-Complete Problem Solving: The paper identifies commonalities in solving MinMS and MinTPT, suggesting that their OPT values can be computed in advance, and partition/migration techniques can be applied. This hints at a potential generalizable framework for tackling other NP-complete problems.
Key Results
- MinMS Transformed to P: The PAM algorithm transforms the NP-complete MinMS problem into a P problem, solving it exactly in polynomial time (O(n log m)).
- MinTPT Transformed to P: The LBM algorithm transforms the NP-complete MinTPT problem into a P problem, achieving the theoretical lower bound (OPT) with job migration in polynomial time (O(n log n) + O(S)).
- Proof of NP-Completeness: The paper provides proofs for the NP-completeness of both MinMS and MinTPT in their general cases.
Limitations and Future Work
- Dependence on Migration: The effectiveness of the MinTPT solution relies heavily on the ability to perform job migration. The paper acknowledges that without migration, finding an optimal solution for MinTPT is still NP-complete.
- Generalizability: While the paper suggests a common approach for MinMS and MinTPT, it poses the question of whether other NP-complete problems can be solved similarly. The authors express interest in exploring other NP-complete problems and studying the possibility of transforming them into P problems.
- Practical Implementation Details: The paper focuses on the algorithmic transformation. The practical overhead and efficiency of implementing live VM migrations and complex partitioning schemes in real-world cloud environments would require further investigation.
- TSP Exploration: The paper mentions their previous work on the Traveling Salesman Problem (TSP) using an approximation algorithm and raises the question of whether TSP can also be transformed into a P problem.
Summary updated