Skip to main content

Experiment management and benchmark tools for mathematical optimization

Project description

MINTO: Jij Management and Insight tool for Optimization

PyPI version shields.io PyPI pyversions PyPI implementation PyPI format PyPI license PyPI download month Downloads

codecov

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.

Installation

minto can be easily installed using pip.

pip install minto

Documentation and Support

Documentation 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!

Building Documentation Locally

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.

Quick Start

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

Editing Documentation

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

Adding New Pages

  1. Create your content file (.md, .ipynb, or Jupytext-backed .py) in the appropriate language directory
  2. Add the file to project.toc in the corresponding language's myst.yml
  3. Rebuild the documentation using the commands above

Read the Docs Configuration

The repository root .readthedocs.yaml builds both languages in one Read the Docs project and publishes them under /en/ and /ja/.

Common Issues

  • 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, or uv run python docs/build.py --lang ...
  • Preview server still running: Stop the local HTTP preview with task stop_book, task stop_book_ja, or task stop_book_en before reusing the same port
  • API documentation: Generated automatically from source code by docs/generate_api.py using Griffe and Jinja2

How to Contribute

See CONTRIBUTING.md


Copyright (c) 2023 Jij Inc.

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

minto-2.0.0.tar.gz (830.8 kB view details)

Uploaded Source

Built Distribution

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

minto-2.0.0-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file minto-2.0.0.tar.gz.

File metadata

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

File hashes

Hashes for minto-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f6c425f1486e30768c26d28fc36c9cce06fe033b208efe41c7db4e930408b2f6
MD5 348365dd9ebb217a3b98ea8c1b24fdbb
BLAKE2b-256 383584c54b3a93c0c35a2ac6ded25cac6c3ae7799a012c3c02370f37ecd627fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for minto-2.0.0.tar.gz:

Publisher: python-publish.yml on Jij-Inc/minto

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

File details

Details for the file minto-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: minto-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for minto-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b58bd2f52d616761bc8d897c8efa4498d009cacdb4747b13272562ce186767c
MD5 d5b667f3afca527701693cee16eb1278
BLAKE2b-256 da5b294ebc63a1a5fa28662b62282e9845496ad3a5c53c639dc65ab45038b5b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for minto-2.0.0-py3-none-any.whl:

Publisher: python-publish.yml on Jij-Inc/minto

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