-
Notifications
You must be signed in to change notification settings - Fork 390
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
Generalize Function::factory when handling multiple Jacobian/Hessian blocks #2696
Milestone
Comments
jaeandersson
added a commit
that referenced
this issue
Dec 11, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 11, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 11, 2020
…tion Non-diff blocks calculated first
jaeandersson
added a commit
that referenced
this issue
Dec 11, 2020
…locks with the same input but different outputs
jaeandersson
added a commit
that referenced
this issue
Dec 13, 2020
…fault Use triu: attribute to get old behavior
jaeandersson
added a commit
that referenced
this issue
Dec 14, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 14, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 14, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 15, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 15, 2020
jaeandersson
added a commit
that referenced
this issue
Dec 15, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
…alculation Non-diff blocks calculated first
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
…bian blocks with the same input but different outputs
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
… by default Use triu: attribute to get old behavior
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
danielodenbrandmodelon
pushed a commit
to modelonandrijakukolj/casadi
that referenced
this issue
Dec 16, 2020
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
…alculation Non-diff blocks calculated first
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
…bian blocks with the same input but different outputs
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
… by default Use triu: attribute to get old behavior
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jcotem
pushed a commit
to jcotem/casadi
that referenced
this issue
Sep 12, 2022
jgillis
added a commit
that referenced
this issue
Mar 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are requesting multiple Jacobian blocks, Function::factory will currently call "jacobian" repeatedly, which can be quite inefficient. For example, if you have
f(x, z)
and you need both df/dx and df/dz, they will be calculated separately, which is probably not what the user wants. If you do want to calculate them separately, you'll probably make two separate calls toFunction::factory
.The text was updated successfully, but these errors were encountered: