Skip to content

Instantly share code, notes, and snippets.

@DuncanDoyle
Created April 6, 2020 17:15

Revisions

  1. DuncanDoyle created this gist Apr 6, 2020.
    47 changes: 47 additions & 0 deletions optaplanner-npe-request
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    {
    "knapsack": {
    "maxWeight": 10
    },
    "ingots" : [
    {
    "weight": 4,
    "value": 15
    },
    {
    "weight": 4,
    "value": 15
    },
    {
    "weight": 3,
    "value": 12
    },
    {
    "weight": 3,
    "value": 12
    },
    {
    "weight": 3,
    "value": 12
    },
    {
    "weight": 2,
    "value": 7
    },
    {
    "weight": 2,
    "value": 7
    },
    {
    "weight": 2,
    "value": 7
    },
    {
    "weight": 2,
    "value": 7
    },
    {
    "weight": 2,
    "value": 7
    }
    ]
    }