Lightweight wrapper around ``pyvrp.read.read()``, reading problem files relative to the current directory.
(where: str, *args, **kwargs)
| 13 | |
| 14 | @lru_cache |
| 15 | def read(where: str, *args, **kwargs): |
| 16 | """ |
| 17 | Lightweight wrapper around ``pyvrp.read.read()``, reading problem files |
| 18 | relative to the current directory. |
| 19 | """ |
| 20 | this_dir = pathlib.Path(__file__).parent |
| 21 | return _read(this_dir / where, *args, **kwargs) |
| 22 | |
| 23 | |
| 24 | def read_solution(where: str, *args, **kwargs): |
no outgoing calls