<div dir="ltr"><div class="gmail_quote"><br>Dear Bruce,<br><div dir="ltr"><div>Some time ago I also did some quadratic programming with lemon and cplex. Lemon does not provide interface for that (because it tries to hide the differences between different solver engines), so the way I could do it was that I modified the lemon code so that the cplex lp object becomes public, and then I can directly use cplex commands. I tried to find examples, but I have not found them any more, sorry.</div>
<div>I hope this helped.</div><div>Attila</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/19 bruce.loski <span dir="ltr"><<a href="mailto:bruce.loski@gmail.com" target="_blank">bruce.loski@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,Dear All,<div>1.I installed the latest development version of lemon(<a href="https://lemon.cs.elte.hu/hg/lemon-main/" style="font-family:arial,sans-serif;font-size:14px" target="_blank">https://lemon.cs.elte.hu/hg/lemon-main/</a>),followed the installation guides on <a href="https://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux" style="font-family:arial,sans-serif;font-size:14px" target="_blank">https://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux</a>.However,errors occur during the "make check",Here is the output:</div>
<div><br></div><div><div>[ 60%] Building CXX object test/CMakeFiles/mip_test.dir/mip_test.cc.o</div></div><div><div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:36:17: error: ‘lemon’ is not a namespace-name</div>
<div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:36:22: error: expected namespace-name before ‘;’ token</div><div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:38:20: error: variable or field ‘solveAndCheck’ declared void</div>
<div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:38:20: error: ‘MipSolver’ was not declared in this scope</div><div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:38:31: error: ‘mip’ was not declared in this scope</div>
<div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:38:36: error: ‘MipSolver’ has not been declared</div><div style="font-family:arial,sans-serif;font-size:14px">lemon-main-490d89913a17/test/mip_test.cc:39:20: error: expected primary-expression before ‘double’</div>
<div style="font-family:arial,sans-serif;font-size:14px">make[3]: *** [test/CMakeFiles/mip_test.dir/mip_test.cc.o] Error 1</div><div style="font-family:arial,sans-serif;font-size:14px">make[2]: *** [test/CMakeFiles/mip_test.dir/all] Error 2</div>
<div style="font-family:arial,sans-serif;font-size:14px">make[1]: *** [CMakeFiles/check.dir/rule] Error 2</div><div style="font-family:arial,sans-serif;font-size:14px">make: *** [check] Error 2</div></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px">2.I am now using lemon to do some quadratic programming on network.I have to use cplex since there is no support of quadratic programming in glpk.Are there any interfaces in lemon for using quadratic programming of cplex?</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">Thanks for your help in advance.</div><div style="font-family:arial,sans-serif;font-size:14px"><br>
</div><div style="font-family:arial,sans-serif;font-size:14px">Best Regards,</div><div style="font-family:arial,sans-serif;font-size:14px">bruce.loski</div>
</div>
<br></div></div>_______________________________________________<br>
Lemon-user mailing list<br>
<a href="mailto:Lemon-user@lemon.cs.elte.hu" target="_blank">Lemon-user@lemon.cs.elte.hu</a><br>
<a href="http://lemon.cs.elte.hu/mailman/listinfo/lemon-user" target="_blank">http://lemon.cs.elte.hu/mailman/listinfo/lemon-user</a><br>
<br></blockquote></div><br></div>
</div><br></div>