python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Searching for a minimum cycle in a graph containing a set of nodes
If i have an undirected weighted graph G = (V, e) and a set of nodes P, how do i find the minimum cycle containing all the nodes in P?
I have a large graph G and a set of nodes P based on user input. ...
Eric Eldridge
Votes: 0
Answers: 2
Reduce size of alternate solutions in optimization
We have a supplier/depot (index d) and several factories (index f) with demand known for different products (p) during T month (index t) ahead. There is a fleet of trucks (index v) with different truc...
Matt Najarian
Votes: 0
Answers: 3
Would an unordered_set in c++ find the values in this data in constant time?
Suppose I have a list of vertices in a graph. This list corresponds to a path in the graph and before adding another vertex I need to check if it is already present in the path or not.
I was thinking ...
Paawan Angra
Votes: 0
Answers: 1
Travelling Salesman with Momentum?
I have a task that is very similar to travelling salesman problem (TSP), but I'm not sure if it's easily mappable to TSP. I'm wondering if this variant has a name and known solvers already, or can be...
Peter
Votes: 0
Answers: 1