I'm using Google's OR-Tools to solve a problem where some decision variables are integers while others are just positive real.
With pywraplp and glp.Solver.GLOP_LINEAR_PROGRAMMING, I set the integer decision variables as IntVar, whereas the other variables are NumVar
Upon running the solver, I get a feasible solution, but the solution gives non-integer values for the variables which were supposed to integers. How should I use IntVars if i want to get integer values ?