[pci]add annnelaling to optimization.py