[Cbc] Solution file format

Haroldo Gambini Santos haroldo.santos at gmail.com
Wed Nov 8 13:58:26 EST 2017


Yes. If you use long names (>80) it may happen also that the prefix is
repeated. 

If invalid characters are included the names are discarded too. Normaly
 OSI prints some messages of warning...



Em qua, 2017-11-08 às 18:50 +0000, Bjørn Sigurd Johansen (Spider
Solutions AS) escreveu:
> Hi Haroldo,
>  
> With 'repeated names' you mean that I have defined the same variable
> twice in my model file.  I.e.
> V0 FREE
> V1 FREE
> V1 FREE
> where V1 is defined twice?
>  
> - Bjorn
>  
>  
> -----Original Message-----
> From: Cbc [mailto:cbc-bounces at coin-or.org] On Behalf Of Haroldo
> Gambini Santos
> Sent: onsdag 8. november 2017 19:37
> To: cbc at list.coin-or.org
> Subject: Re: [Cbc] Solution file format
>  
> Hi,
>  
> This normally happens when you insert variables with repeated names.
> Cbc replaces these names with generic "x" names.
>  
>  
> []'s
>  
> Em qua, 2017-11-08 às 18:29 +0000, Bjørn Sigurd Johansen (Spider
> Solutions AS) escreveu:
> > Hi,
> > 
> > Normally, I get solution file having format like:
> > Stopped on time - objective value 127.80312680
> >     190 S435                   1               -136.8498
> >     192 S437                   1                   120.6
> >     705 M0           0.074734827                       0
> >     706 M1             0.2417554                       0
> >    1084 B1102                  1                       0
> > 2. column are variables defined by me, and 3. column are the
> solution
> > values for my variables
> > 
> > However, now I get solution file having format like:
> > Optimal (within gap tolerance) - objective value 1052.83430000
> >     114 x114                   2                  15.744
> >     180 x180                   3                  5.0475
> >     202 x202                  19                41.58125
> >     211 x211                   1                  45.604
> >     324 x324                   8                   3.645
> >     403 x403                   2                   14.22
> >     438 x438                   1                     100
> > 
> > Where do the "x" prefixes some from?  (I do not have any variables
> in
> > my model prefixed with an "x").  Looks like I get a solution, but
> none
> > of my variables are included in the solution file.
> > 
> > 
> > 
> > Regards,
> > Bjorn
> > _______________________________________________
> > Cbc mailing list
> > 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
> home/research page: 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"
> _______________________________________________
> Cbc mailing list
> 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
home/research page: 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"


More information about the Cbc mailing list