图中最有意义的路径 [英] Most rewarding path in a graph
问题描述
我遇到了以下问题:
鉴于
- 无向图,其中每条边E具有:
- Et - 遍历E所需的时间
- Er - 遍历E的奖励
- Et - 遍历E所需的时间
注意: 我的问题: 已知的相关问题: 定向问题 - 奖励是基于顶点的()。在我的情况下,奖励是基于边缘的。 盈利的Arc Tour问题 - 目标是在图表中找到一组循环,以最大限度地收集利润减去差旅费用。
$ b
这一个让我想起了这个众所周知的NP-难题
http://en.wikipedia.org/wiki/Longest_path_problem
问题你表示必须是NP-hard也是。
I'm faced with the following problem:
Given
- An undirected graph, where each edge E has:
- Et - the time it takes to traverse E
- Er - the reward for traversing E
Goal:
- Problem 1: Given time period T, find the most rewarding path in the graph
- Problem 2: Given time period T, find the most rewarding cycle in the graph (after period T, the agent must be at the start-point again).
Notes:
- If an edge is partially traversed, the reward is proportional the the portion traversed
- Reward can be claimed only once for each edge traversed (or portion of)
- A path/cycle may start at any given point (either on a vertex, or along an edge)
My questions:
- Is this a known problem (Does it has a name? Has it been studied before?).
- Is it NP-hard?
- Any ideas how to approach it?
Known Related Problems:
- The orienteering problem - Rewards are vertex-based (). In my case, the rewards are edge-based.
- Profitable Arc Tour Problem - The objective is to find a set of cycles in the graph that maximizes the collection of profit minus travel costs.
- Edit: The Undirected Capacitated Arc Routing Problem with Profits - Quite similar to my problem, but a depot vertex (start,end of each cycle) is given, the triangle inequality is satisfied, and the problem is generalized to a set of agents, all starting and ending at the same depot).
This one reminded me this well known NP-hard problem http://en.wikipedia.org/wiki/Longest_path_problem
The problem you denoted must be NP-hard too.
这篇关于图中最有意义的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!