pln and genetc algorithm practices