Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when moving plb & pub #15

Open
ajlahwh opened this issue Mar 1, 2023 · 2 comments
Open

Problems when moving plb & pub #15

ajlahwh opened this issue Mar 1, 2023 · 2 comments

Comments

@ajlahwh
Copy link

ajlahwh commented Mar 1, 2023

Hello,

I guess there might be some potential problems when moving plb & pub.

The initialization of one parameter in my model:
lb: 6.14421235e-06
ub: 1.62754791e+05
plb: 0.04978707
pub: 20.08553692
X0: 10.067662

It then says: bads:InitialPointsTooClosePB: The starting points X0 are on or numerically too close to the hard bounds lb and ub. Moving the initial points more inside...

Now the value becomes:
X0: 162.75479756

It then says: bads:TooCloseBounds: For each variable, hard and plausible bounds should not be too close. Moving plausible bounds.

Now the value becomes:
LB_eff: 1.62754798e+02
UB_eff: 1.62592037e+05
plb: 1.62754798e+02
pub: 20.08553692

It then says: bads:InitialPointsOutsidePB. The starting points X0 are not inside the provided plausible bounds plb and pub. Expanding the plausible bounds...
ValueError: bads:StrictBounds: For each variable, hard and
plausible bounds should respect the ordering lb <= plb < pub <= ub.

Your help is greatly appreciated. Thanks!

@lacerbi
Copy link
Collaborator

lacerbi commented Mar 1, 2023

Thanks, I will look into this at some point. However, as a basic recommendation, it seems that your variables would be best specified in log scale, as they span 11 orders of magnitude (!), from 10^-6 to 10^5. This is almost surely what's causing the issue here.

@ajlahwh
Copy link
Author

ajlahwh commented Mar 1, 2023

Thanks, I will look into this at some point. However, as a basic recommendation, it seems that your variables would be best specified in log scale, as they span 11 orders of magnitude (!), from 10^-6 to 10^5. This is almost surely what's causing the issue here.

Okay, I see. Thank you for the recommendation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants