Title: Programming of optimal decisions