Vehicle Rental Optimization I and II

vehicle-rental-optimization

Vehicle Rental Optimization I

This is an example of a Car Rental problem. A car rental company wants to determine how many cars to own and where should they be located at the start of each day of a week to maximize weekly profits. This problem is formulated as a linear programming problem using the Gurobi Python API and solved with the Gurobi Optimizer.

This model is example 25 from the fifth edition of Model Building in Mathematical Programming by H. Paul Williams on pages 284-286 and 340-342.

This example is at the intermediate level, where we assume that you know Python and the Gurobi Python API and that you have some knowledge of building mathematical optimization models.

Request a Gurobi Evaluation License or Free Academic License

Modeling examples are coded using the Gurobi Python API in Jupyter Notebook. In order to use the Jupyter Notebooks, you must have a Gurobi License. If you do not have a license, you can request an Evaluation License as a Commercial User or download a free license as an Academic User.

 

Commercial Users: Free Evaluation Version Academic Users: Free Academic Version

 

Access the Jupyter Notebook Modeling Example

Click on the button below to be directed to GitHub where you can download the repository for the Vehicle Rental Optimization I Jupyter Notebook modeling example.

 

Vehicle Rental Optimization I

 


 

Vehicle Rental Optimization II

This model is an extension of the Car Rental problem. In this problem, the car rental company wants to determine in which locations it should expand repair capacity. This problem is formulated as a mixed integer linear programming problem using the Gurobi Python API and solved with the Gurobi Optimizer.

This model is example 26 from the fifth edition of Model Building in Mathematical Programming by H. Paul Williams on pages 287 and 342-343.

This example is at the intermediate level, where we assume that you know Python and the Gurobi Python API and that you have some knowledge of building mathematical optimization models.

 

Access the Jupyter Notebook Modeling Example

Click on the button below to be directed to GitHub where you can download the repository for the Vehicle Rental Optimization II Jupyter Notebook modeling example.

 

Vehicle Rental Optimization II

 


 

Contact Us

We’re happy to assist you. Please contact us using this form, and a Gurobi representative will get back to you shortly.

  • Free Consultations
  • General Inquiries
  • Gurobi Optimizer Questions

Can’t view the form? Please email us at sales@gurobi.com.

Thank you! The information has been submitted successfully.