help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] status of solution


From: Andrew Makhorin
Subject: Re: [Help-glpk] status of solution
Date: Tue, 04 Oct 2011 15:58:52 +0400

> I solve lp problem ans I got status of solution 0 when it found the
> optimal solution ans alos i got 0 when the "problem has unbounded
> solution"
> 
> How can I knew whit status if it has an optimal solution or not?
> 
> 
> parm = new glp_smcp()
> glp_init_smcp(parm)
> status = GLPK.glp_simplex(lp, parm)  
> 

You need to use glp_get_status. 

The zero code returned by glp_simplex only means that the solution
process was successful; it is not a solution status.




reply via email to

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