An algorithm for adaptive control with the minimax quality functional is proposed. The algorithm is based on following the dynamics of consistent parameter regions in the class of admissible models. The determination of an adaptive optimal controller is obtained. Specific features of the proposed algorithm are analyzed. An example of the problem is presented when the quality index is near to the standard functional in the theory of H? optimal control. An example of the vessel course stabilization in conditions of rough sea is considered.