Skip to content

Construction Heuristic full configuration for a PlanningListVariable #1279

@ge0ffrey

Description

@ge0ffrey

Our docs have a full "advanced" CH config for a normal variable:

  <constructionHeuristic>
    <queuedEntityPlacer>
      <entitySelector id="placerEntitySelector">
        <cacheType>PHASE</cacheType>
        <selectionOrder>SORTED</selectionOrder>
        <sorterManner>DECREASING_DIFFICULTY</sorterManner>
      </entitySelector>
      <changeMoveSelector>
        <entitySelector mimicSelectorRef="placerEntitySelector"/>
        <valueSelector>
          <cacheType>PHASE</cacheType>
          <selectionOrder>SORTED</selectionOrder>
          <sorterManner>INCREASING_STRENGTH</sorterManner>
        </valueSelector>
      </changeMoveSelector>
    </queuedEntityPlacer>
  </constructionHeuristic>

https://docs.timefold.ai/timefold-solver/latest/optimization-algorithms/construction-heuristics#allocateEntityFromQueueConfiguration

but it lacks that for a list variable.

That makes it hard to configure a move filter for a CH when a list variable is in play.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions