Searching 4 graph optimization software

Click For Summary
SUMMARY

The discussion centers on the challenge of finding the maximum path in a graph where vertices are interconnected with direction-dependent values. The problem, referred to as the "traveling hauler" problem, involves maximizing connection scores while adhering to constraints such as limiting the number of vertices and including specific points. Participants noted that while route optimization is a known issue, existing solutions do not compute in polynomial time, necessitating exhaustive path evaluations to determine the optimal route.

PREREQUISITES
  • Graph theory fundamentals
  • Understanding of directed graphs
  • Familiarity with the traveling salesman problem (TSP)
  • Basic knowledge of algorithm complexity
NEXT STEPS
  • Research algorithms for solving the traveling salesman problem (TSP)
  • Explore graph optimization software such as NetworkX or Graph-tool
  • Investigate heuristic methods for pathfinding in graphs
  • Learn about dynamic programming approaches to graph traversal
USEFUL FOR

This discussion is beneficial for data scientists, algorithm developers, and operations researchers focused on graph optimization and pathfinding challenges.

AntistatiK
Messages
2
Reaction score
0
I'd like 2 solve the following problem (well, routinely solve a bunch of such problems):
Let us have a number of points (vertices), that can be interconnected. Not any 2 points are connected. Each connection is assigned a value. I want 2 find the maximum path in the graph, that is, the one with the highest connection score (of course, visiting any point only once). Optionally, scores may be direction-dependent, that is, the value of connecting point A 2 B is not necessary equal 2 the value of B -> A. Also optionally, I want 2 specify, or limit, the number of vertices (out of the whole set) I want 2 connect. Also optionally, I want some particular vertices 2 be included by all means.
I found that the problem of minimizing such score is well-known, call it route optimization, or "traveling postman (salesman)". But I haven't found the software that solves my particular problem. Maybe it's realized in a software suite, but I'm not aware of it. I'm waiting 4 your ideas...
 
Physics news on Phys.org
Call it "the problem of traveling hauler", it's more intuitive. In the morning, he has a set of requests, such as "carry smth from A to B for $N". If he's on the road with no cargo, traffic cops fine him, also he burns out expensive fuel. He wants 2 earn the highest sum by the end of the day...
 
Last edited:
Notice that if you make the scores negative then minimizing that path is that same as your maximization problem, i.e, your problem is still the traveling salesman problem.

What do you mean by "Not any 2 points are connected"? I read this as meaning your graph doesn't have any connections.

There do exist ways to solve the problem, but none computes in polynomial time. That is, there isn't a known way to solve it other than trying all the possible paths then picking the shortest one.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K