RuntimeWarning: invalid value encountered in double_scalars

221 views
Skip to first unread message

Yuanjie Tu

unread,
Apr 13, 2021, 1:02:13 PM4/13/21
to Biogeme
Hi Professor Bielaire,

I am estimating an MNL, but the runtime warning pops out and the estimation never comes out:

Runtime error.png

My utility function contains a logsum, and it is defined as follows:
Runtime error utility.png

Could you help me with it?

Thanks so much!

Best,
Yuanjie Tu

Bierlaire Michel

unread,
Apr 14, 2021, 1:56:08 AM4/14/21
to yua...@uw.edu, Bierlaire Michel, Biogeme
It is just a warning. The algorithm has encountered numerical difficulties during the iterations. If it has converged properly, you should not be concerned. 

On 13 Apr 2021, at 19:00, Yuanjie Tu <yua...@uw.edu> wrote:

Hi Professor Bielaire,

I am estimating an MNL, but the runtime warning pops out and the estimation never comes out:

<Runtime error.png>

My utility function contains a logsum, and it is defined as follows:
<Runtime error utility.png>

Could you help me with it?

Thanks so much!

Best,
Yuanjie Tu

--
You received this message because you are subscribed to the Google Groups "Biogeme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/36c3705a-ee36-4778-92a7-7194b72bfc84n%40googlegroups.com.
<Runtime error.png><Runtime error utility.png>

Reply all
Reply to author
Forward
0 new messages