Knowledge based method for solving complexity in design problems