Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Libsumo usage with taxi vehicles
  • From: "Bochenina, Klavdiia" <klavdiia.bochenina@xxxxxxxxxxx>
  • Date: Wed, 22 Nov 2023 15:52:18 +0000
  • Accept-language: ru-RU, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=helsinki.fi; dmarc=pass action=none header.from=helsinki.fi; dkim=pass header.d=helsinki.fi; 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=oqh2RQ9VPNBSNKvziJU8MSMsvqdPkIZjwAENX7HgO9w=; b=I1JMsl5P5uLJm+FnfbuSk4Rs0u91EQOMohgV3q55aDNxMA0ZR/H1NvmEXKvYoOvXNMOpePUrKPeWF0XQi6XFEaIxo7dEzFPA6XQu1E3PXfnBADdGsFeHbeyZwEWrD0AOtOOIBmecPSsX80SYLx2XJlv07NZay2rjJxWjfMYEf2vp8D5frBtWJWbwmSa2+9M094ACycXtYchFn+esYFgb7o99XlwTNba9Ww4w/oTWk4hsvsIKl1i3XagHHpz++tguDhRZCOWXrEr9/EzuoQFiDXTFdcN6+Xn+Id758BBACrsIbBQZsbczSX1W+w+J9Vf0QGsd/3m4YMFwSxJ4BPO1fw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwYzf6wEOYhCqxH+pLPyUz3LlL1nnZF0JgQ1n/jwtCunC2xyKXqgt8jBatPsa1P55uFuG8qd0LiNM1QmUGIfbRRPaBFpXaKaKKHhlB77BBm3WbtlSRpU3ERczxASgEObb6Tfyex7SOgB8oHYipAxKhvi5H7r34LusEIfG5/vxiD4mfJxx/J9zaUUFBchUlgULWByX8hqa4VlJud1p3JkdMlquJ8ciABW0SBdpA+ko+xryOBH8UqvrLWFKl9vfHdYDQy/fhtAAUtFJVFyY9ChruIvTMwrvGl15sM/D5K22mGpUDWPwIpS7NQlQguO/Y8QGF7jArfzyVYnMeHD2KWAXQ==
  • 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>
  • Msip_labels:
  • Thread-index: AQHaHVmGwkGSfoIPWEGkh9BRYSxpRw==
  • Thread-topic: Libsumo usage with taxi vehicles

Dear all!

I tried to use libsumo instead of traci for new taxi routing algorithm to reduce overheads. 

The algorithm which worked for traci now crashes with libsumo.libsumo.FatalTraCIError: bad allocation error, when I use vehicle.getParameter() function e.g. like that: 

vehicle.getParameter(taxi, "device.taxi.currentCustomers")

  1. Is it the case mentioned in the documentation (so this function, indeed, should not work for libsumo):

The following things currently do not work (or work differently than with the TraCI Python client): subscriptions that require additional arguments (except for vehicle.getLeader)?

  1. More general question would be, then, should I consider using libsumo for taxi vehicles if I need to obtain information about reservations, taxi fleet, current routes etc from SUMO or it would be better to stay with traci? I am currently creating Gym environment for applying RL for ride-pooling problem, and already feel that the performance will be really an issue.
Thank you in advance,
Klavdiia Bochenina


Back to the top