Added Q and e constraints.