One Dimensional Two Phase Simplex