This paper presents a structure of classes based on Object-Oriented Program
ming, which allows the development of an Optimization Library, In this libr
ary, deterministic and stochastic optimization algorithms are considered, a
s well as algorithms that work with constrained or unconstrained objective
functions. First of all,,we will present the characteristics of some main o
ptimization methods used in the last years, mainly in the electromagnetic a
rea. Later on, based on these characteristics, we will show the classes cre
ated for the implementation of this optimization library. Finally, we will
present the communication architecture used for data exchange between this
library and a Finite Element Method software.