Add support for the experimental MiniZinc black-box propagator interface#219
Add support for the experimental MiniZinc black-box propagator interface#219Dekker1 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Please document both the DLL interface functions and the external process protocol, so reviewers can review that the PR adheres to the specification, and so that people can write their own conforming black boxes. |
The documentation for the ABI and executable streaming format will be part of the MiniZinc documentation. |
Great! Do you have a link to it? |
|
You can have a look at the current draft in my fork: https://github.com/Dekker1/libminizinc/blob/feat/blackbox/docs/en/blackbox.rst |
Thanks! Looks well documented. Perhaps mention whether |
|
Thanks for the feedback, I've updated the documentation with notes on these points. Regarding the seeming discrepancy, it should be noted that the |
|
I just pushed a small update to avoid an additional allocation for each |
I'm hoping to sneak this in before the seemingly upcoming Gecode release. This adds support for the experimental Blackbox interface for MiniZinc (and solvers). The idea being that a user can delegate some evaluation/propagation to an external program/library.
The implementation for Chuffed and the MiniZinc compiler is also ready, the latter I hope to merge after the former and this merges such that CI will pass the required tests.
This work will be presented this year at ModRef.