soft margin opt