Pošalji tekstualnu poruku: Optimal processes in irreversible thermodynamics and microeconomics