Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Travelling Salesman Problem

Travelling Salesman Problem

Scheduled Pinned Locked Moved Algorithms
javahelpquestion
22 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A and_reas

    can somebody give me the source code of this problem (TSP travelling salesman problem) in java ?? or somewhere similar ??? please ???

    J Offline
    J Offline
    Just me at will_george something
    wrote on last edited by
    #2

    I SHOULD NOT reply because I'm SO BAD at Math.. but I had to! I found one Open Source program.. There are MANY out on the NET. http://sourceforge.net/projects/jcconvenant I only responded to this because this is the only Math subject I ever got a 'A' in.. I had the C# code I used for the grade but I cannot find it. (You would be more than welcome to it BUT.. I'm affraid it's lost) It has been been awhile since it was made. Sorry! As I remember it took me forever to get it right. If it helps, I found a book at the time which 'at least made me understand the subject' Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

    S M U 3 Replies Last reply
    0
    • A and_reas

      can somebody give me the source code of this problem (TSP travelling salesman problem) in java ?? or somewhere similar ??? please ???

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #3

      Don't crosspost.

      U 1 Reply Last reply
      0
      • A and_reas

        can somebody give me the source code of this problem (TSP travelling salesman problem) in java ?? or somewhere similar ??? please ???

        L Offline
        L Offline
        leckey 0
        wrote on last edited by
        #4

        Nuff said.

        P J U 3 Replies Last reply
        0
        • J Just me at will_george something

          I SHOULD NOT reply because I'm SO BAD at Math.. but I had to! I found one Open Source program.. There are MANY out on the NET. http://sourceforge.net/projects/jcconvenant I only responded to this because this is the only Math subject I ever got a 'A' in.. I had the C# code I used for the grade but I cannot find it. (You would be more than welcome to it BUT.. I'm affraid it's lost) It has been been awhile since it was made. Sorry! As I remember it took me forever to get it right. If it helps, I found a book at the time which 'at least made me understand the subject' Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

          S Offline
          S Offline
          Steve S
          wrote on last edited by
          #5

          Just me at will_george...something wrote:

          Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

          Excellent choice. There are C++ versions available as well, with parts 1-4 (in a single volume), and part 5.

          Steve S Developer for hire

          J U 2 Replies Last reply
          0
          • L leckey 0

            Nuff said.

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #6

            leckey wrote:

            Nuff said.

            Yeppers.

            U 1 Reply Last reply
            0
            • J Just me at will_george something

              I SHOULD NOT reply because I'm SO BAD at Math.. but I had to! I found one Open Source program.. There are MANY out on the NET. http://sourceforge.net/projects/jcconvenant I only responded to this because this is the only Math subject I ever got a 'A' in.. I had the C# code I used for the grade but I cannot find it. (You would be more than welcome to it BUT.. I'm affraid it's lost) It has been been awhile since it was made. Sorry! As I remember it took me forever to get it right. If it helps, I found a book at the time which 'at least made me understand the subject' Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

              M Offline
              M Offline
              mehata
              wrote on last edited by
              #7

              Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it.

              mehata sheetal

              J D U 3 Replies Last reply
              0
              • M mehata

                Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it.

                mehata sheetal

                J Offline
                J Offline
                Just me at will_george something
                wrote on last edited by
                #8

                Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it...... Hi, I'm the mathematics person. Can anyone give me a problem? I'm sure I can help you with it. I changed some of the English... LOL.. Not that I am a expert on it. I have been doing it for only 65+ years. I still get it all wrong! Really! There is NO HATE HERE toward anybody.. I just thought it was funny from my point of view. I have a strange mind and had a good laugh. Good way to start a day. Thank You! By the way, I know no other language except my Chicago style English. I'm in wonder of people that speak or write in other languages! Amazing! I have a 'TIN' ear and cannot get the 'words' spoken in my brain. I'm about as poor at Math as my English! Anyway... My question, which I'm sure is stupid. (I have no shame so I'll ask it anyway.) I hope I can explain what I am thinking of.... Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some sort of square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control?) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. What am I missing? I'm lost. Bless YOU!

                U 1 Reply Last reply
                0
                • S Steve S

                  Just me at will_george...something wrote:

                  Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

                  Excellent choice. There are C++ versions available as well, with parts 1-4 (in a single volume), and part 5.

                  Steve S Developer for hire

                  J Offline
                  J Offline
                  Just me at will_george something
                  wrote on last edited by
                  #9

                  There are C++ versions available as well.. That is what I have! I really did not fing <<< (I thought I typed FIND) it hard to translate it to C# Well, the graphic part was a bit of a problem though. I only mentioned this book because I'm sort of stupid at math (but I love to try!) and this book at least made me think I knew what I was doing!

                  U 1 Reply Last reply
                  0
                  • L leckey 0

                    Nuff said.

                    J Offline
                    J Offline
                    Just me at will_george something
                    wrote on last edited by
                    #10

                    not doing their own homework.. I sort of agree BUT in my math classes (which I take just because I love frustration) I have used comments/code from 'other' sources that got me a reasonable grade.. Sometimes FAILED using it! BUT it gave me insight to things I never knew before. Nuff Said. -- modified at 8:51 Wednesday 8th November, 2006 I'm adding this because I'm old and hit the Post Message Button before I was finished. I wanted to say that I can do almost anything with my hands without hardly thinking except draw/paint. My Mom can paint anything.. All I get is a blob! Must be the Math in drawing objects! One time I carved a almost perfect Elephant in wood that everybody I know just LOVES it.. I have no idea how I did it.. I carved while watching Twilight Zone or something.. Not everybody that asks a question is asking for homework for you to do.. Well, maybe AOT but what does that matter? Their 'homework' will work out in the end when they cannot do the job.. BUT.... maybe somebody out there will become a Great Enginner or Banker keeping 'the books' on YOUR bank account!

                    U 1 Reply Last reply
                    0
                    • M mehata

                      Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it.

                      mehata sheetal

                      D Offline
                      D Offline
                      DHIRAJ SHETI
                      wrote on last edited by
                      #11

                      :)HI, i m transportation engg. M.tech student. i want to learn matlab. how to start it from the begining???? i want to solve genetic algorithm for my project work. is matlab will be simple or c programme??????? REPLY ME HAVE A NICE DAY

                      U 1 Reply Last reply
                      0
                      • E ednrgc

                        Don't crosspost.

                        U Offline
                        U Offline
                        User 12346520
                        wrote on last edited by
                        #12

                        thanks: https://movied.org

                        1 Reply Last reply
                        0
                        • P Paul Conrad

                          leckey wrote:

                          Nuff said.

                          Yeppers.

                          U Offline
                          U Offline
                          User 12346520
                          wrote on last edited by
                          #13

                          thanks: https://movied.org

                          1 Reply Last reply
                          0
                          • L leckey 0

                            Nuff said.

                            U Offline
                            U Offline
                            User 12346520
                            wrote on last edited by
                            #14

                            thanks: https://movied.org

                            1 Reply Last reply
                            0
                            • D DHIRAJ SHETI

                              :)HI, i m transportation engg. M.tech student. i want to learn matlab. how to start it from the begining???? i want to solve genetic algorithm for my project work. is matlab will be simple or c programme??????? REPLY ME HAVE A NICE DAY

                              U Offline
                              U Offline
                              User 12346520
                              wrote on last edited by
                              #15

                              thanks: https://movied.org

                              1 Reply Last reply
                              0
                              • J Just me at will_george something

                                not doing their own homework.. I sort of agree BUT in my math classes (which I take just because I love frustration) I have used comments/code from 'other' sources that got me a reasonable grade.. Sometimes FAILED using it! BUT it gave me insight to things I never knew before. Nuff Said. -- modified at 8:51 Wednesday 8th November, 2006 I'm adding this because I'm old and hit the Post Message Button before I was finished. I wanted to say that I can do almost anything with my hands without hardly thinking except draw/paint. My Mom can paint anything.. All I get is a blob! Must be the Math in drawing objects! One time I carved a almost perfect Elephant in wood that everybody I know just LOVES it.. I have no idea how I did it.. I carved while watching Twilight Zone or something.. Not everybody that asks a question is asking for homework for you to do.. Well, maybe AOT but what does that matter? Their 'homework' will work out in the end when they cannot do the job.. BUT.... maybe somebody out there will become a Great Enginner or Banker keeping 'the books' on YOUR bank account!

                                U Offline
                                U Offline
                                User 12346520
                                wrote on last edited by
                                #16

                                thanks: https://movied.org

                                1 Reply Last reply
                                0
                                • J Just me at will_george something

                                  Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it...... Hi, I'm the mathematics person. Can anyone give me a problem? I'm sure I can help you with it. I changed some of the English... LOL.. Not that I am a expert on it. I have been doing it for only 65+ years. I still get it all wrong! Really! There is NO HATE HERE toward anybody.. I just thought it was funny from my point of view. I have a strange mind and had a good laugh. Good way to start a day. Thank You! By the way, I know no other language except my Chicago style English. I'm in wonder of people that speak or write in other languages! Amazing! I have a 'TIN' ear and cannot get the 'words' spoken in my brain. I'm about as poor at Math as my English! Anyway... My question, which I'm sure is stupid. (I have no shame so I'll ask it anyway.) I hope I can explain what I am thinking of.... Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some sort of square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control?) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. What am I missing? I'm lost. Bless YOU!

                                  U Offline
                                  U Offline
                                  User 12346520
                                  wrote on last edited by
                                  #17

                                  thanks: https://movied.org

                                  1 Reply Last reply
                                  0
                                  • J Just me at will_george something

                                    There are C++ versions available as well.. That is what I have! I really did not fing <<< (I thought I typed FIND) it hard to translate it to C# Well, the graphic part was a bit of a problem though. I only mentioned this book because I'm sort of stupid at math (but I love to try!) and this book at least made me think I knew what I was doing!

                                    U Offline
                                    U Offline
                                    User 12346520
                                    wrote on last edited by
                                    #18

                                    thanks: https://movied.org

                                    1 Reply Last reply
                                    0
                                    • S Steve S

                                      Just me at will_george...something wrote:

                                      Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

                                      Excellent choice. There are C++ versions available as well, with parts 1-4 (in a single volume), and part 5.

                                      Steve S Developer for hire

                                      U Offline
                                      U Offline
                                      User 12346520
                                      wrote on last edited by
                                      #19

                                      thanks: https://movied.org

                                      1 Reply Last reply
                                      0
                                      • M mehata

                                        Hi, iam the mathematics person.can anyone give me the problem so i can sure help on it. please give me the problem then i will think on it.

                                        mehata sheetal

                                        U Offline
                                        U Offline
                                        User 12346520
                                        wrote on last edited by
                                        #20

                                        thanks: https://movied.org

                                        1 Reply Last reply
                                        0
                                        • J Just me at will_george something

                                          I SHOULD NOT reply because I'm SO BAD at Math.. but I had to! I found one Open Source program.. There are MANY out on the NET. http://sourceforge.net/projects/jcconvenant I only responded to this because this is the only Math subject I ever got a 'A' in.. I had the C# code I used for the grade but I cannot find it. (You would be more than welcome to it BUT.. I'm affraid it's lost) It has been been awhile since it was made. Sorry! As I remember it took me forever to get it right. If it helps, I found a book at the time which 'at least made me understand the subject' Algorithms In C, Third addition, Graphic algorithms, Part 5, by Robert Sedgewick, Addison-Wesley

                                          U Offline
                                          U Offline
                                          User 12346520
                                          wrote on last edited by
                                          #21

                                          thanks: https://movied.org

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups