Optimization in Industrial and Living Systems