thanks to everybody, i'll try it soon ;)<br>
<br>
Dave<br><br><br><br><div class="gmail_quote">2009/1/7 Matteo Fischetti DEI <span dir="ltr"><<a href="mailto:m.fischetti@gmail.com">m.fischetti@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Dear Davide,<br>
<br>
enclosed are two batch files I use under Win, e.g. <br>
<br>
c:>MIP \usr\MIPtest\problem C: H <br>
<br>
I hope this will help you in finding the right options to use--to see a
short documentation, write<br>
<br>
cbc<br>
?<br>
pumpT??<br>
passF??<br>
dualS??<br>
slog??<br>
cutoff??<br>
<br>
In my batch files I use .lp, but you can put .mps if you like.<br>
<br>
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).<br>
<br>
--Matteo--<br>
<br>
p.s. I suggest you use the latest stable 2.2 version (vers. 2.00 had
some problems).<br>
<br>
<br>
<br>
Davide Vitelli ha scritto:
<blockquote type="cite"><div><div></div><div class="Wj3C7c">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!)<br>
<br>
How can I let coin-or cbc 2.00 write down the solution of a lp on a
file? <br>
<br>
i wrote:<br>
<br>
cbc filename.mps<br>
<br>
<br>
but it reports only informations.. thanks! ;)<br>
<br>
DaVe<br>
<br>
</div></div><pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
Cbc mailing list
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a>
</div></pre>
</blockquote>
<br>
<pre cols="72">--
Prof. Matteo Fischetti
DEI, University of Padova
via Gradenigo 6/A
I-35131 Padova (Italy)
e-mail: <a href="mailto:matteo.fischetti@unipd.it" target="_blank">matteo.fischetti@unipd.it</a>
web: <a href="http://www.dei.unipd.it/%7Efisch" target="_blank">www.dei.unipd.it/~fisch</a>
reports: <a href="http://www.dei.unipd.it/%7Efisch/papers" target="_blank">www.dei.unipd.it/~fisch/papers</a></pre>
</div>
<br>@echo off<br>
cd %2<br>
del "%1.out" >nul<br>
<br>
:YesBasis<br>
If Not Exist "%1.bas" Goto NoBasis<br>
call c:\cbcBin\cbc -import "%1.lp" -basisI "%1.bas" -sec 3600 -primalS -printingOption all -solut "%1.out" -basisO "%1.bas"<br>
Goto Continue<br>
<br>
:NoBasis<br>
call c:\cbcBin\cbc -import "%1.lp" -sec 1800 -dualS -printingOption all -solut "%1.out" -basisO "%1.bas"<br>
<br>
:Continue<br>
<br>
<br>
<br>@echo off<br>
cd %2<br>
del "%1.out" >nul<br>
<br>
If %3 == H GoTo HeuSolve<br>
<br>
call c:\cbcBin\cbc -import "%1.lp" -basisI "%1.bas" -maxN 20000 -sec 300 -cuts off -dualS -solve -printingOption all -solut "%1.out"<br>
Goto Continue<br>
<br>
:HeuSolve<br>
call c:\cbcBin\cbc -import "%1.lp" -maxN -1 -sec 200 -cuts off -passF 9999 -dualS -solve -printingOption all -solut "%1.out"<br>
<br>
:Continue<br>
<br>
<br></blockquote></div><br>