Hello Biogeme team,
I'm encountering a persistent RuntimeError when estimating even a minimal model in Biogeme 3.2.13. The error looks like this:
RuntimeError: src/cythonbiogeme/cpp/biogeme.cc:442: Biogeme exception:
Error for data entry 267 :
src/cythonbiogeme/cpp/bioExprFreeParameter.cc:41: Biogeme exception:
Value 0 out of range [0,18446744073158081613]
What I’ve confirmed:
- The dataset is in long format, with two alternatives 1 and 2.
- The choice variable chosen_alt is correctly computed per individual (values are 1 or 2 only).
- The alt_id variable matches the keys in the utility and availability dictionaries
I’ve tried:
- Fixing vs. not fixing ASC parameters
- Reinstalling Biogeme
- Running in a clean conda environment (python=3.9)
- A minimal model with only 2 variables and 2 alternatives
- Verifying the specific row (entry 267) has valid values
Still, I get the same error for that same row — even though it's valid.
I've attached the minimal notebook and dataset if helpful.
Can you help me understand what may be triggering this? I’d love to know whether this is a known issue, or if I’m missing something.
Thanks so much!