Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SolutionManager.update() does not update entities in no value range

Open
#2,737 2 comments 0 reactions 1 assignee View on GitHub

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 S with planning list variable V having assigned an entity X,
  • SolutionManager.update(S) is called to calculate all shadow variables,
  • S is updated manually by removing X from V and X is removed from V's value range (and is no longer part of any value range),
  • SolutionManager.update(S) is called again to calculate all shadow variables,
  • now X still has stale shadow variables, such as non-null inverse reference to V, 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TimefoldAI/timefold-solver

All issues in TimefoldAI/timefold-solver

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.