modules.applications.optimization.salbp.salbp.get_indices
- get_indices(lines: list[str], keywords: list[str]) dict[str, int]
Find the positions of the keywords in the list.
- Parameters:
lines -- List of lines
keywords -- Keywords to look for
- Returns:
Dictionary with keyword and their position in lines