I have put 'est' at the end of the sentence, because that happens more often in Latin. I have translated optional as 'an option', because I couldn't find the adjective.
<Efylove> The adjective "opcional" is "liber, libera, liberum", but "optio" is a good translation too. So you can also say: "Dolor inevitabilis, labor liber est".