Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SYMPHONY - TSP (VRP) bug #165

Open
svigerske opened this issue Mar 2, 2019 · 0 comments
Open

SYMPHONY - TSP (VRP) bug #165

svigerske opened this issue Mar 2, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: alangr

Original creation time: 2015-09-04 19:35:04

Assignee: somebody

Version:

'''Hey there, I'm using the TSP application (VRP)
I got the next error:'''

./vrp -F sample_21.vrp

Welcome to the SYMPHONY MILP Solver

Copyright 2000-2015 Ted Ralphs and others

All Rights Reserved.

Distributed under the Eclipse Public License 1.0

Version: 5.6.11

Build Date: Aug 24 2015

PROBLEM NAME: tsp_test

TYPE: TSP

DIMENSION: 21

Not enough data -- DIMENSION or EDGE_WEIGHT_TYPE declared wrong

this is my sample_21.vrp file:

NAME: tsp_test

TYPE: TSP

DIMENSION: 21

EDGE_WEIGHT_TYPE: EXPLICIT

EDGE_WEIGHT_FORMAT: FULL_MATRIX

EDGE_WEIGHT_SECTION:

99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 1 99999 99999 1
99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 1 99999 99999 1
99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 1 99999 1 1
99999 99999 1 99999 99999 1 99999 99999 99999 99999 99999 1 99999 99999 99999 1 1 1 99999 1 1
99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 1 99999 99999 1
99999 99999 99999 99999 99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 1 1 99999 99999 1 1
99999 99999 1 99999 1 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 99999 1
99999 99999 1 99999 99999 1 99999 99999 99999 99999 99999 99999 1 99999 99999 1 1 1 99999 99999 1
99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 1 99999 99999 1
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999
99999 99999 1 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 1 99999 99999 1 1 99999 99999 1
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 99999 99999 99999 99999
99999 99999 99999 99999 99999 1 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 1 1
99999 99999 99999 99999 99999 1 1 99999 99999 99999 99999 99999 99999 99999 99999 1 1 99999 99999 99999 1
99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 99999 1 99999 99999 99999 99999

EOF

*I also have another question. *

In TSPLIB format there are two options: EDGE_DATA_FORMAT and EDGE_DATA_SECTION. Both of them are important because with them you can indicate what edges are real. I mean, a full matrix should indicates if some edges are unexistant (using either 0 or -1).

So, using SYMPHONY..
how can I indicate (in a FULLY MATRIX) if there's no edge between two vertices?
(my EDGE_DATA_FORMAT and EDGE_DATA_SECTION flags are ignored.)

@svigerske svigerske transferred this issue from coin-or/Clp Mar 11, 2019
@tkralphs tkralphs added the bug Something isn't working label Jul 4, 2019
@tkralphs tkralphs self-assigned this Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants