8000 TS-OPT: EF number of steps before hessian recalculcalation · Issue #7 · qcscine/readuct · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TS-OPT: EF number of steps before hessian recalculcalation #7

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

Open
chburger opened this issue Jan 7, 2025 · 3 comments

Comments

@chburger
Copy link
chburger commented Jan 7, 2025

In TS optimizations using the eigenvector-following method, the Hessian is recalculated after a certain number of optimization steps. Is this number a fixed parameter, or can it be specified in the input file? I could not find any mention of it in the manual. If it is indeed a fixed parameter, where in the source code can its value be found or adjusted?

Thx alot for providing the program.

@weymutht
Copy link
Member
weymutht commented Jan 7, 2025

In the eigenvector-following method implemented in ReaDuct, the Hessian is calculated in every step, and this cannot (easily) be changed. If you're interested, the corresponding source code is here:

https://github.com/qcscine/utilities/blob/master/src/Utils/Utils/Optimizer/HessianBased/EigenvectorFollowing.h#L49

The Hessian is calculated via the statement function(parameters, value, gradients, *hessian, true), the boolean true signifies that the Hessian should be calculated.

@chburger
Copy link
Author
chburger commented Jan 7, 2025 via email

@weymutht
Copy link
Member
weymutht commented Jan 7, 2025

You're right, it's rather expensive. As an alternative, you could give the Bofill algorithm a try. This does not recalculate the Hessian in every step.

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
0