A penalty-function technique is described that can be used to solve constrained nonlinear optimization problems. The method is based upon the strategy of transforming the original constrained optimization problem into an equivalent unconstrained problem, and then solving a sequence of unconstrained optimization problems. This strategy is particularly attractive because unconstrained optimization problems are generally much easier to solve than constrained problems. The method is applied to a cyclic steam injection process that has been studied previously using process that has been studied previously using other techniques. Detailed solutions are presented and the characteristics of the method are discussed The method works, and it exhibits several favorable characteristics, such as applicability to a wide variety of nonlinear problems and freedom from convergence difficulties or computer storage limitations. Moreover, the method can be understood and implemented on a digital computer with ease. Introduction: It is difficult for the analyst to recognize the methods that are best suited to a particular problem. Recent texts on optimization theory have not aided the situation because little is presented about which techniques are most applicable to different problems. Thus, the difficulties of identifying particular optimization techniques for various specialized applications remain largely unresolved. This paper presents a penalty-function optimization algorithm is suited to a variety of nonlinear engineering optimization problems. The method is applied to a problem that has been previously optimization of a cyclic steam injection previously optimization of a cyclic steam injection process. This example has a serial structure and may, process. This example has a serial structure and may, therefore, appear to be an unlikely application for a penalty-function optimizer. There are, however, several significant advantages to the use of a penalty-function algorithm rather than dynamic penalty-function algorithm rather than dynamic programming or the maximum principle. programming or the maximum principle.