[Cbc] using coin-or cbc

Davide Vitelli davevit at gmail.com
Thu Jan 8 05:24:13 EST 2009


thanks to everybody, i'll try it soon ;)

Dave



2009/1/7 Matteo Fischetti DEI <m.fischetti at gmail.com>

>  Dear Davide,
>
> enclosed are two batch files I use under Win, e.g.
>
> c:>MIP   \usr\MIPtest\problem  C:  H
>
> I hope this will help you in finding the right options to use--to see a
> short documentation, write
>
> cbc
> ?
> pumpT??
> passF??
> dualS??
> slog??
> cutoff??
>
> In my batch files I use .lp, but you can put .mps if you like.
>
> Note that, under Win, you cannot use the full name of an LP file (e.g.
> c:\usr\st\qq with c: in front)  because of a problem in the name of the
> output sol. file (it would be converted to .\c:\usr...). Moreover, the
> internal timing is based on elapsed time (not CPU time).
>
> --Matteo--
>
> p.s. I suggest you use the latest  stable 2.2 version (vers. 2.00 had some
> problems).
>
>
>
> Davide Vitelli ha scritto:
>
> hello to everybody! I'm dave and i'm starting to use coin-or just today!!
> (so i'm completely a novice with this software!)
>
> How can I let coin-or cbc 2.00 write down the solution of a lp on a file?
>
> i wrote:
>
> cbc filename.mps
>
>
> but it reports only informations.. thanks! ;)
>
> DaVe
>
> ------------------------------
>
> _______________________________________________
> Cbc mailing listCbc at list.coin-or.orghttp://list.coin-or.org/mailman/listinfo/cbc
>
>
> --
> Prof. Matteo Fischetti
> DEI, University of Padova
> via Gradenigo 6/A
> I-35131 Padova (Italy)
> e-mail:   matteo.fischetti at unipd.it
> web:      www.dei.unipd.it/~fisch <http://www.dei.unipd.it/%7Efisch>
> reports:  www.dei.unipd.it/~fisch/papers <http://www.dei.unipd.it/%7Efisch/papers>
>
>
> @echo off
> cd %2
> del "%1.out"   >nul
>
> :YesBasis
> If Not Exist "%1.bas" Goto NoBasis
> call c:\cbcBin\cbc -import "%1.lp" -basisI "%1.bas" -sec 3600 -primalS
> -printingOption all -solut "%1.out" -basisO "%1.bas"
> Goto Continue
>
> :NoBasis
> call c:\cbcBin\cbc -import "%1.lp" -sec 1800 -dualS -printingOption all
> -solut "%1.out" -basisO "%1.bas"
>
> :Continue
>
>
>
> @echo off
> cd %2
> del "%1.out"   >nul
>
> If %3 == H GoTo HeuSolve
>
> call c:\cbcBin\cbc -import "%1.lp" -basisI "%1.bas" -maxN 20000 -sec 300
> -cuts off -dualS -solve -printingOption all -solut "%1.out"
> Goto Continue
>
> :HeuSolve
> call c:\cbcBin\cbc -import "%1.lp" -maxN -1 -sec 200 -cuts off -passF 9999
> -dualS -solve -printingOption all -solut "%1.out"
>
> :Continue
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20090108/04add09d/attachment.html 


More information about the Cbc mailing list