The focus of this paper is the formulation and application of an optimization technique for the design of wire wind high pressure vessels. The capability to explicitly calculate the winding tension which would be necessary to produce required wind working stress is also presented. With a computer program based on the Tresca and von Mises yield criterion the whole process of wire winding can be simulated and the initial and working stresses in a cylinder can be quantitatively estimated and graphically represented.