[Cbc] lp file format

Bjørn Sigurd Johansen (Spider Solutions AS) bjorn.sigurd.johansen at spidersolutions.no
Mon Nov 13 07:41:59 EST 2017


Thx  : )

Three modelling questions:


Question 1:  Is there any advantage in defining bounds in BOUNDS section rather than in SUBJECT TO section?  I.e. is one of the following preferred for an (integer and/or continuous) variable?

SUBJECT TO
I1>=0
I1<=10
------------------------- alternatively -------------------------
BOUNDS
0 <= I1 <= 10



Question 2:  What is/is there any purpose of defining no bounds, i.e. using FREE in BOUNDS section, for integer variables?

BOUNDS
I1 FREE
GENERAL
I1
------------------------- alternatively only -------------------------
GENERAL
I1



Question 3:  Is there any difference between the following two?
V1>=0
V1>=+0
(I have seen “+0” being used several places).



Thanks in advance,
Bjorn



From: Haroldo Santos [mailto:haroldo.santos at gmail.com]
Sent: mandag 13. november 2017 13:03
To: Bjørn Sigurd Johansen (Spider Solutions AS) <bjorn.sigurd.johansen at spidersolutions.no>
Cc: cbc at list.coin-or.org; cbc at coin-or.org
Subject: Re: [Cbc] lp file format

Hi,

I think that there is no cbc specific (more precisely Osi) LP format documentation. The LP file format was introduced in CPLEX and I think that CPLEX has the official documentation.



On Mon, Nov 13, 2017 at 5:54 AM, Bjørn Sigurd Johansen (Spider Solutions AS) <bjorn.sigurd.johansen at spidersolutions.no<mailto:bjorn.sigurd.johansen at spidersolutions.no>> wrote:
Hi!

Is there any description on the CBC lp file format available ?

Or may the Cplex format description at http://lpsolve.sourceforge.net/5.0/CPLEX-format.htm be used ?

Best,
Bjorn

_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org<mailto:Cbc at list.coin-or.org>
https://list.coin-or.org/mailman/listinfo/cbc



--
=============================================================
Haroldo Gambini Santos
Computing Department
Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br<http://iceb.ufop.br>
home/research page: www.decom.ufop.br/haroldo<http://www.decom.ufop.br/haroldo/>


It has long been an axiom of mine that the little things are infinitely
the most important.
-- Sir Arthur Conan Doyle, "A Case of Identity"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20171113/4e516acd/attachment-0003.html>


More information about the Cbc mailing list