Anthropic Principle Algorithm:A new Heuristic Optimization Meth