Linear complementarity problem: principal pivoting algorithm
Statement
I'm trying to implement the "Dantzig; van de Panne and Whinston" principal pivoting algorithm for solving symmetric positive semi-definite LCPs from "The Linear Complementarity Problem" book (Algorithm 4.2.11 on page 248 of my edition).
The algorithm looks like this:
Given with being square, symmetric and positive semi-definite and of size , try to find s.t. and , or indicate if no such exists.
...
Initialize:
,
Step 1: Breaking ties arbitrarily, find:
If , stop. A solution of is given by
If and for all stop. There is no solution
Step 2: Use the minimum ratio test to find the index of a blocking variable to . Break ties arbitrarily, but prefer if there's a choice.
Step 3: Using a simple principal pivot on row/column s to update and
If , transfer from to and goto Step 1
If , transfer from to and goto Step 2
...
This …
Posed by Jay Lemmon · linear-algebra, linear-programming
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-77390.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-77390.lean
import Mathlib /-! # Linear complementarity problem: principal pivoting algorithm Source: https://mathoverflow.net/questions/77390 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_77390 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_77390