minto is a Python library designed for developers working on research and development or proof-of-concept experiments using mathematical optimization. Positioned similarly to mlflow in the machine learning field, minto provides features such as saving optimization results, automatically computing benchmark metrics, and offering visualization tools for the results.
Primarily supporting Ising optimization problems, plans to extend its support to a wide range of optimization problems, such as MIP solvers, in the future.
minto can be easily installed using pip.
pip install mintoDocumentation is hosted on Read the Docs: https://jij-inc-minto.readthedocs-hosted.com/latest/
The published site exposes both English and Japanese under /en/ and /ja/.
Tutorials will be provided in the future. Stay tuned!
The documentation is built with Jupyter Book 2 and MyST. The canonical build entrypoint is docs/build.py, which also regenerates API pages and converts Jupytext-backed sources before building each language.
The easiest way to build and view the documentation locally:
# Build and open the English and Japanese documentation
task book
# Build and open the Japanese documentation
task book_ja
# Build and open the English documentation
task book_en
# Stop local preview servers when you are done
task stop_book
task stop_book_ja
task stop_book_en
The documentation source is organized into separate English and Japanese trees:
docs/
├── en/ # English documentation
│ ├── myst.yml
│ └── ...
├── ja/ # Japanese documentation
│ ├── myst.yml
│ └── ...
├── index.html # Read the Docs root entrypoint
├── build.py # Local/RTD build entrypoint
├── generate_api.py # API doc generator
└── templates/ # API doc templates
- Create your content file (
.md,.ipynb, or Jupytext-backed.py) in the appropriate language directory - Add the file to
project.tocin the corresponding language'smyst.yml - Rebuild the documentation using the commands above
The repository root .readthedocs.yaml builds both languages in one Read the Docs project and publishes them under /en/ and /ja/.
- Build errors: Make sure you have all dependencies installed with
uv sync --dev - Generated pages not updating: Re-run
task build_book_ja,task build_book_en,task book, oruv run python docs/build.py --lang ... - Preview server still running: Stop the local HTTP preview with
task stop_book,task stop_book_ja, ortask stop_book_enbefore reusing the same port - API documentation: Generated automatically from source code by
docs/generate_api.pyusing Griffe and Jinja2
See CONTRIBUTING.md
Copyright (c) 2023 Jij Inc.