datenvertrag.halowerk.com/v1/assignment-game-core-extremes
For a square1..3 by1..3 nonnegative integer surplus matrix with entries0..6, compute the maximum transferable assignment surplus, a lexicographically first optimal perfect assignment, and both extreme core utility vectors. Every buyer receives their largest simultaneous core payoff in buyer_optimal; every seller receives theirs in seller_optimal. Return all exact dual slacks u_i+v_j-a_ij for each
POST
https://datenvertrag.halowerk.com/v1/assignment-game-core-extremesUptime100% 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/assignment-game-core-extremes", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claim_surplus":9,"surplus":[[5,1],[2,4]]}),
});
console.log(await res.json());Example input
{
"claim_surplus": 9,
"surplus": [
[
5,
1
],
[
2,
4
]
]
}