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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhetor-2.1.0.tar.gz (494.0 kB view details)

Uploaded Source

Built Distribution

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

rhetor-2.1.0-py3-none-any.whl (530.6 kB view details)

Uploaded Python 3

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

Hashes for rhetor-2.1.0.tar.gz
Algorithm Hash digest
SHA256 248c6c9d39a729eeb7d56c35046a6cb5707d2928c569d07fd73db034c859dffc
MD5 bfa435179fad9e8b0bfac66a2bf166c4
BLAKE2b-256 ac93acffd59403a6e7ed7fbc0d54dbca311cbca2aeb67e4c4270caa99c2d0586

See more details on using hashes here.

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

Hashes for rhetor-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e972e4b04b345a5fcec20c0c3083294594847353077eea7503bc3168680304
MD5 ec3498777752db8dc09de0c38e2ea39a
BLAKE2b-256 820aab1563708a7976b9052cc17d47ab9cbb30cdbcb76f5dd509d5b25e5379bf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 files

2.0.0

2 files

1.9.6

2 files

1.9.5

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

50 files

1.9.0

36 files

1.8.4

36 files

1.8.3

36 files

1.8.1

56 files

1.8.0

36 files

1.7.1

36 files

1.7.0

47 files

1.6.0

73 files

1.5.0

68 files

1.4.0

55 files

1.3.0

55 files

1.2.1

55 files

1.1.3

47 files

1.1.2

13 files

1.1.1

13 files

1.1.0

13 files

1.0.0

48 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page