<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 1:44 PM, John Forrest <span dir="ltr">&lt;<a href="mailto:john.forrest@fastercoin.com" target="_blank">john.forrest@fastercoin.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Pietro,<br>
<br>
If you can do something like this (in linux) would that work?<br>
<br>
cat test.lp |bin/cbc -import stdin_lp -solve<br><div class="im"></div></blockquote><div><br>I thought it used to be that the filename &quot;-&quot; *or something similar meant that the file should be read from stdin. Am I mis-remembering?<br>

 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Welcome to the CBC MILP Solver<br>
<br></div>
command line - bin/cbc -import stdin_lp -solve (default strategy 1)<br>
Continuous objective value is 3.23684 - 0.00 seconds<br>
Cgl0004I processed model has 1 rows, 3 columns (0 integer) and 3 elements<br>
Cbc3007W No integer variables - nothing to do<br>
<br>
I have committed fixes to trunk - key thing is to import from stdin_lp (exact spelling needed)<br>
<br>
Does anyone know how to get GMPL working on Windows?<span class="HOEnZb"><font color="#888888"></font></span><br></blockquote><div><br>I got it working once a long time ago. It was fairly straightforward using GLPK&#39;s Visual Studio project. The only tricky part is that you have to set a few compiler defines by hand in the CBC Visual Studio file. I can try to replicate, but not in the very near future.<br>

<br>Unfortunately, we cannot distribute binaries with GMPL built in because of licensing issues (basically because GLPK is licensed under the GPL). A while back, I put a modest effort into getting an exception for COIN codes to link to GLPK, but it didn&#39;t go anywhere.<br>

<br>Ted<br><br></div></div>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>