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

[Feature request] Code generation #291

Open
fdevinc opened this issue May 24, 2023 · 2 comments
Open

[Feature request] Code generation #291

fdevinc opened this issue May 24, 2023 · 2 comments

Comments

@fdevinc
Copy link

fdevinc commented May 24, 2023

Thanks for this great library! Could you add a code generation functionality to maximize runtime efficiency? Would it be hard to implement?

@allanleal
Copy link
Member

Hi @fdevinc , thanks for your feedback. autodiff tends to be expanded with capabilities that I need in my main research project for modeling chemical processes and reactions (https://reaktoro.org). Unfortunately, I don't see this use case (code generation) being applied there, so this would have to be provided by some external contributor. Also, depending on your use case, the overhead coming from autodiff would be insignificant.

@fdevinc
Copy link
Author

fdevinc commented Sep 6, 2023

Thanks a lot for your reply. Code generation is especially useful for optimal control applications: I hope you or a collaborator will consider adding it in the future! You say that the overhead might be insignificant; does your library reduce the number of operations?

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