Engineering mathematics

A numerical solver is designed to minimize an objective, but an engineer wants to maximize a benefit function B(x). Which transformation gives an equivalent minimization problem?