Question: what is the difference between optimal and ideal?
Answer: As adjectives the difference between ideal and optimal is that ideal is optimal; being the best possibility while optimal is the best, most favourable or desirable, especially under some restriction.