Calling optimize!
on an expanded subgraph resets the solution of a different subgraph
#85
Labels
optimize!
on an expanded subgraph resets the solution of a different subgraph
#85
I am using expanded subgraphs in Plasmo using the
Plasmo.expand
function. The solution of whichever subgraph is optimized first is reset whenoptimize!
is called on the other expanded subgraph. This only happens in the first instance, and I am not sure why. You can see the error replicated in the code below.Note that the solution is only reset once, and only for the very first expanded subgraph optimized. If I call
optimize!(expanded_subgraphs[1])
after the above code, no solutions are reset and I can query solutions from either expanded subgraphThe text was updated successfully, but these errors were encountered: