Optimal

adjective /ˈɒptɪməl/ /ˈɑːptɪməl/
the best possible; producing the best possible results

seeking the optimal solution

This smart washing machine will dispense an optimal amount of water for the load.

This region has optimal conditions for rafting.

This is the optimal state.

He wants to rebuild the relationships between the US and Europe which weren’t optimal.