# Getting NaN when using the analytical solution

**URL:** <https://forum.cmascenter.org/t/getting-nan-when-using-the-analytical-solution/1169>\
**Category:** R-LINE\
**Created:** [December 4, 2019, 7:36pm UTC](https://forum.cmascenter.org/t/getting-nan-when-using-the-analytical-solution/1169 "2019-12-04T19:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msospedra](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@msospedra](https://forum.cmascenter.org/u/msospedra)\
**Post date:** [December 4, 2019, 7:36pm UTC](https://forum.cmascenter.org/t/getting-nan-when-using-the-analytical-solution/1169/1 "2019-12-04T19:36:08Z")

</div>

Hi there,

I am using RLine v1.2 to simulate a network of roads, and if I try running RLine with the analytical option, I get NaN and Infinity values in the output. I don’t get that when using the numerical solution, but I would like to use the analytical solution to speed up the process. Are those NaN or Infinity results unavoidable in some situations when using the analytical solution?
