Problems of optimal control with incomplete information and method of program packages