Skip to content

Python package and CLI 1.4.1

PyRel 1.4.1 adds predictive reasoning APIs and includes several bug fixes.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.4.1"

For the latest installation instructions, see Start building with PyRel.

  • Fixed prescriptive aggregate correctness bugs when defining a Problem.

  • Fixed a recursion error caused by some expressions like model.where(count(B) >= 0).define(C.new(val=B)).

  • rai reasoners:list and the interactive reasoner picker no longer fail if the backend returns unknown reasoner types.

  • Problem.solve() now sends numeric type metadata to the solver service. This prevents float-valued MiniZinc solves from falling back to an integer-only path and failing with inexact conversion errors.