Finding the most efficient paths between two vertices in a knapsack-item weighted graph

Nadav Voloch

Research output: Contribution to journalArticlepeer-review

3 Scopus citations


There have been several combinations of the knapsack problem and the shortest paths on weighted graph problems in different researches. The combination is often used to describe the choices made during the knapsack problem stages using dynamic programming methods, by using the knapsack graph. But these researches consider only two aspects of weight and value for an item/vertex. The objective of this paper is to address a different kind of problem in which we are taking into consideration three properties: item weight, item value and edge weight (that connects two items, but its weight is not depended on its vertices). The problem presented here is finding the most efficient path between two vertices of this specific kind of graph, in three aspects- minimal edge wise, maximum knapsack value wise, and a combination of maximal efficiency of both properties. This is done through an object oriented method, in which every path of the graph, between two chosen vertices, has comparable attributes, that gives us the ability to prefer a certain path from another. An algorithm for finding these optimal paths is presented here, along with specific explanations on its decision stages, and several examples for it. The results were achieved an exact paradigm for the integrated problem, taking into consideration any desired aspect, and achieving optimal choices per each attribute.

Original languageEnglish
Pages (from-to)15-22
Number of pages8
JournalInternational Journal of Advanced Computer Research
Issue number28
StatePublished - 1 Jan 2017
Externally publishedYes


  • 0-1 knapsack problem
  • All paths between two vertices in a graph
  • Dijkstra's algorithm
  • Dynamic programming
  • Graph theory
  • Knapsack problem
  • Shortest paths on weighted graphs

ASJC Scopus subject areas

  • General Computer Science
  • Electrical and Electronic Engineering


Dive into the research topics of 'Finding the most efficient paths between two vertices in a knapsack-item weighted graph'. Together they form a unique fingerprint.

Cite this