Search found 14 matches
- 4 years ago
- Forum: Modeling
- Topic: Help with modeling this problem
- Replies: 1
- Views: 8555
Help with modeling this problem
Hello everybody, I have modeled the following problem. However, whenever I run my program with certain data (I am sure they are correct and appropriate), it does not give me what I expect. I guess there must be some problems with the way I code it. Any help will be appreciated. model.JPG This the co...
- 5 years ago
- Forum: Syntax
- Topic: finding Hamiltonian Path in TSP
- Replies: 4
- Views: 4903
Re: finding Hamiltonian Path in TSP
Thank you for that Link, That gave me other Ideas for coding.
- 5 years ago
- Forum: Syntax
- Topic: finding Hamiltonian Path in TSP
- Replies: 4
- Views: 4903
Re: finding Hamiltonian Path in TSP
I don't want to eliminate this answer, just want to check it's validity.
- 5 years ago
- Forum: Syntax
- Topic: finding Hamiltonian Path in TSP
- Replies: 4
- Views: 4903
finding Hamiltonian Path in TSP
Hello, I have written piece of Code for controlling that whether the Answer is a complete Cycle(Hamiltonian Cycle) or it is just a Sub-tour in Travelling Salesman Problem. Suppose that we have an Answer which starts from City"1", if we have such a Cycle then "flag=1". Any Help wi...