You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with a large optimization model using Plasmo.jl, but I encountered a performance issue when calling set_to_node_objectives(graph) on a graph with many nodes.
Hey @yhz0! Thanks for reporting this. It should be possible to extend what you did for the general case if check the objective types on nodes. I'll work on a fix soon.
@yhz0 This should be fixed with PR #128. Linear and quadratic should work fine, but the performance issue remains for nonlinear node objectives since nonlinear expressions do not support in-place updates.
I am working with a large optimization model using Plasmo.jl, but I encountered a performance issue when calling
set_to_node_objectives(graph)
on a graph with many nodes.Upon investigating the source code of this function, I found two inefficiencies:
For my specific case (which involves linear objectives), I was able to use the following workaround.
Is there a general way to fix this performance issue?
The text was updated successfully, but these errors were encountered: