Tutup

Need help in matlab travelling salesman problem

Proyek ini menerima 13 penawaran dari para freelancer berbakat dengan harga penawaran rata-rata $49 SGD.

Dapatkan penawaran gratis untuk proyek seperti ini
Pemberi kerja bekerja
Anggaran Proyek
$12 - $30 SGD
Total Penawaran
13
Deskripsi Proyek

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

Ingin menghasilkan uang?

  • Atur anggaran Anda dan jangka waktunya
  • Uraikan proposal Anda
  • Dapatkan bayaran atas pekerjaan Anda

Pekerjakan para freelancer yang juga menawar di proyek ini

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