A description of a continuous medium whose elements have two states, the excitation state and the rest state, is given. The process of the propagation of excitation in these media is considered. An economic interpretation of optimization problems in excitable media is discussed.