I'm making an application that uses the Simplex method to get the most use in a function, to use this method I use the class SimplexSolver present in the Apache Commons Math 3.6 library, the problem is that I have not been able to find a function or a way in which the results of the variables of the function are strictly integers, since in the program I get results with decimal numbers that affect the real solution of the problem.