To choose the best alternative from a set of available options one can use this type of computer program. Probability and mathematical models are used to predict future events. Used in investing and in choosing the most efficient path to allocate scarce resources. Also known as optimization .