Energy Related Optimization Algorithms for Mapping