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

Workbench: Solver configuration editor prototype

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 6.2.0.Final
    • optaplanner-wb
    • None
    • I propose any work after this point gets a new Jira or else this will never get resolved :)

      The Solver Configuration editor should allow to create an solver xml (and modify it later). There are the minimal elements that need to be supported in the prototype:

      • 1 solutionClass
      • n entityClass
      • scoreDirectorFactory
        • 1 scoreDefinitionType
        • n scoreDrl or n scoreDrlFile
      • termination
        • secondsSpentLimit
        • minutesSpentLimit
        • hoursSpentLimit

      More fields are welcome too, of course. See the attached design to see how the screen would map to the XML. The XML maps very straigtforwardly to the java beans SolverConfig.java, TerminationConfig.java, etc.
      https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/src/main/java/org/optaplanner/core/config/solver/termination/TerminationConfig.java#L41
      https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/src/main/java/org/optaplanner/core/config/solver/SolverConfig.java#L45

            trikkola Toni Rikkola
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: