# Optimization ORS and Vroom locally, running in Python

**URL:** <https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387>\
**Category:** openelevationservice\
**Created:** [December 9, 2021, 2:17pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387 "2021-12-09T14:17:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![orlandoandradeb](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/o/c37758/32.png) [@orlandoandradeb](https://ask.openrouteservice.org/u/orlandoandradeb)\
**Post date:** [December 9, 2021, 2:17pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387/1 "2021-12-09T14:17:21Z")

</div>

Hello

I start to use ORS library in Python to generate some optimization in VRP problem. Rigth now I am doing it using the ORS´s API but I would like to do it locally. Is there a way that I can install both software (ORS and VROOM) locally in order to generate optimization locally?

Best regards,  
Orlando

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [December 9, 2021, 2:21pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387/2 "2021-12-09T14:21:00Z")

</div>

Hey,

yes, both are open source 🙂  
Find the ors installation instructions [here](https://giscience.github.io/openrouteservice/installation/Installation-and-Usage.html) and the VROOM installation instructions [here](https://github.com/VROOM-Project/vroom/wiki/Building). Note that for vroom you might want to use [vroom-express](https://github.com/VROOM-Project/vroom-express) to use it with http queries.

Best regards

---

<div class="post-metadata">

**Author:** ![orlandoandradeb](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/o/c37758/32.png) [@orlandoandradeb](https://ask.openrouteservice.org/u/orlandoandradeb)\
**Post date:** [December 9, 2021, 2:26pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387/3 "2021-12-09T14:26:56Z")

</div>

Hello jschnell

Great. Thank you!. My second doubt is if I install both locally, Am I will be able to run my code of optimization in Python as usual?

Best regard,  
Orlando

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [December 9, 2021, 2:31pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387/4 "2021-12-09T14:31:23Z")

</div>

Hey,

as I don’t know what your “usual” way of running optimization from python is, I don’t know 😉  
Using vroom-express, you should be able to query your local installation as you do with the ORS API.

Best regards

---

<div class="post-metadata">

**Author:** ![orlandoandradeb](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/o/c37758/32.png) [@orlandoandradeb](https://ask.openrouteservice.org/u/orlandoandradeb)\
**Post date:** [December 9, 2021, 3:01pm UTC](https://ask.openrouteservice.org/t/optimization-ors-and-vroom-locally-running-in-python/3387/5 "2021-12-09T15:01:23Z")

</div>

Thank you !
