Closed yceh closed 1 year ago
@matsen @willdumm @ognian- Please see the callback function in this PR to provide fully resolved MAT at the end of each matOptimize iteration. If you find this useful, we're happy to merge it in!
Sorry, this call back is not at the end of the iteration, is for each individual move (not even filtered by profitability). Following issue #252.
Oh, sorry for the confusion! Perhaps we also need the one I described.
It only includes nodes on the path from source to destination, excluding source and destination, because during the search phase we assume all moves will split the branch between the destination and the parent of the destination node, creating a new node. I am not sure how to pass this information to larch. (If it creates a zero-length branch, it will be cleaned up at the very end.)
Maybe wait until the larch team confirms it is useful to merge this?