We describe an object-oriented framework for solving mathematical programs using genetic algorithms (GA's). The advantages of this framework are its extensibility, modular design, and accessibility to existing programming code. The framework also incorporates a graphical uscr's interface that may he used to build new GA's as well as run GA simulations. ' b o power system problems are solved hy implementing genetic algorithms using the said framework. The first is a Continuous optimization problem and the second an integer programming problem. We illustrate the flexibility of the framework as well as its other features on our test prohlems. Index Terms-Genetic algorithms, graphical user interfaces, ob-/ect-oriented programming, optimization methods. Felix Wu reccivcd tlic Ph.D. degree [rom UC Berkeley, where hc is curcently a Profccssor of electricid engiiieering and computer scieiicc, on leave tit the IJniversity of Hong Kong. Dr. Wu is a Pcllow of IEEE.