I am trying to obtain 0-1 Integer solutions using Linear Programming.. I am testing whether the Valid Inequalities (extra constraints which I added to the model) indeed return fully Integer solutions when I solve the Linear Relaxation... (In GUROBI command line in Linux, I run the model file with the .lp extension, Valid-Inequalities.lp)
For some instances with multiple optimal solutions, GLPK 5.0 returned integer solutions, whereas GUROBI returned fractional solutions with the SAME objective function value.. How can I obtain fully Integer solutions with GUROBI by solving the Linear Program (Linear Relaxation)?
(Yes, I have read Greg Glockner's post -- Why does Gurobi sometimes return non-integral values for integer variables?https://support.gurobi.com/hc/en-us/articles/360012237872-Why-does-Gurobi-sometimes-return-non-integral-values-for-integer-variables -- However, his answer appears to be for Integer Prog. solvers, NOT Linear Prog. solvers.)
I use Gurobi Optimizer version 9.5.1 build v9.5.1rc2 (linux64).
Please sign in to leave a comment.