<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;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        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 attached files  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 lang=EN-GB 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>Hi,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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></p></div><div><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p></div><div><p class=MsoNormal>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></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>"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></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I hope you can help me with these problems! I attached my file to the mail.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>With kind regards,<o:p></o:p></p></div><div><p class=MsoNormal>Hendrik<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>In the following are the error messages:<o:p></o:p></p></div><div><p class=MsoNormal><b>Gurobi:</b>  <o:p></o:p></p><p style='margin:0cm'><i>write model instance ...</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>CMPL model generation - finished</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Solver - running</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>"C:/Dokumente/Studium/Bachelorarbeit/Coliop" "0" "C:/Users/Hendrik/AppData/Local/Temp/cmpl.H14308.mps" "C:/Users/Hendrik/AppData/Local/Temp/cmpl.H14308.gsol"</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></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>Error (interfaces): gurobi failed - exit code </i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><b>CPLEX:</b><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>write model instance ...</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>CMPL model generation - finished</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Solver - runningShell</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer Community Edition 12.10.0.0</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>with Simplex, Mixed Integer & Barrier Optimizers</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Copyright IBM Corp. 1988, 2019. All Rights Reserved.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Type 'help' for a list of available commands.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Type 'help' followed by a command name for more</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>information on commands.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>CPLEX> Cannot interpret file type.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>File type options:</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>mps MPS format problem file (...)</i><o:p></o:p></p><p class=MsoNormal><i><br><br></i><o:p></o:p></p><p style='margin:0cm'><i>File type: No problem exists.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>No file read.</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><b>SCIP/GLPK:</b><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>write model instance ...</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>CMPL model generation - finished</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Solver - running</i><o:p></o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><i>Error (interfaces): can not connect the solver: SCIP ->C:/Programme/SCIPOptSuite 7.0.1/bin/scip.exe</i><o:p></o:p></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;white-space:pre-wrap'><o:p> </o:p></p><p style='margin:0cm;white-space:pre-wrap'><o:p> </o:p></p></div></div></div></body></html>