Skip to content

Remove deprecated disp option from L-BFGS-B calls in examples#8

Open
riddhi1228 wants to merge 1 commit into
pcarruscag:masterfrom
riddhi1228:fix-scipy-deprecation-warnings
Open

Remove deprecated disp option from L-BFGS-B calls in examples#8
riddhi1228 wants to merge 1 commit into
pcarruscag:masterfrom
riddhi1228:fix-scipy-deprecation-warnings

Conversation

@riddhi1228

Copy link
Copy Markdown

The 'disp' option in scipy.optimize.minimize with L-BFGS-B method
is deprecated since SciPy 1.15 and will be removed in SciPy 1.18.
Removed from all 4 SU2 examples to eliminate deprecation warnings.

Noticed this while running the examples locally with SU2 v8.4.0
on Ubuntu 22.04 (WSL2).

The 'disp' option in scipy.optimize.minimize with L-BFGS-B method
is deprecated since SciPy 1.15 and will be removed in SciPy 1.18.
Removed from all 4 SU2 examples to eliminate deprecation warnings.
@riddhi1228

Copy link
Copy Markdown
Author

Hi @pcarruscag — just checking in on this PR.
Happy to make any changes if needed.
Also separately opened PR #2756 on su2code/SU2
fixing CUSTOM_OBJFUNC support in the Python layer,
in case that's relevant to your work.

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

Successfully merging this pull request may close these issues.

1 participant