Apply Energy in the whole project.
Energy has been tested on AdmmSolver: first use stdout to output
all kinds of energies, then use Energy. The results are the same.