Open General-Solution opened 1 year ago
The issue appears to have been that, when using scipy.optimize.fsolve(func, x0)
to solve the parameters fixed by ancestry proportions, the passed initial value x0
was not scaled to have the same length as the number of parameters to be fixed. This led to an error when inserting the fixed parameters into the already provided parameters to get the full parameters of the model.
Tracts gives the following error when attempting to fix multiple parameters using ancestry proportions.