[Cbc] [CBC] SOS objects in LP format

John Forrest john.forrest at fastercoin.com
Mon Sep 8 06:38:13 EDT 2014


Marco,

In trunk.  Probably does not handle bad data gracefully.  Owing to way 
readLP does I/O it is happy reading

set77:S1::

or

S1::

but doesn't really like set77: S1:: as it thinks it is still in set76 
and that set77 might be name of variable.  It puts out a warning message 
and continues quite happily.

I have tested on several sets of data, including one which broke Cbc.  
In this each S1 set has two members - one a free continuous variable and 
one a 0-1 integer.  I have fixed that in trunk.

John Forrest
On 04/09/14 13:54, mg wrote:
> Hi All,
> I would like to know if it's possible to include SOS objects 
> definition in the LP file.
>
> SOS objects are quite commonly used and would be really useful if they 
> were included in the LP file.
> (LPs can be easily used to reproduce issues on CLI CBC, to try the 
> same problem other solver like CPLEX/GUROBI etc.)
>
> CPLEX lp format definition seems to include them :
>
> http://pic.dhe.ibm.com/infocenter/cosinfoc/v12r2/index.jsp?topic=%2Filog.odms.cplex.help%2FContent%2FOptimization%2FDocumentation%2FCPLEX%2F_pubskel%2FCPLEX876.html
>
>
> Is it already possibile or maybe can be included in a future release ?
>
> Thanks,
> Marco
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20140908/b07eae02/attachment.html>


More information about the Cbc mailing list