Skip to content

FLEX-E: a structure-exploiting linear feasibility solver for embedded optimization

Andrea Ghezzi, Jonathan Frey, Anton Pozharskiy, Gianluca Frison, Moritz Diehl

math.OC

Abstract

We present FLEX-E, a dedicated Phase-I simplex solver for dense linear feasibility problems arising in embedded optimization. The solver exploits singleton columns induced by slack variables in the feasibility problem. This allows one to factorize only a block of the basis matrix which contains original variables, reducing computational cost. Infeasibility is reported only with a verified Farkas certificate, and a short dual simplex phase detects many infeasible problems within a few iterations. For embedded deployment, FLEX-E is integrated into the acados framework using preallocated memory and BLASFEO linear algebra. On random LPs with up to hundreds of variables and constraints, FLEX-E is faster than GLPK, HiGHS, and Gurobi in six of eight problem classes, with the largest advantage on small problems and on infeasible problems where the dual phase finds a certificate early. Used as a feasibility stage before an interior-point solver for condensed model predictive control problems, it certifies infeasibility of all 69 infeasible problems in our test set, at a median overhead of 8% on feasible problems.

Create a lesson

Metadata

Categories
math.OC, cs.MS
Comments
7 pages, 2 figures, 3 tables. Submitted to European Control Conference 2027