kkt(f, g, h, x, y, …) — the Karush–Kuhn–Tucker conditions of min f subject to g ≤ 0 and h = 0, stated as one conjunction of relations (F_0010 slice 4).
Evaluates to the conditions rather than to their solutions: the conditions are an equivalent restatement anyone can read, check and hand to solve, while solving them is kktPoints, library API. Pass 0 for an absent group — the constraint 0 ≤ 0 (or 0 = 0) holds trivially and is dropped.
Value parameters
f
the objective
g
the inequality group, cells meaning g ≤ 0 (or written as l = r)
h
the equality group, cells meaning h = 0 (or written as l = r)