[Top][All Lists]

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

Re: [Help-glpk] Incomplete output when using "--cuts" option

From: glpk xypron
Subject: Re: [Help-glpk] Incomplete output when using "--cuts" option
Date: Sat, 16 Oct 2010 09:38:47 +0200

Hello Greg,

if you add a statement
printf{(k,i) in CurCoverage: kcoversi[k,i]>.1 && kcoversi[k,i]<> 1}: "A: %f, 
%f, %.18f\n", k, i, kcoversi[k,i];
and solve with --cuts you see a lot of lines like:
A: 147445.000000, 147428.000000, 1.000000000000001300
A: 147445.000000, 147441.000000, 1.000000000000000900

As mentioned before the GLPK solution is not exact.
Change your output line to 
printf{(k,i) in CurCoverage: kcoversi[k,i]>.5}: "%f, %f, %.8f\n", k, i, 
kcoversi[k,i] > "CGJ_coverageop.csv" ;

Best regards


-------- Original-Nachricht --------
> Datum: Fri, 15 Oct 2010 23:11:40 -0400
> Betreff: Re: [Help-glpk] Incomplete output when using "--cuts" option

> Hi Xypron,
> Thanks for the help.  Please see me answers below.  I have attached a zip
> file that has the data files used, as well as .mod and .dat files.

Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren:

reply via email to

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