"to have" is incorrect here. "has" in the first sentence may be OK, but it's a bit hard to comment without more understanding of the kind of thing you are talking about. I wonder whether "contains" may be better than "has", or whether it may be better to say "the outer region of cell 5" rather than "cell 5 outer region".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
youssefdirAnyway how about this third version: "the optimum is the outer of cell 5 to have/contain 9 or 10 resource blocks".No, that is not correct grammar.