Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/rational-polyhedron-projection-farkas-certificate

Project an original full-dimensional nonempty rational H-polyhedron{(y,z):A(y,z)<=b} onto ALL remaining REAL y by eliminating its last real coordinate z. Source dimension2or3,0..6inequalities,canonical rationals numerator abs<=4/denominator1..4. Return the entire exact projected irredundant H-description,all normalized Fourier-Motzkin rows with nonnegative ORIGINAL-source multipliers,and exact red

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/rational-polyhedron-projection-farkas-certificate

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/rational-polyhedron-projection-farkas-certificate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"A":[["-1","0","0"],["0","-1","0"],["0","0","-1"],["1","1","1"]],"b":["0","0","0","1"],"claim_projection":[{"bound":"0","normal":["-1","0"]},{"bound":"0","normal":["0","-1"]},{"bound":"1","normal":["1","1"]}],"dimension":3}),
});
console.log(await res.json());

Example input

{
  "A": [
    [
      "-1",
      "0",
      "0"
    ],
    [
      "0",
      "-1",
      "0"
    ],
    [
      "0",
      "0",
      "-1"
    ],
    [
      "1",
      "1",
      "1"
    ]
  ],
  "b": [
    "0",
    "0",
    "0",
    "1"
  ],
  "claim_projection": [
    {
      "bound": "0",
      "normal": [
        "-1",
        "0"
      ]
    },
    {
      "bound": "0",
      "normal": [
        "0",
        "-1"
      ]
    },
    {
      "bound": "1",
      "normal": [
        "1",
        "1"
      ]
    }
  ],
  "dimension": 3
}