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.0rc1.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.0rc1-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minto-2.0.0rc1.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.0rc1.tar.gz
Algorithm Hash digest
SHA256 d1da8557d87bf39f15d48a4fb6b3b898a74e8791bcb5550130341b9789ac1822
MD5 42ae32233f70c8e77af7bae2d24ae951
BLAKE2b-256 40f617f9a7936e41d97172fb49637ecf2c4580cfca65875e6652f957c6c4f9b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for minto-2.0.0rc1.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.0rc1-py3-none-any.whl.

File metadata

  • Download URL: minto-2.0.0rc1-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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 578c03a133aceb7e75942b26fbdffd888da7f3e1fa04e5b69549e562ed95f08f
MD5 fc2e1e460146c91f21f8a537910bacae
BLAKE2b-256 15906aa9ae359aad09a06f7e2cf83e9b675ce5b5878844cec31f58e15d45b71c

See more details on using hashes here.

Provenance

The following attestation bundles were made for minto-2.0.0rc1-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