Stability Programming