Solves Problems Involving Variation