Αποστολή με SMS: Optimal Control of Distributed Systems with Conjugation Conditions