[FlopCpp] Model->writeLp("OsiSchedule"); crashes om CoinAll 1.3.0: solved

Tim Hultberg Tim.Hultberg at eumetsat.int
Thu Nov 26 07:31:43 EST 2009


You can use the attach method to generate the problem without solving it.

Tim

-----Original Message-----
From: flopcpp-bounces at list.coin-or.org [mailto:flopcpp-bounces at list.coin-or.org] On Behalf Of Peter Sels
Sent: Thursday, November 26, 2009 11:52 AM
To: flopcpp at list.coin-or.org
Subject: [FlopCpp] Model->writeLp("OsiSchedule"); crashes om CoinAll 1.3.0: solved

Hello All,

To make Model->writeLp("file", "txt") work, seems I needed to call
Model->minimize(obj);
first. The same seems to be true for Model->getNumRows() and the like.
There may be a good technical reason for this, but from a user perspective it
is nice to be able to check the model in an LP  file before actually
having to solve it, especially if solving time is hours, days, weeks, ...

Maybe there is a better solution?

thanks and best regards,

-- 
Peter

_______________________________________________
FlopCpp mailing list
FlopCpp at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/flopcpp




More information about the FlopCpp mailing list