Hi,
recently I am going to develop a more general probe anchor (compared to ProbeHook)
so we could not only dump/access solver data after the whole march with ProbeHook,
but also right after each iteration step with this prototype implementation.
Please refer to this patch of the prototype:
https://bitbucket.org/solvcon/solvcon/issues/attachments/128/solvcon/solvcon/1447917621.24/128/151119-probe-each-step-prototype.patch
This patch is mainly based on the method collect and postloop of ProbeHook.
Question:
In the collect method of ProbeAnchor (in the patch), solver instance seems to be enough to access expected data.
IPC way to pass the solver data is now only for parallel computing.
Is there any reason that we should implement the probe anchor in IPC way?
I am glad to implement 1st version to use the solver instance directly and then porting to the IPC way.
Maybe this 1st version could be part of unit tests.
Just asking for more inputs ;)
Thanks for any comment!!
Cheers,
Taihsiang