Skip to content

An implementation ( using cplex ) of the original formulation of Miller-Tucker-Zemlin for the TSP

Notifications You must be signed in to change notification settings

thiagovas/Miller-Tucker-Zemlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Miller-Tucker-Zemlin

An implementation ( using cplex ) of the original formulation of Miller-Tucker-Zemlin for the TSP.

Uma implementação do Miller-Tucker-Zemlin original usando o pacote cplex.

Input:

4

0 20 23 4

30 0 7 27

25 5 0 25

3 21 26 0

The input is very simple, the first line has the number n of vertices of the graph, then the algorithm reads a adjacency matrix, in other words, it reads n lines where each line has n columns.

O input é bem simples, a primeira linha indica o número n de vértices do grafo, depois segue uma matriz de adjacencias, ou seja, n linhas e cada linhas com n colunas.

About

An implementation ( using cplex ) of the original formulation of Miller-Tucker-Zemlin for the TSP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages