Hi Matt,
I'm currently using the recursive logit model to calculate the probabilities of transitioning from upstream to downstream links given a destination. However, I encountered an issue while solving for $z$ in the equation $z=Mz+b$ using _compute_exp_value_function. Specifically, I found that $z$ can sometimes take on negative values, which is unexpected since $z$ represents the exponential of the value function and should theoretically be greater than zero.
For example, in the Sioux Falls network, if I set all $v(a\mid k)$ to $-0.5$ and choose Node $3$ as the destination, there will be negative values in z_vec.
Do you have any suggestions on how to address this issue?
Thank you!
Hi Matt,$z$ in the equation $z=Mz+b$ using $z$ can sometimes take on negative values, which is unexpected since $z$ represents the exponential of the value function and should theoretically be greater than zero.
I'm currently using the recursive logit model to calculate the probabilities of transitioning from upstream to downstream links given a destination. However, I encountered an issue while solving for
_compute_exp_value_function. Specifically, I found thatFor example, in the Sioux Falls network, if I set all$v(a\mid k)$ to $-0.5$ and choose Node $3$ as the destination, there will be negative values in
z_vec.Do you have any suggestions on how to address this issue?
Thank you!