fix compile error and change LinearModel -> OptimizablePredictionModel