lutzzdias / travelling-salesman-problem

0 stars 1 forks source link

#24: initialize_lower_bound #25

Closed lutzzdias closed 11 months ago

lutzzdias commented 11 months ago

This bound is not very good, specially considering that most (if not all) data sets we currently have contain a 0 cost between 2 cities. Nevertheless, the idea is to start with something really simple and improve it overtime.

This bound works by relaxing the constraints:

The idea is that the best possible solution will never be better than all cities having the shortest path among all of the possible paths.

In the future we can implement the bound discussed in class:

This was created based on the changes of #23, it should be merged before this PR.

Closes #24