Travelling salesman problem:Integer Programming Solution

Version 1.0.0 (1,91 ko) par RMS Danaraj
This code formulates Travelling salesman problem as binary integer programming and solves it by MATLAB linintprog.
209 téléchargements
Mise à jour 10 mars 2020

Afficher la licence

% This code solves the travelling salesman problem.
% Part 1 data formating.
%-------------------
% n is the number pf cities.
%MATLAB linprog solver converge to global solution for n<40
% so if n>40 change solver options or use some other solver[CPLEX,GUROBI ,...] interface
%(x,y) is the cartesian coordinatea id rge cities.
% n (x,y) coordinate pairs are created randomly.
n=30;
% MATLAB intlinprog solver may not get global solution if n>40.

Citation pour cette source

RMS Danaraj (2026). Travelling salesman problem:Integer Programming Solution (https://fr.mathworks.com/matlabcentral/fileexchange/74482-travelling-salesman-problem-integer-programming-solution), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec les versions R2017a à R2019b
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags
Version Publié le Notes de version
1.0.0