Similar to OptaPlanner: How to add a planning entity with ProblemFactChange
I have a long running solver where the contents of an order may change during solving. How do I introduce that change to the solver using a ProblemFactChange? ScoreDirectory has beforeEntityAdded/afterEntityAdded and beforeEntityRemoved/afterEntityRemoved methods, but I don't see any for changing an existing entity.
Should I just queue a remove followed by an add?