Farkas Lemma Certificates
Find a feasible nonnegative combination or a separating certificate of impossibility.
Free theory articleFind a feasible nonnegative combination or a separating certificate of impossibility.
Concept & interpretation
Farkas' Lemma provides a powerful tool in linear algebra and convex optimization. It states that exactly one of two possibilities is true for a given matrix A and vector b: either the system Ax = b has a non-negative solution (x ≥ 0), or there exists a vector ysuch that ATy ≥ 0 and bTy < 0. This separating vector yserves as a certificate of infeasibility.
Experiment
- Select the Wedge cone from the Cone control.
- Select the Above wedge target from the Target control.
- Observe that the feasibility result displays Infeasible.
- Notice the separating certificate vector y appear in the visualization and results table.
Explore this experiment directly at https://riano.app/module/farkas-lemma-certificates.