[Cbc] Feature request: read initial solution(s) from CLI

John Forrest john.forrest at fastercoin.com
Sun Aug 21 04:32:53 EDT 2011


Haroldo,

Looking at code - this is what I think happens -

On priorities - priorityIn filename reads from a file.  The first line
would have
name or number (one of these), priority

followed by entries and endata

so 
name,priority
C0000007,50
...
endata

Priority 1 is highest - default is 10000

An input solution is a bit trickier.  It was designed for trying to
branch towards a solution and had its own priorities for the initial
branching.  To use it just to put in a solution you would

have name,solution,priin 

and then set
forceSolution 0 to say - just set solution as best so far, rather than
branch towards it.

Not been used for some time and may be broken.  Should allow for
preprocessing.


John Forrest



On Sat, 2011-08-20 at 11:30 -0300, Haroldo Santos wrote:
> Can I tell the standalone cbc solver to load an initial solution from
> a file before start the solution process ? Or better, to load a pool
> of solutions so that MIP heuristics which work with more than one
> solution would perform better.
> 
> If not, this would be a nice feature.
> 
> Cheers,
> 
> Haroldo
> 
> 
> -- 
> =============================================================
> 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/
>  
> "Computer science is no more about computers than astronomy 
> is about telescopes." Edsger Dijkstra
>  
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc




More information about the Cbc mailing list