don't call setvartype if all continuous (fix for Mosek)