1. A method of instructing a computer program to self-optimize, said method comprising: inputting commands into said computer program; and allowing a learning protocol in said computer program to determine an approximate optimal policy of operation of said computer program based on said commands.