Minimizing energy functions on 4-connected lattices using elimination | IEEE Conference Publication | IEEE Xplore