[pci]fixbug for len(None) in optimization.py