SolutionManager.update() does not update entities in no value range
Maintainers usually reply within 1 day
@Christopher-Chianelli is already working on this.
Since Oct 7, 2026.
Assessment
This issue has not been assessed yet.
Description
Consider the following scenario:
- there is planning solution
Swith planning list variableVhaving assigned an entityX, SolutionManager.update(S)is called to calculate all shadow variables,Sis updated manually by removingXfromVandXis removed fromV's value range (and is no longer part of any value range),SolutionManager.update(S)is called again to calculate all shadow variables,- now
Xstill has stale shadow variables, such as non-null inverse reference toV, even though it was unassigned.
Not sure if the correspondence to the value range is a coincidence but if the value range contains all entities, the problem does not happen.
Is this expected behavior? Reproduced with Solver Enterprise 2.7.1.
Will link a reproducer test.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 238
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 55
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TimefoldAI/timefold-solver
-
component/docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
TimefoldAI/timefold-solver#2671 ·
Maintainers usually reply within 1 day
-
process/needs triage
Difficulty 5/5 Over a week Newbie friendliness 12/100
TimefoldAI/timefold-solver#2763 · 2 comments ·
Maintainers usually reply within 1 day
-
Docs: Add keywords for search.Possibly taken @TomCools claimed this 3 days ago. Opencomponent/docs
TimefoldAI/timefold-solver#2762 · 1 assignee ·
Maintainers usually reply within 1 day
-
Swap move selector applies entity value range filtering to entity classes without entity-level rangesPossibly taken @zepfred claimed this 3 days ago. Openprocess/needs triage
TimefoldAI/timefold-solver#2761 · 1 assignee ·
Maintainers usually reply within 1 day
-
SDK: Waypoints class has not OpenAPI Spec annotations.Possibly taken @TomCools claimed this 3 days ago. Opencomponent/service
TimefoldAI/timefold-solver#2759 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in TimefoldAI/timefold-solver
Similar issues
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variablesPossibly taken @CCCLL claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
hierynomus/sshj#1070 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
quarkiverse/quarkus-jooq#324 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/rocketmq-dashboard#7039 ·
Maintainers usually reply within 3 days
-
pdfium-drift
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Stirling-Tools/JPDFium#176 ·
Maintainers usually reply within 1 day