Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-536

Workbench solver editor: bendable score combobox selection should allow filling in hard and soft level size.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta3
    • None
    • optaplanner-wb
    • None
    • NEW
    • NEW

      When the score def type is BENDABLE* then 2 additional ints need to be configured:

        <scoreDirectorFactory>
          <scoreDefinitionType>BENDABLE</scoreDefinitionType>
          <bendableHardLevelsSize>2</bendableHardLevelsSize>
          <bendableSoftLevelsSize>3</bendableSoftLevelsSize>
        </scoreDirectorFactory>
      

      note that those level sizes are always ints, even for BendableLongScore.

      see
      http://docs.jboss.org/optaplanner/release/latest/optaplanner-docs/html_single/index.html#bendableScore

      so in the UI, if bendable is selected, to extra int fields should be possible to fill in (and other wise they shouldn't be possible).

            mcimbora_jira Matej Čimbora (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: