Linear and Combinatorial Optimization in Ordered Algebraic Structures