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

Feat: Native support for non-disruptive replanning

Aperta
#1,484 0 commenti 3 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@zepfred ci sta già lavorando.

Dal 1/4/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

The current design pattern for non-disruptive replanning is for the user to remember the original value of a variable, and to penalize every difference. This is a lot of boilerplate, and there is technically nothing preventing the solver from doing the heavy lifting.

Idea:

  • New embedded shadow variable, values true/false.
  • Needs to work on both genuine entities (basic vars) and shadow entities (list var).
  • When a working solution is reset, starting values are remembered by the solver.
  • When a variable differs from the starting value, the shadow variable is set to true, otherwise it is false.

Things to pay extra attention to:

  • Multi-threaded solving and entity/value lookups.
  • Entities need to be compared by identity, facts by equality (think LocalDateTime).

Questions:

  • Should another embedded shadow var be introduced, for the previous version of the variable?
  • If so, how should it handle multi-var situations?
Lingua principale
Java
Stelle
1.8k
Fork
238
Merge medio
3g 3h
PR unite (30g)
58

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.