Farkas certificate for linear inequalities (source code)

= Farkas certificate for linear inequalities
{c}
{title2=$C^Ty=0,\quad y\geq0,\quad d^Ty<0$}

Such a vector certifies that $Cx\leq d$ has no solution: the nonnegative weighted sum of the constraints would give $0\leq d^Ty<0$. Conversely, <Farkas lemma> supplies one whenever the system is inconsistent.