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/mpl
LLM (this repo) · 1Pldb

Related languages

AMPL (0.67)GNU MathProg (0.60)Zimpl (0.55)CMPL (0.53)Mentat (0.42)

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
code.mpl · added: 2026-03-06T10:00:00Z
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.)

Contribute — propose a file extension

Tell us where to find evidence about MPL (mapped to pl/mpl). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/MPL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← mpgs MProlog →