# BVP Shooting method with free parameters

**URL:** <https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955>\
**Category:** Modelling & Simulations\
**Tags:** question\
**Created:** [August 8, 2024, 3:57pm UTC](https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955 "2024-08-08T15:57:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [August 9, 2024, 11:20pm UTC](https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955/3 "2024-08-09T23:20:42Z")

</div>

> [@contradict](#):
>
> Are you sure your problem definition is correct? Specifically, it is worrying that your initial guess produces NaN values.

You need to make sure you add the right amount of conditions so you don’t end up with a singular Jacobian. This is something that the least squares formalism would simplify, but it doesn’t exist yet.

---

_[View the full topic](https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955)._
