help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: GLPK Linear Programming solver]


From: Michael Hennebry
Subject: Re: [Fwd: GLPK Linear Programming solver]
Date: Tue, 28 Jun 2022 17:04:21 -0500 (CDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

From: Prabhu Manyem <prabhu.manyem@gmail.com>
I get an optimal solution with the SAME objective function value, but
now, some variables are NOT integers... I get a fractional solution.

Why the difference between the 2 methods?
How to fix this problem for the command line execution of GLPK?

Since they have the same objective function,
both solutions qualify as optimal.
You did not ask for an integer solution,
--nomip makes that clear,
so there was no reason for you to get one.
glp_simplex does not guarantee an integer solution either.
For that you need glp_intopt .

--
Michael   hennebry@web.cs.ndsu.NoDak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards



reply via email to

[Prev in Thread] Current Thread [Next in Thread]