Improve salsolver module