Skip to content

Julia Package for reading Multi-Depot Vehicle Scheduling Problem data files

License

Notifications You must be signed in to change notification settings

rafaelmartinelli/MDVSP.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDVSP.jl

Stable Dev Build Status Coverage Project Status: Active – The project has reached a stable, usable state and is being actively developed.

This package reads data files in inp format for Multi-Depot Vechile Scheduling Problem (MDVSP) instances.

Usage

The type used by the package is Data, defined as follows:

struct Data
    depots::Vector{Int64}   # Depots' indexes (in sequence)
    tasks::Vector{Int64}    # Tasks' indexes (in sequence)
    vertices::Vector{Int64} # All indexes
    vehicles::Vector{Int64} # Number of vehicles in each depot
    costs::Matrix{Int64}    # Costs (times) from each pair of tasks

    name::String            # Instance name

    lb::Int64               # Lower bound (0 if not known)
    ub::Int64               # Upper bound (type_max(Int64) if not known)
end

Some toy MDVSP instances are preloaded. See the full list. Classical MDVSP instances from the literature are downloaded on demand from this site. For example, to load MDVSP instance m4n500s0:

data = loadMDVSP("m4n500s0")

The package still does not load custom MDVSP instances.

Installation

MDVSP is not a registered Julia Package... You can install MDVSP through the Julia package manager. Open Julia's interactive session (REPL) and type:

] add https://github.com/rafaelmartinelli/MDVSP.jl

Related links

Other packages

Releases

No releases published

Languages