Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#2,737 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Christopher-Chianelli ci sta già lavorando.

Dal 7/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Java
Stelle
1.8k
Fork
239
Merge medio
2g 20h
PR unite (30g)
55

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TimefoldAI/timefold-solver

Tutte le issue di TimefoldAI/timefold-solver

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.