[Coin-discuss] MaxCut and Mkc

Laszlo Ladanyi ladanyi at us.ibm.com
Sat Nov 15 17:37:39 EST 2003


Hi Stephan,

The runs for MaxCut are OK. If you look at it closely, near the end
there is a line:
TM: Time has ran out... 11084.560 secs
This is because a time parameter is set to somewhere around 11000
secs (probaly 10800 - 3 hours). It runs a bit longer since time is
checked after solving an LP, so if the last LP takes long then it'll
run over the time limit. Check the parameter file for BCP_MaxRunTime
(I think 3 hours is the default, so you might have to add it).

Still, the abort at the end is bad and I'll check it out. But it's
just some statistics collection and nothing of interest happens
afterwards.

Mkc: thanks for catching the typo, I fixed it now. I just got the
file and it gunzips just fine. Is it possible that you got the Mkc
module on Windows then ftp'd it to Linux, but in text mode, not in
binary mode? That would explain the CRC error. As far as why the
unpacked file failed, I don't know... CoinMpsIO should be immune to
CR/LF issues (end of line different on unix and on windows), but who
knows. If you could email as an attachment the unpacked file on
which CoinMpsIO fails that would be great.

Thanks,
--Laci

On Sat, 15 Nov 2003, Stephan Hennig wrote:

> Hello,
> 
> I'm still having problems running BCP. Both MaxCut and Mkc compile. But
> MaxCut (as far as I can see) breaks with an objective function value of
> -3412 both with and without Osl inferface enabled in MaxCut/Makefile,
> however after a different number of iterations. I appended the output of
> each two last iterations at then end.
> 
> As with Mkc, in the INSTALL file it is said
>   - gunzip the problem file (mkc.tgz)
> However, there is no mkc.tgz. There is a file mkc.gz which neither
> gunzips nor unzips under Linux complaining about CRC errors. It also
> does so when I do an integrity check. I tried to unpack it on Windows
> and there it works. But if I copy the unpacked file to Mkc/ the example
> starts but exits with this error
> 
> [work at localhost Mkc]$ Linux-g/bcps bcp.par
> BCP_parameters::read_from_stream   Scanning parameter stream.
> BCP_parameters::read_from_stream   Scanning parameter stream.
> BCP_parameters::read_from_stream   Scanning parameter stream.
> BCP_parameters::read_from_stream   Scanning parameter stream.
> BCP_parameters::read_from_stream   Scanning parameter stream.
> BCP_parameters::read_from_stream   Scanning parameter stream.
> Coin0001I At line 1 NAME
> Coin0001I At line 2 ROWS
> Coin0001I At line 3415 COLUMNS
> bcps: CoinMpsIO.cpp:549: COINSectionType CoinMpsCardReader::nextField():
> Assertion `after>next' failed.
> Abgebrochen
> [work at localhost Mkc]$
> 
> The unpacked problem file is 899692 Bytes long with the first five lines
> reading
> 
> NAME
> ROWS
>  N  obj
>  E  c1
>  E  c2
> 
> and the last line 12364 reading
> 
> 13343734239679199-13394418132673686739813343781401967986739813343734239679123343734239679199-1339441817679926733133437342339679199-133944398
> 79427393813343734239679199-132979196798123981334343734239679199-132294196798623981334343734239679199-1322941967984239673199-133944181767992673981334322739813133437814019679867398133437342396791313343781401967986ENDATA
> 
> (in one line). Any ideas?
> 
> Kind regards,
> Stephan Hennig
> 




More information about the Coin-discuss mailing list