Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] shortest path exercise
  • From: Joan Carmona Mercadé <JoanCarmona@xxxxxxxxxxx>
  • Date: Thu, 18 Apr 2024 14:14:38 +0000
  • Accept-language: ca-ES, es-ES, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intrasl.net; dmarc=pass action=none header.from=intrasl.net; dkim=pass header.d=intrasl.net; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Gc1h4IAM51m7jjIkus6VxDeC3/lZ6AxdXJAZ2UHiVCI=; b=UwRGugu7rZAZdkKaYlRFoFoSaCJvJuohfiHGfEGNjdmAmKUfiZC+FQZkLD+F+UjJAVlws1QhaQzgtvJoFOT3/ZBjKo9+NNkOaXNvy66bpx2/jaCQ7YJ6g7NJ2yv7k2WuWz6eum7LTzw2I2jnIOgRmGz/dw0GoxMhcJBoaY7DitDDWXOuKfKHgOfq2C3qsIrXcqsEQrv08vYeMZ9SuhxP1f9N9X9w+DCUBeeXsE1tQPpTPMkvSxiRCILIkwxFaB9CKxtWDT7ED6kiDt/FnV/FagZFcDuyXpyxQXoN3jRMKyQLm0RE6Etrbu+mKyAC87rss9KoIrnixRlrkEQZPwUzNQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a3pS6JpK+4WRCS+dU0s/ke1aTuxAsV4IgVq6RRbM6TncDYfmI7y92t9etTaM/kcbSC62DIOb8dXfN3QYH5Ff1/KPezXXA2qFbeHmvXveRqAS1AYLFhUivSyiWVBN51LVKryIRp+BSP28pQu8mX7dEhG5Yx+jiSN5V87vZcFSelXMBqE+kwNKj5mW7lpc120wDL/jlGo376GDSw19/0CEEnNYy1M9R7S/YBKqUQxfnfOtxyFGK5+jFl68y9GGCNL7G4MUd78/q/a9PFLBSNN+Xc5uDvLhAM8owz8ddZY/0xFsOzFlCnSGMyGGX6y5rZJStk54YxkqFOlFFfTK2USJiA==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdqRmWeq9ODM3qLJQe+Igb3RIL1B2Q==
  • Thread-topic: shortest path exercise

Hi,

 

I'm trying to find the shortest path between points A and B. I got my network from OSM. Then I create a simulation with a unique trip between A and B with no middle edges.

 

When I ask to Google, it gives me a route. But Sumo gives me a very different one. Then I modify the trip and add a middle edge from the route that Google gave to me. Then Sumo gives me the same route as Google.

 

If I check the values of output variables routeLength and duration, both values are greater in the first case (with no middle point). So, I don't understand why Sumo is giving me that route if it is longer and takes more time that the one with the middle edge.

 

What other parameters may I be forgetting?

 

Thanks,

Joan

 


Back to the top