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.
Metadata
Release files for inventory-optimizer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inventory_optimizer-0.1.0.tar.gz | 165.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inventory_optimizer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 172.1 kB
Release files / inventory_optimizer-0.1.0.tar.gz
| Download URL | inventory_optimizer-0.1.0.tar.gz |
|---|---|
| Size | 165.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8cea1faa0a98a126b91cbd744d4b169d10634b40eded15440dc6484ea61f858
|
|
BLAKE2b-256 checksum How to use checksums |
1c12fd4058c820df40d195ca967ff10e6bab2a23f46e6269be8d3acf7125d848
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / inventory_optimizer-0.1.0-py3-none-any.whl
| Download URL | inventory_optimizer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df1ebfcc18a34f7c8afc2f6a5295f6a9ab0888938247ac7f9d9f32916ef0b1e5
|
|
BLAKE2b-256 checksum How to use checksums |
33dfc7d5f0f1b7196d77e0b02e2e359d1e30fb59c67473675650de7b4b30b264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency log