E-TE0508 — Division by zero

Error Type

Type Error

Phase

compiling the model to an OMMX instance

Python exception

ValueError

Message

Division by zero: `{lhs} / 0`

Cause

A division whose divisor evaluates to the constant zero, either written literally or produced by instance data (e.g. dividing by a placeholder whose value is 0).

Fix

Remove the zero divisor: fix the expression, or guard/clean the instance data so the divisor is never zero.