<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hello Geoffrey,</div><div><br></div><div>Could you send the Cmpl model and the CmplData file directly to me (<a href="mailto:mike.steglich@th-wildau.de">mike.steglich@th-wildau.de</a>)?</div><div><br></div><div>I will test it Monday (I am busy the entire weekend).</div><div><br></div><div>Cheers,</div><div><br></div><div>Mike</div><div><br></div><div><br></div><div><br>Am 25.08.2018 um 02:09 schrieb Geoffrey Glangine <<a href="mailto:geoffrey.glangine@gmail.com">geoffrey.glangine@gmail.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Hello, <br></div><div><br></div><div>I've to work with CMPL for my resarch, and I have created a CMPL model and I tried it with coliop4, It is working well. But now, I'm trying to use Jcmpl to run my model on a cmpl server but the model isn't working. <br></div><div><br></div><div>there is my code : <br></div><div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"Fira Code""><span style="color:rgb(204,120,50)">try </span>{<br>    Cmpl m = <span style="color:rgb(204,120,50)">new </span>Cmpl(<span style="color:rgb(106,135,89)">"/tmp/Recipe.cmpl"</span>)<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)">    </span>m.connect(<span style="color:rgb(106,135,89)">"<a href="http://127.0.0.1:4000" target="_blank">http://127.0.0.1:4000</a>"</span>)<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)">    </span>m.solve()<span style="color:rgb(204,120,50)">;<br></span><span style="color:rgb(204,120,50)">    return </span>String.<span style="font-style:italic">valueOf</span>(m.solution().value())<span style="color:rgb(204,120,50)">;<br></span>} <span style="color:rgb(204,120,50)">catch </span>(CmplException e) {<br>    e.printStackTrace()<span style="color:rgb(204,120,50)">;<br></span>}</pre>  <br></div><div>I use a cmpl .cdat file called Recipe.cdat and it seems to be linked correctly.</div><div><br></div><div>There is the error displayed : <br></div><div><br></div><div>jCmpl error: CmplServer error : org.apache.xmlrpc.XmlRpcException: <type 'exceptions.TypeError'>:coercing to Unicode: need string or buffer, exceptions.IOError found<br>    at jCMPL.Cmpl.solve(Cmpl.java:872)</div><div><br></div><div>Do you know what I have to do to make this working?</div><div><br></div><div>I didn't make any modifications between the working model and the Jcmpl one, it is the same! <br></div><div><br></div><div>thanks you all ! </div><div><br></div><div> <br></div><div><br></div><div> <br></div><div>-- <br><div dir="ltr" class="gmail-m_1990402477078171693gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#888888"><div>
        <div>
<br><b>address </b>:<br>    <span><font color="#888888">Glangine Geoffrey<br></font></span></div><div>    Canada,<br></div><br><div><br>
</div>


    </div></font></div></div></div></div></div></div></div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Cmpl mailing list</span><br><span><a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a></span><br><span><a href="https://list.coin-or.org/mailman/listinfo/cmpl">https://list.coin-or.org/mailman/listinfo/cmpl</a></span></div></blockquote></body></html>