Compute OPT