Skip to content

rafaelmartinelli/LotSizingProblems.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LotSizingProblems.jl

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

This package reads data files for Capacitated Lot Sizing Problem (CLSP) instances.

Usage

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

struct LotSizingProblem
    name::String                        # Instance name

    cost::Int64                         # Unitary production cost
    capacity::Int64                     # Capacity

    consumptions::Vector{Float64}       # Unitary resource consumption
    inv_costs::Vector{Float64}          # Unitary inventory costs
    setup_consumptions::Vector{Float64} # Setup resource consumptions
    setup_costs::Vector{Float64}        # Setup costs
    demands::Matrix{Int64}              # Demands

    lb::Float64                         # Lower bound (-Inf if not known)
    ub::Float64                         # Upper bound ( Inf if not known)
end

The package also provides two helper functions ni(data) and np(data), which return the number of items and periods, respectively.

Some classical CLSP instances from the literature are preloaded. For example, to load CLSP instance X11117A:

clsp = loadLotSizingProblem(:X11117A)

The package also loads custom CLSP instances. For example:

clsp = loadLotSizingProblem("/full/path/to/your/instance")

Installation

LotSizingProblems is not a registered Julia Package...

You can install LotSizingProblems through the Julia package manager.

Open Julia's interactive session (REPL) and type:

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

Do not forget to ⭐star⭐ our package! 😁

Other packages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages