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

Workbench: Attained Score Test editor for tests that check if a specific dataset can be solved to a specific score in a specific time

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • Future
    • None
    • optaplanner-wb
    • None

      This new screen is very similar to the CloudBalancingPerformanceTest and the other *PerformanceTest class (each example has one).

          @Test(timeout = 600000)
          public void solveModel_200computers_600processes() {
              File unsolvedDataFile = new File("data/cloudbalancing/unsolved/200computers-600processes.xml");
              runSpeedTest(unsolvedDataFile, "0hard/-218850soft");
          }
      

      The user input to configure an Attained Score Test is minimal:

      • Dataset, for example "200computers-600processes.xml"
      • Score to attain, for example "0hard/-218850soft"
      • Timeout: for example "60000 ms" (1 minute for a test that normally runs in 5 seconds or less)

            jlocker Jiří Locker
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: