Solving a layout optimization problem using genetic algorithms and prolog · HackerTrans