Row and column searching routines

Problem.find_row(str name)

Find row by its name

Parameters:name (str) – the name of the row
Returns:the row index
Return type:int
Problem.find_row_as_needed(row)
Parameters:row (int or str) – the index or name of the row
Returns:the row index
Return type:int
Problem.find_col(str name)

Find column by its name

Parameters:name (str) – the name of the column
Returns:the column index
Return type:int
Problem.find_col_as_needed(col)
Parameters:col (int or str) – the index or name of the column
Returns:the column index
Return type:int
Problem.find_row_or_col_as_needed(ind)