Complexity of tropical and min-plus linear prevarieties