This document describes a real coded genetic algorithm called MI-LXPM for solving integer and mixed integer constrained optimization problems. MI-LXPM modifies and extends an existing real coded genetic algorithm (LXPM) to handle integer restrictions on decision variables. It incorporates a truncation procedure to satisfy integer restrictions and a penalty approach for handling constraints. The performance of MI-LXPM is tested on 20 problems and compared to other algorithms, showing it outperforms them in most cases.