[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Different status returned in API and by terminal output
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Different status returned in API and by terminal output |
Date: |
Tue, 22 Nov 2011 19:24:34 +0300 |
> Yes, but then wouldn't it be more correct to return error code 0 (instead of
> 0x0B, GLP_ENODFS) and status 6, GLP_UNBND (instead of GLP_UNDEF)?
>
No, it wouldn't, because GLP_ENODFS means 'no dual feasible solution
exists' while GLP_UNBND also assumes primal feasibility. Moreover, in
case of GLP_UNBND the simplex solver provides additional information
suitable for generating rows while GLP_UNDEF means that no solution
information is available.