eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.58k stars 1.44k forks source link

Replace rounded LP with MILP in routeSampler.py #13884

Open bcoueraud87 opened 1 year ago

bcoueraud87 commented 1 year ago

The function optimize makes use of SciPy's linprog procedure. Since the results can be real numbers, they have to be rounded. A more natural solution would be to use the milp procedure, which has be created for that purpose.

bcoueraud87 commented 1 year ago

@behrisch Please assign me.