Fix typo: NOT_SOLVED constant from mp_solution module.
Fix bug: check whether _vars_names and _vars_values were defined.
Fix bug: return MPModuleParameters.DEFAULT_NAME when model name wasn't defined.
Follow Python coding style.
Check result value.