{
  "schemaVersion": "cutnesting.benchmark.case.1d.v1",
  "id": "1d-cost-tradeoff",
  "title": "Stock cost versus leftover",
  "description": "A longer stock piece leaves more material but has a lower declared price than the exact-fit alternative.",
  "difficulty": "small",
  "source": "synthetic",
  "license": "CC-BY-4.0",
  "provenance": "Created by Technodweep from the production minimize-cost regression scenario.",
  "input": {
    "material": "generic",
    "unit": "mm",
    "runtimeHost": "localhost",
    "stock": [
      {
        "id": "exact-expensive",
        "label": "Exact expensive stock",
        "length": 1000,
        "quantity": 1,
        "cost": 100
      },
      {
        "id": "long-cheap",
        "label": "Long cheap stock",
        "length": 1200,
        "quantity": 1,
        "cost": 20
      }
    ],
    "cuts": [
      { "id": "part-500", "label": "500 mm part", "length": 500, "quantity": 2 }
    ],
    "options": {
      "kerf": 0,
      "trimStart": 0,
      "trimEnd": 0,
      "goal": "minimize_cost",
      "allowMixedStockLengths": true,
      "scrapStrategy": "material_only",
      "reuseOffcuts": true,
      "reusableOffcutThreshold": 150,
      "solverMode": "optimal",
      "timeLimitMs": 3000
    }
  }
}
