Skip to main content

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.

Demo

Learn More

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)

Source distribution for rhetor 2.2.0
File Size Uploaded
rhetor-2.2.0.tar.gz 499.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rhetor 2.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

2.6.2

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.9

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.8.4

36 release files

1.8.3

36 release files

1.6.0

73 release files

1.5.0

68 release files

1.4.0

55 release files

1.2.1

55 release files

1.1.3

47 release files

1.1.2

13 release files

1.1.1

13 release files

1.1.0

13 release files

1.0.0

48 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page