Deakstadieđáhus: Algebraic methods for optimization problems