Inventory optimization under uncertain demand (classic and robust Newsboy).
Project description
inventory-optimizer
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.pngdocs/images/sensitivity.pngdocs/images/walk_forward.pngdocs/images/convergence.png
Instalacion
pip install -e ".[dev]"
Estructura
src/inventory_optimizer: libreria principaltests: pruebas unitariasexamples: ejemplos ejecutablesnotebooks: tutoriales interactivosdocs: documentacion MkDocs
Estado
- v0.1.0: implementacion base clasica, robusta simplificada, simulacion, validacion temporal y CI.
Contribuir
Ver CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8cea1faa0a98a126b91cbd744d4b169d10634b40eded15440dc6484ea61f858
|
|
| MD5 |
3bea40cc03ffc30eff05608253a46b29
|
|
| BLAKE2b-256 |
1c12fd4058c820df40d195ca967ff10e6bab2a23f46e6269be8d3acf7125d848
|
Provenance
The following attestation bundles were made for inventory_optimizer-0.1.0.tar.gz:
Publisher:
publish.yml on emilianob-ux/inventory-optimizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
inventory_optimizer-0.1.0.tar.gz -
Subject digest:
f8cea1faa0a98a126b91cbd744d4b169d10634b40eded15440dc6484ea61f858 - Sigstore transparency entry: 1450440448
- Sigstore integration time:
-
Permalink:
emilianob-ux/inventory-optimizer@d3dfceb7e8dc8000a2e01122cc67978e5d6814b6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/emilianob-ux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d3dfceb7e8dc8000a2e01122cc67978e5d6814b6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file inventory_optimizer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: inventory_optimizer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df1ebfcc18a34f7c8afc2f6a5295f6a9ab0888938247ac7f9d9f32916ef0b1e5
|
|
| MD5 |
b29287a1424bdf1e4b00fa5f1f9c9d30
|
|
| BLAKE2b-256 |
33dfc7d5f0f1b7196d77e0b02e2e359d1e30fb59c67473675650de7b4b30b264
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
inventory_optimizer-0.1.0-py3-none-any.whl -
Subject digest:
df1ebfcc18a34f7c8afc2f6a5295f6a9ab0888938247ac7f9d9f32916ef0b1e5 - Sigstore transparency entry: 1450440629
- Sigstore integration time:
-
Permalink:
emilianob-ux/inventory-optimizer@d3dfceb7e8dc8000a2e01122cc67978e5d6814b6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/emilianob-ux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d3dfceb7e8dc8000a2e01122cc67978e5d6814b6 -
Trigger Event:
workflow_dispatch
-
Statement type: