Definitions of optimally:

  • adverb:   in an optimal and most desirable way