[Lemon-user] Fwd: About lemon cplex installation and quadratic programming
Attila Bernáth
bernath.athos at gmail.com
Mon Jul 22 11:38:19 CEST 2013
Dear Bruce,
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.
I hope this helped.
Attila
2013/7/19 bruce.loski <bruce.loski at gmail.com>
> Hi,Dear All,
> 1.I installed the latest development version of lemon(
> https://lemon.cs.elte.hu/hg/lemon-main/),followed the installation guides
> on https://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux.However,errors
> occur during the "make check",Here is the output:
>
> [ 60%] Building CXX object test/CMakeFiles/mip_test.dir/mip_test.cc.o
> lemon-main-490d89913a17/test/mip_test.cc:36:17: error: ‘lemon’ is not a
> namespace-name
> lemon-main-490d89913a17/test/mip_test.cc:36:22: error: expected
> namespace-name before ‘;’ token
> lemon-main-490d89913a17/test/mip_test.cc:38:20: error: variable or field
> ‘solveAndCheck’ declared void
> lemon-main-490d89913a17/test/mip_test.cc:38:20: error: ‘MipSolver’ was not
> declared in this scope
> lemon-main-490d89913a17/test/mip_test.cc:38:31: error: ‘mip’ was not
> declared in this scope
> lemon-main-490d89913a17/test/mip_test.cc:38:36: error: ‘MipSolver’ has not
> been declared
> lemon-main-490d89913a17/test/mip_test.cc:39:20: error: expected
> primary-expression before ‘double’
> make[3]: *** [test/CMakeFiles/mip_test.dir/mip_test.cc.o] Error 1
> make[2]: *** [test/CMakeFiles/mip_test.dir/all] Error 2
> make[1]: *** [CMakeFiles/check.dir/rule] Error 2
> make: *** [check] Error 2
>
> 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?
>
> Thanks for your help in advance.
>
> Best Regards,
> bruce.loski
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20130722/5a9c43b4/attachment.html>
More information about the Lemon-user
mailing list