Pareto front find

pareto-front-find · version 1.0.0 · Optimization & voting · free, no key needed

Find stable nondominated row indices and a domination witness for every excluded row using exact rational criteria.

Use when you need to: find the pareto front · find nondominated alternatives · filter dominated rows.

Decide before calling

Read the versioned contract and the supported scope below. Reuse pareto-front-find@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use pareto-front-find@1.0.0 for find the pareto front. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "criteria": [
    {
      "direction": "minimize"
    },
    {
      "direction": "maximize"
    }
  ],
  "rows": [
    [
      "1",
      "1"
    ],
    [
      "2",
      "3"
    ],
    [
      "3",
      "2"
    ],
    [
      "2",
      "1"
    ]
  ]
}

Response:

{
  "result": {
    "nondominated_indices": [
      0,
      1
    ],
    "excluded": [
      {
        "index": 2,
        "dominated_by": 1
      },
      {
        "index": 3,
        "dominated_by": 0
      }
    ]
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "pareto-front-find",
  "version": "1.0.0",
  "input": {
    "criteria": [
      {
        "direction": "minimize"
      },
      {
        "direction": "maximize"
      }
    ],
    "rows": [
      [
        "1",
        "1"
      ],
      [
        "2",
        "3"
      ],
      [
        "3",
        "2"
      ],
      [
        "2",
        "1"
      ]
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/pareto-front-find/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"criteria":[{"direction":"minimize"},{"direction":"maximize"}],"rows":[["1","1"],["2","3"],["3","2"],["2","1"]]}'

The machine-readable contract is at /v1/tools/pareto-front-find/versions/1.0.0.

CLI

node cli.mjs run pareto-front-find 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.