pylibmgm.io.import_solution

pylibmgm.io.import_solution(solution_path: os.PathLike, model: pylibmgm.MgmModel) pylibmgm.MgmSolution

Import an MGM solution from disk.

Parameters:
  • solution_path (os.PathLike) – Path to the solution file.

  • model (MgmModel) – The MGM model associated with the solution.

Returns:

The imported solution.

Return type:

MgmSolution