Skip to main content

CVRPTW Optimization Models

Project description

Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) Optimization Models

Repo for CVRPTW optimization models.

Prerequisites

Install requirements.txt for prerequisites.

conda create --name cvrptw_optimization --file requirements.txt

Install environment.yml for prerequisites.

conda env create -f environment.yml

To recreate environment.yml

conda env export > environment.yml

To create requirements.txt from environment.yml

pip freeze > requirements.txt

Installation

pip install cimren-cvrptw-optimization

Models

Descrochers et al.1988

Desrochers, M., Lenstra, J.K., Savelsbergh, M.W.P., Soumis, F. (1988).
Vehicle routing with time windows: Optimization and approximation.
In: Golden, B.L., Assad, A.A. (Eds.), Vehicle Routing: Methods and Studies. North-Holland, Amsterdam, pp. 65–84.

Inputs

Data

Package has a sample data set

from cvrptw_optimization.src import data
data.depot
data.locations
data.transportation_matrix
data.vehicles

How to use

from cvrptw_optimization.src import data
from cvrptw_optimization import desrochers_et_all_1988 as d
d.run_desrochers_et_all_1988(data.depot,
                             data.locations,
                             data.transportation_matrix,
                             data.vehicles,
                             solver_time_limit_mins=1,
                             solver='or tools')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cimren-cvrptw-optimization-1.1.0.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

cimren_cvrptw_optimization-1.1.0-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page