<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>Hi Hendrik,<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>Thank you for being interested in CMPL.<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>In Cmpl 1.12 is actually a bug regarding Gurobi. Please copy the files you can download from </span><span style='mso-fareast-language:EN-US'><a href="https://nextcloud.th-wildau.de/nextcloud/index.php/s/Y2S5jWenQAFkT4q"><span lang=EN-GB>https://nextcloud.th-wildau.de/nextcloud/index.php/s/Y2S5jWenQAFkT4q</span></a></span><span lang=en-DE style='mso-fareast-language:EN-US'>  in Cmpl/bin to exchange the existing files.  <o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>For Cplex and Scip you need to edit Cmpl/bin/cmpl.opt. The following works on my system:<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>CbcPath =<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>GlpkPath =  <o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>ScipFileName = scip.exe<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>CplexFileName = \Program Files\IBM\ILOG\CPLEX_Studio1210\cplex\bin\x64_win64\cplex.exe<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>I have copied the scip files into Cmpl/bin (scip.exe, libscip.dll, tbb.dll). Therefore, the Scip entry is only -> scip.exe.<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>With the Gurobi patch and the entries in cmpl.opt, your problem ran without problems on my system.<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>To generate a Free Mps file you need to use the command line argument -fm instead -m. -m is for classical MPS which cannot proceed longer names for columns and rows.<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>Please let me know, whether my hints work for you.<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=en-DE style='mso-fareast-language:EN-US'>Mike<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> Cmpl <cmpl-bounces@coin-or.org> <b>Im Auftrag von </b>Hendrik Titgemeyer<br><b>Gesendet:</b> 24 March 2021 09:02<br><b>An:</b> cmpl@list.coin-or.org<br><b>Betreff:</b> [Cmpl] Problems with other solvers<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span lang=EN-GB>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>I have problems solving a VRPTW with Gurobi, CPLEX, SCIP and GLPK. My goal is to compare these solvers for which reason the CMPL package is perfect. I use the Coliop IDE to create the model and I have already solved the problem with the CBC solver, so it should be feasible.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>When I use Gurobi, the solver can't find the produced mps file and the issue with Cplex is that the solver is called but can't read the produced file. I have an academic license for Gurobi and CPLEX, so that might be a problem, but the other solvers also don't run, even though the path is listed in the file Cmpl/bin/cmpl.opt. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>I've read in the Cmpl Archive that copying the .exe/.dll/.lib files from Gurobi, CPLEX etc. in the Cmpl folder might help, but this is not working as well. I've also read about using the Coliop.bat file, which is not existing in the current 1.12.0 version. Cmpl is installed in <i>Programme (x86)</i>, while the solvers are installed in <i>Programme.</i><o:p></o:p></span></p></div><div><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>A second solution for my problem is to export mps files and solve them manually within Gurobi etc., but the command results in an error, because of the length of a constraint:  cmplShell.bat has the following output<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>"Cmpl: cmpl C:/Dokumente/(...)/Coliop/VRPTW_Vorlage.cmpl -m C:/Dokumente Studium/Bachelorarbeit/Coliop/VRPTW_Vorlage.mps<br>fatal error: file C:/Dokumente/(...)/Coliop/VRPTW_Vorlage.cmpl line 81: Line name 'line[100]' is too long"<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>I hope you can help me with these problems! I attached my file to the mail.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>With kind regards,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>Hendrik<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>In the following are the error messages:<o:p></o:p></span></p></div><div><p class=MsoNormal><b><span lang=EN-GB>Gurobi:</span></b><span lang=EN-GB>  <o:p></o:p></span></p><p style='margin:0cm'><i><span lang=EN-GB>write model instance ...</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>CMPL model generation - finished</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Solver - running</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>"C:/Dokumente/Studium/Bachelorarbeit/Coliop" "0" "C:/Users/Hendrik/AppData/Local/Temp/cmpl.H14308.mps" "C:/Users/Hendrik/AppData/Local/Temp/cmpl.H14308.gsol"</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i>Das System kann den angegebenen Pfad nicht finden.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Error (interfaces): gurobi failed - exit code </span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><b><span lang=EN-GB>CPLEX:</span></b><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>write model instance ...</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>CMPL model generation - finished</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Solver - runningShell</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer Community Edition 12.10.0.0</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>with Simplex, Mixed Integer & Barrier Optimizers</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Copyright IBM Corp. 1988, 2019. All Rights Reserved.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Type 'help' for a list of available commands.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Type 'help' followed by a command name for more</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>information on commands.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>CPLEX> Cannot interpret file type.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>File type options:</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>mps MPS format problem file (...)</span></i><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><i><span lang=EN-GB><br><br></span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm'><i><span lang=EN-GB>File type: No problem exists.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>No file read.</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><b><span lang=EN-GB>SCIP/GLPK:</span></b><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>write model instance ...</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>CMPL model generation - finished</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Solver - running</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><i><span lang=EN-GB>Error (interfaces): can not connect the solver: SCIP ->C:/Programme/SCIPOptSuite 7.0.1/bin/scip.exe</span></i><span lang=EN-GB><o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p><p style='margin:0cm;white-space:pre-wrap'><span lang=EN-GB><o:p> </o:p></span></p></div></div></div></body></html>