Optimization Algorithm For Decision Theory With Uncertainty