optimal
adjective
°The best, most favourable or desirable, especially under some restriction.
"Finding the optimal balance between features and price is a common problem."
°# Describing a search algorithm that always returns the best result.
synonyms: best, ideal