Extension of the principle of least action with focus on dissipative equations.