Optimal control of a finite automaton with fuzzy constraints and a fuzzy target