Rhetor
GenAI-assisted Integrated Modelling Environment for Mixed-Integer Linear Programming
Rhetor is an Integrated Modelling Environment for modelling and solving mixed-integer linear programming problems. Rhetor supports a subset of the Optimisation Programming Language (OPL) syntax and it is built on pyopl, a Python library for parsing and solving OPL-like mathematical programming models using Gurobi or Scipy (Highs). Rhetor integrates GenAI features to support and automate the modelling process.
Learn More
- Project Website
- Project Repository
- PyOPL Repository
- PyOPL User Guide
- Examples Overview
- Sample PyOPL Models
MCP access to the running IDE
When Rhetor is open, the Rhetor MCP server can read and replace the live model and data editor contents. Add the server to an MCP client such as VS Code or Claude Desktop using the Python executable from this environment:
{
"servers": {
"Rhetor": {
"type": "stdio",
"command": "/path/to/venv/bin/python",
"args": ["-m", "pyopl.rhetor_mcp"]
}
}
}
Start Rhetor before calling read_ide_editors_tool or
write_ide_editors_tool. The IDE bridge listens only on the loopback interface
and publishes per-launch connection credentials in the user's Rhetor config
directory. Writing through MCP updates the visible editors and marks the
contents as unsaved.
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 rhetor-2.1.0.tar.gz.
File metadata
- Download URL: rhetor-2.1.0.tar.gz
- Upload date:
- Size: 494.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248c6c9d39a729eeb7d56c35046a6cb5707d2928c569d07fd73db034c859dffc
|
|
| MD5 |
bfa435179fad9e8b0bfac66a2bf166c4
|
|
| BLAKE2b-256 |
ac93acffd59403a6e7ed7fbc0d54dbca311cbca2aeb67e4c4270caa99c2d0586
|
File details
Details for the file rhetor-2.1.0-py3-none-any.whl.
File metadata
- Download URL: rhetor-2.1.0-py3-none-any.whl
- Upload date:
- Size: 530.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4e972e4b04b345a5fcec20c0c3083294594847353077eea7503bc3168680304
|
|
| MD5 |
ec3498777752db8dc09de0c38e2ea39a
|
|
| BLAKE2b-256 |
820aab1563708a7976b9052cc17d47ab9cbb30cdbcb76f5dd509d5b25e5379bf
|