help-glpk
[Top][All Lists]
Advanced

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

[Fwd: GLPK Linear Programming solver]


From: Andrew Makhorin
Subject: [Fwd: GLPK Linear Programming solver]
Date: Tue, 28 Jun 2022 08:28:52 +0300

-------- Forwarded Message --------
From: Prabhu Manyem <prabhu.manyem@gmail.com>
To: Andrew Makhorin <mao@gnu.org>, Neill Clift <NeillClift@live.com>
Subject: GLPK Linear Programming solver
Date: Tue, 28 Jun 2022 14:39:01 +0930

> Hello,
> 
> About the GLPK Linear Programming solver 5.0, running Linear
> Programming models:
> 
> For some instances, when I run the solver from inside a C program,
> using the statement
>   glp_simplex(mis1, NULL),
> I get a solution which is fully Integer... For every variable, I
> obtain an integer value.
> 
> However, when I run the same model in Linux command line, using the
> command
> glpsol --nomip --simplex --lp Max_Clique_model.lp
> 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?
> 
> Thank you very much for your help.
> 
> Dr Prabhu Manyem
> Retired Professor of Applied Mathematics
> Nanchang Institute of Technology
> 



reply via email to

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