The method plugMonitor
requires a type argument IMonitorSolution
, with some method YMethod
that has no arguments:
solver.plugMonitor (new IMonitorSolution () {
public void YMethod () {
solution.record(solver);
}
});
Thanks @Boann for fixing my mistake.
source
to share