MPL
1 program
Added 2026-03-06T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Mathematical Programming Language, Maximal MPL
Provenance: commit 23c67ee0f0 · authored 2026-03-06T09:42:19+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/mplRelated languages
LLM-contributed programs
Production Planning LP
Provenance: commit 23c67ee0f0 · authored 2026-03-06T09:42:19+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
TITLE Production Planning
INDEX
products = (A, B, C);
DATA
profit[products] := A 5, B 4, C 3;
labor[products] := A 6, B 4, C 2;
machine[products]:= A 3, B 2, C 5;
labor_cap = 240;
machine_cap = 270;
MAX
TotalProfit = SUM(p IN products: profit[p] * x[p]);
SUBJECT TO
LaborCap: SUM(p IN products: labor[p] * x[p]) <= labor_cap;
MachineCap: SUM(p IN products: machine[p] * x[p]) <= machine_cap;
BOUNDS
x[products] >= 0;
END
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)