This model is an example of a railway dispatching problem formulated as an optimization problem using the Gurobi Python API and solved with the Gurobi Optimizer. The model is based on our 2024 webinar about railway optimization.
This modeling example is at the advanced level, where we assume that you are familiar with Python and the Gurobi Python API, and that you have advanced knowledge of building mathematical optimization models. Typically, the objective function and/or constraints of these examples are complex or require advanced features of the Gurobi Python API.
Click on the button below to access the example in Google Colab, which is a free, online Jupyter Notebook environment that allows you to write and execute Python code through your browser.Â
Latest news and releases
Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.
Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.