Closed

Need help in matlab travelling salesman problem

This project received 13 bids from talented freelancers with an average bid price of $49 SGD.

Get free quotes for a project like this
Employer working
Project Budget
$12 - $30 SGD
Total Bids
13
Project Description

I have written codes which generate an n x n distance matrix, but i need help to

generate all the possible paths/permutations without using the perms

function in matlab

For example this is my distance matrix:

This is my distance matrix.

A B C

A 0 [url removed, login to view] [url removed, login to view]

B [url removed, login to view] 0 [url removed, login to view]

C [url removed, login to view] [url removed, login to view] 0

I want to find the distance of all paths(this is for 3x3matrix)

ABC

ACB

So a 4x4matrix will be

ABCD

ABDC

ACBD

ACDB

ADBC

ADCB

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online