<div dir="ltr"><div>Hi Patrick,</div><div><br></div><div>First, thanks for taking the time to make the Docker image. I've meant to make the effort to learn a bit about Docker and this gives me a way to dive in. As a side comment, the documentation you are referring to is for a different version than you're using, though this is not the reason you're having trouble. </div><div><br></div><div>Looking at the commands in your docker file, they are exactly correct as far as I can see. I can try to replicate everything here locally, but on the face of it, I really don't see why you're getting the error. If it would be easy to send me the config.log file from the SYMPHONY subdirectory and perhaps even the output from the script off-line, I could probably spot the trouble. Perhaps the get.Glpk script is failing but not returning an error code so that the build still goes through? I have had trouble running that script on some platforms due to github certificate issues. I will try to replicate your steps and see what I can find out.</div><div><br></div><div>As an aside, depending on what you're really trying to do, I may be able to recommend better options for using SYMPHONY (and/or other open source solvers) with AMPL. Reading the AMPL model directly with SYMPHONY has some shortcomings when it comes to getting solutions back out and doing post-solution analysis. There are a number of other options, such as building the AMPL client included in the Optimization Services project (<a href="http://projects.coin-or.org/OS" target="_blank">projects.coin-or.org/OS</a>), which wraps SYMPHONY and a number of other solvers and can be called from AMPL in the standard way. </div><div><br></div><div>Building OS is exactly like building SYMPHONY. To build the AMPL client, you would need to run the get.ASL script instead of the get.Glpk script, however. If you want to pursue that option, OS has extensive documentation and examples or I can point you to some places that specifically describe how to use the AMPL client.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 22, 2015 at 6:37 PM, Patrick Wieschollek <span dir="ltr"><<a href="mailto:patrick@wieschollek.info" target="_blank">patrick@wieschollek.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I hope this is the correct way to get in contact. </div><div><br></div><div>The documentation does not cover how to use symphony to solve models from AMPL, although there are some flags to call symphony with a AMPL model file.</div><div><br></div><div>To make the problem reproducible I created a docker-image:</div><div><a href="https://github.com/PatWie/symphony-docker" target="_blank">https://github.com/PatWie/symphony-docker</a><br></div><div><br></div>which contains all steps from<div><a href="http://www.coin-or.org/SYMPHONY/man-5.1/node19.html" target="_blank">http://www.coin-or.org/SYMPHONY/man-5.1/node19.html</a></div><div><br></div><div>(See <a href="https://github.com/PatWie/symphony-docker/blob/master/image/Dockerfile" target="_blank">https://github.com/PatWie/symphony-docker/blob/master/image/Dockerfile</a>)</div><div><br></div><div>However, I have the issue when calling</div><div>"/var/symphony/bin/symphony -F /var/symphony/SYMPHONY/Datasets/sample.mod -D /var/symphony/SYMPHONY/Datasets/sample.dat"</div><div><br></div>to get<div>"<br><div><div>Reading input file...</div><div><br></div><div>ERROR: SYMPHONY can only read GMPL/AMPL files if GLPK is </div><div>installed and the USE_GLPMPL compiler define is set. </div><div>Exiting.</div></div></div><div><br></div><div>"</div><div><br></div><div>What are the missing steps?</div>
<br>_______________________________________________<br>
Symphony mailing list<br>
<a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/symphony" rel="noreferrer" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:12.8000001907349px">Dr. Ted Ralphs</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Professor, Lehigh University</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">(610) 628-1280</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">ted 'at' lehigh 'dot' edu</span><br style="font-size:12.8000001907349px"><a href="http://coral.ie.lehigh.edu/~ted" style="font-size:12.8000001907349px" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div>
</div>