Goal and options: To cook a steak rare,
output answer: cook the steak until the middle is red and slightly warm.

Goal and options: To stop flies from being around.
output answer: Purchase a fly trap and that will catch the flies so you can toss them out.

Goal and options: To stay a float while swimming without using your body,
output answer:
use a set of flotation devices instead of swimming.