Skip to main content

Inventory optimization under uncertain demand (classic and robust Newsboy).

Project description

inventory-optimizer

Python CI Coverage License: MIT

Optimizacion de inventario bajo demanda incierta con enfoque clasico Newsboy y variante robusta.

Ecuacion central

[ Q^* = F_D^{-1}\left(\frac{p}{p+h}\right) ]

Demo rapida

from inventory_optimizer import NewsboyOptimizer

opt = NewsboyOptimizer(holding_cost=1.0, shortage_cost=4.0)
opt.fit(("normal", 100.0, 20.0))
print(round(opt.optimal_order(), 2))

Visualizaciones

  • docs/images/pareto.png
  • docs/images/sensitivity.png
  • docs/images/walk_forward.png
  • docs/images/convergence.png

Pareto Sensitivity

Instalacion

pip install -e ".[dev]"

Estructura

  • src/inventory_optimizer: libreria principal
  • tests: pruebas unitarias
  • examples: ejemplos ejecutables
  • notebooks: tutoriales interactivos
  • docs: documentacion MkDocs

Estado

  • v0.1.0: implementacion base clasica, robusta simplificada, simulacion, validacion temporal y CI.

Contribuir

Ver CONTRIBUTING.md.

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

inventory_optimizer-0.1.0.tar.gz (165.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inventory_optimizer-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file inventory_optimizer-0.1.0.tar.gz.

File metadata

  • Download URL: inventory_optimizer-0.1.0.tar.gz
  • Upload date:
  • Size: 165.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for inventory_optimizer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8cea1faa0a98a126b91cbd744d4b169d10634b40eded15440dc6484ea61f858
MD5 3bea40cc03ffc30eff05608253a46b29
BLAKE2b-256 1c12fd4058c820df40d195ca967ff10e6bab2a23f46e6269be8d3acf7125d848

See more details on using hashes here.

Provenance

The following attestation bundles were made for inventory_optimizer-0.1.0.tar.gz:

Publisher: publish.yml on emilianob-ux/inventory-optimizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file inventory_optimizer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for inventory_optimizer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df1ebfcc18a34f7c8afc2f6a5295f6a9ab0888938247ac7f9d9f32916ef0b1e5
MD5 b29287a1424bdf1e4b00fa5f1f9c9d30
BLAKE2b-256 33dfc7d5f0f1b7196d77e0b02e2e359d1e30fb59c67473675650de7b4b30b264

See more details on using hashes here.

Provenance

The following attestation bundles were made for inventory_optimizer-0.1.0-py3-none-any.whl:

Publisher: publish.yml on emilianob-ux/inventory-optimizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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