You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dadi-user
Is there a way to set relative parameter bounds during inference, e.g. such that the time of one population split is always greater than that of another? There does not appear to be a way to do this in the core scipy optimization functions. I am aware that I can simply discard inference runs that return estimates with unsatisfactory relative values of estimates, but I'm hoping that there is a way to do so while speeding up computation by telling the optimization algorithm to ignore the region of parameter space in which a certain parameter is less than another parameter.
Thanks,
David
Ryan Gutenkunst
unread,
Oct 26, 2023, 10:45:59 AM10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dadi-user
Hello David,
Using the dadi.Inference.opt method, which is a wrapper around NLopt, you can specify inequality constraints among your parameters (ineq_constraints) to define functional relationships between the parameters you would like to preserve during optimization.