Skip to main content
Log in

Minimum Cost Partitions of Trees with Supply and Demand

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

Let T be a given tree. Each vertex of T is either a supply vertex or a demand vertex, and is assigned a positive integer, called the supply or the demand. Every demand vertex v of T must be supplied an amount of “power,” equal to the demand of v, from exactly one supply vertex through edges in T. Each edge e of T has a direction, and is assigned a positive integer which represents the cost required to delete e from T or reverse the direction of e. Then one wishes to obtain subtrees of T by deleting edges or reversing the directions of edges so that (a) each subtree contains exactly one supply vertex whose supply is no less than the sum of all demands in the subtree and (b) every edge is directed away from the supply vertex in each subtree. One wishes to minimize the total cost to obtain such subtrees from T. In the paper, we first show that this minimization problem is NP-hard, and then give a pseudo-polynomial-time algorithm to solve the problem. We finally give a fully polynomial-time approximation scheme (FPTAS) for the problem.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Boulaxis, N.G., Papadopoulos, M.P.: Optimal feeder routing in distribution system planning using dynamic programming technique and GIS facilities. IEEE Trans. Power Deliv., 17, 242–247 (2002)

    Article  Google Scholar 

  2. Chekuri, C., Khanna, S.: A polynomial time approximation scheme for the multiple knapsack problem. SIAM J. Comput. 35, 713–728 (2005)

    Article  MathSciNet  Google Scholar 

  3. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, San Francisco (1979)

    MATH  Google Scholar 

  4. Ibarra, O.H., Kim, C.E.: Fast approximation algorithms for the knapsack and sum of subset problems. J. ACM 22, 463–468 (1975)

    Article  MathSciNet  MATH  Google Scholar 

  5. Ito, T., Demaine, E.D., Zhou, X., Nishizeki, T.: Approximability of partitioning graphs with supply and demand. J. Discrete Algorithms, 6, 627–650 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  6. Ito, T., Hara, T., Zhou, X., Nishizeki, T.: Minimum cost partitions of trees with supply and demand. In: Proc. of the 21st Annual International Symposium on Algorithms and Computation (ISAAC 2010) Part II. Lecture Notes in Computer Science, vol. 6507, pp. 351–362. Springer, Berlin (2010)

    Google Scholar 

  7. Ito, T., Zhou, X., Nishizeki, T.: Partitioning trees of supply and demand. Int. J. Found. Comput. Sci., 16, 803–827 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  8. Ito, T., Zhou, X., Nishizeki, T.: Partitioning graphs of supply and demand. Discrete Appl. Math. 157, 2620–2633 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  9. Jansen, K.: Parameterized approximation scheme for the multiple knapsack problem. In: Proc. of the 20th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2009), pp. 665–674. Springer, Berlin (2009)

    Google Scholar 

  10. Kellerer, H., Pferschy, U., Pisinger, D.: Knapsack Problems. Springer, Berlin (2004)

    MATH  Google Scholar 

  11. Morton, A.B., Mareels, I.M.Y.: An efficient brute-force solution to the network reconfiguration problem. IEEE Trans. Power Deliv., 15, 996–1000 (2000)

    Article  Google Scholar 

  12. Papadimitriou, C.H.: Computational Complexity. Addison-Wesley, Reading (1994)

    MATH  Google Scholar 

  13. Teng, J.-H., Lu, C.-N.: Feeder-switch relocation for customer interruption cost minimization. IEEE Trans. Power Deliv., 17, 254–259 (2002)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Takehiro Ito.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ito, T., Hara, T., Zhou, X. et al. Minimum Cost Partitions of Trees with Supply and Demand. Algorithmica 64, 400–415 (2012). https://doi.org/10.1007/s00453-011-9573-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-011-9573-7

Keywords

Navigation