[Dip] Alternative solver for subproblems

Ted Ralphs ted at lehigh.edu
Thu Dec 23 18:47:56 EST 2010


The config.site is for builds using the autotools in *nix
environments. To use CPLEX in DIP with MSVC++, you would have to
manually add

-D__DECOMP_IP_CPX__ -D__DECOMP_LP_CPX__

to the compiler defines and also add the CPLEX library as a
dependency. If you're not familiar with how to do either one of these
steps, post more information about which version of MSVC++ you're
using and I can be more specific.

Cheers,

Ted

On Thu, Dec 23, 2010 at 8:36 PM, Jonas Christoffer Villumsen
<jcvi at man.dtu.dk> wrote:
> Thanks, Matthew!
>
>
>
> I forgot to mention that I am using MS Visual Studio.  Is it essentially the
> same procedure with a config.site file?  And, how can I check which solver
> is actually used by DIP?
>
>
>
> Best regards and happy holidays,
>
> Jonas
>
>
>
> From: Matthew Galati [mailto:Matthew.Galati at sas.com]
> Sent: 22. december 2010 16:48
> To: Jonas Christoffer Villumsen; dip at list.coin-or.org
> Subject: RE: Alternative solver for subproblems
>
>
>
> When you configure, you need to set the options for the LP and/or IP solver
> as well as the location of cplex inc and lib dirs.
>
>
>
> I do it with a configuration file and have this:
>
>   export CONFIG_SITE=$HOME/config.site-COIN
>
> in my startup script (.bashrc).
>
>
>
> Here is my config file for running at Lehigh:
>
> # COIN config.site file for common autotools settings
>
> #use CPLEX
>
> with_lp_solver=cplex
>
> with_ip_solver=cplex
>
>
>
> #location of CPLEX
>
> with_cplex_incdir="/usr/local/cplex/include/ilcplex"
>
> with_cplex_lib="-L/usr/local/cplex/lib/x86-64_debian4.0_4.1/static_pic
> -lcplex -lpthread"
>
>
>
>
>
>
>
> From: dip-bounces at list.coin-or.org [mailto:dip-bounces at list.coin-or.org] On
> Behalf Of Jonas Christoffer Villumsen
> Sent: Wednesday, December 22, 2010 10:25 AM
> To: dip at list.coin-or.org
> Subject: [Dip] Alternative solver for subproblems
>
>
>
> Hi all,
>
>
>
> Could anyone give me a hint on how to set up DIP to use CPLEX for solving
> integer subproblems?
>
> It seems that the OSI-Cplex solver interface is not included in the DIP
> project.
>
>
>
> (I am new to COIN-OR and DIP).
>
>
>
> Any help is much appreciated.
>
>
>
> Best regards,
>
> Jonas
>
> _______________________________________________
> Dip mailing list
> Dip at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/dip
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted




More information about the Dip mailing list