savePlpModel function

Saves the plp model