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.
Release files for rhetor 2.2.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 | |
|---|---|---|---|
| rhetor-2.2.0.tar.gz | 499.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rhetor-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / rhetor-2.2.0.tar.gz
| Download URL | rhetor-2.2.0.tar.gz |
|---|---|
| Size | 499.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5a4fee4c79c7682475824898df918148a42efe705e3bba420536630fedfd132
|
|
BLAKE2b-256 checksum How to use checksums |
73cbd282a4a4b99f357acfdf6e04b2dbf8af0f6d7bd5607575683808dcf38833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / rhetor-2.2.0-py3-none-any.whl
| Download URL | rhetor-2.2.0-py3-none-any.whl |
|---|---|
| Size | 535.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5272049a01407d49dd8be3ec7824e58882d32dee5b951dfadcd364ce416ea425
|
|
BLAKE2b-256 checksum How to use checksums |
92552e6b009f26afb5c8ccd76a571a752c636f51396682daa1963b0ae91af235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|