torressa / cspy

A collection of algorithms for the (Resource) Constrained Shortest Path problem in Python / C++ / C#
https://torressa.github.io/cspy/
MIT License
77 stars 24 forks source link

Are these algorithms can be used to find shortest path which travel through a set of specific nodes? #107

Closed buhanfeng closed 1 year ago

buhanfeng commented 1 year ago

Hi Torressa,

Are these algorithms can be used to find shortest path which travel through a set of specific nodes? If so, how can I set up the parameter? Thanks.

torressa commented 1 year ago

This is a different problem, there may be a way to hack around using resources and custom REFs but I'm not sure whether it would work or be efficient

buhanfeng commented 1 year ago

OK, thanks for your quick feedback, I will close the case.