Hi, is there a way to make optaplanner do not stop, even if we don't have planning entities ?Right now it is stopping when we start the solver without planning entities
--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/4da2f32c-c195-44e6-8d90-673f0938c60an%40googlegroups.com.
Lukáš Petrovický
OptaPlanner Project Lead
Daemon mode is probably what you're looking for:
https://www.optaplanner.org/docs/optaplanner/latest/repeated-planning/repeated-planning.html#daemon
Start with 0 planning entities, and add them with
addProblemFactChange() as they come in.
Solve() never returns, but if termination is hit, the solver does
stop consuming CPU resources until a new problem fact change comes
in.
With kind regards,
Geoffrey De Smet
Hi, is there a way to make optaplanner do not stop, even if we don't have planning entities ?Right now it is stopping when we start the solver without planning entities