[Dip] issues with Dip-0.82.0

Ted Ralphs ted at lehigh.edu
Thu Aug 25 19:15:56 EDT 2011


There is a new release 0.82.1 with these fixes.

Cheers,

Ted

On Tue, Aug 23, 2011 at 4:25 PM, Ted Ralphs <ted at lehigh.edu> wrote:

> OK, thanks. I'll fix that and also add config_default.h to the
> project. This way of doing the header files is relatively new so we
> are still working out the kinks.
>
> Cheers,
>
> Ted
>
> On Tue, Aug 23, 2011 at 4:15 PM, Shahin Gelareh
> <shahin.gelareh at gmail.com> wrote:
> > Thanks Ted for your comments.
> > After replacing cplex for the existing ones in "config_default.h":
> > //#define __DECOMP_LP_CLP__
> > //#define __DECOMP_IP_CBC__
> >
> > #define __DECOMP_LP_CPX__
> > #define __DECOMP_IP_CPX__
> >
> > My VS2010 compiler still gives me error and the error seems to be at
> > #if defined(__DECOMP_IP_CPX__)||(__DECOMP_LP_CPX__) in "DecompAlgo.cpp"
> >
> > I passed by this error by changing it to:
> >
> > #if defined(__DECOMP_IP_CPX__)||defined (__DECOMP_LP_CPX__) in
> > "DecompAlgo.cpp"
> >
> >
> > Cheers,
> >
> >
> > On Tue, Aug 23, 2011 at 7:51 PM, Ted Ralphs <ted at lehigh.edu> wrote:
> >>
> >> When not using autoconf (with the MSVC++ IDE, for example), there is a
> >> file "config_default.h" that gets included instead of the
> >> configuration header automatically generated by autoconf. It contains
> >> all of the settings that would normally get set by autoconf, but must
> >> be edited by hand. It should be enough to change the preprocessors
> >> symbols there. At least that is the intended design, so please let us
> >> know if it doesn't work.
> >>
> >> Cheers,
> >>
> >> Ted
> >>
> >> On Sat, Aug 20, 2011 at 3:39 PM, Shahin Gelareh
> >> <shahin.gelareh at gmail.com> wrote:
> >> > Thank you indeed, Ted,
> >> > I must be more precise next time. I was talking about the VS10 project
> >> > files
> >> > in windows.
> >> > The linux setup is perfect.
> >> >
> >> > Well for me it works by undefining the CBC and CLP in Decomph.h and
> >> > defiling
> >> > cplex for IP and LP in preprocessors list.
> >> >
> >> >
> >> > regards,
> >> > Shahin
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Sat, Aug 20, 2011 at 9:32 PM, Ted Ralphs <ted at lehigh.edu> wrote:
> >> >>
> >> >> On Sat, Aug 20, 2011 at 3:21 PM, Matthew Galati
> >> >> <matthew.galati at gmail.com> wrote:
> >> >>
> >> >> > You should use the configuration options to switch the LP and IP
> >> >> > solver.
> >> >> >
> >> >> > For example...I use a configuration file that contains the
> following
> >> >> > to
> >> >> > switch to CPLEX:
> >> >> >
> >> >> >
> >> >> > #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_sles10_4.1/static_pic
> >> >> > -lcplex
> >> >> > -lpthread"
> >> >>
> >> >> Just to clarify, this means to either give these option to configure
> >> >> on the command line:
> >> >>
> >> >> ./configure --with-lp-solver=cplex ...
> >> >>
> >> >> or else put the lines above in a file called share/config.site, which
> >> >> will add them to the configure command line automatically, as
> >> >> described here:
> >> >>
> >> >> http://www.gnu.org/s/hello/manual/automake/config_002esite.html
> >> >>
> >> >> If you want to build in several configurations from the same source
> >> >> code, I suggest using a VPATH build, which means to make a
> >> >> subdirectory and run configure from there.
> >> >>
> >> >> mkdir build-cbc
> >> >> cd build-cbc
> >> >> ../configure
> >> >> make
> >> >> make install
> >> >>
> >> >> You can then build with another solver in another subdirectory
> without
> >> >> over-writing the first installation:
> >> >>
> >> >> mkdir build-cplex
> >> >> cd build-cplex
> >> >> ../configure
> >> >> make
> >> >> make install
> >> >>
> >> >> Cheers,
> >> >>
> >> >> Ted
> >> >> --
> >> >> Dr. Ted Ralphs
> >> >> Associate Professor, Lehigh University
> >> >> (610) 628-1280
> >> >> ted 'at' lehigh 'dot' edu
> >> >> coral.ie.lehigh.edu/~ted <http://coral.ie.lehigh.edu/%7Eted>
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Dr. Ted Ralphs
> >> Associate Professor, Lehigh University
> >> (610) 628-1280
> >> ted 'at' lehigh 'dot' edu
> >> coral.ie.lehigh.edu/~ted <http://coral.ie.lehigh.edu/%7Eted>
> >
> >
>
>
>
> --
> Dr. Ted Ralphs
> Associate Professor, Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted <http://coral.ie.lehigh.edu/%7Eted>
>



-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted <http://coral.ie.lehigh.edu/%7Eted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/dip/attachments/20110825/5528c75a/attachment.html 


More information about the Dip mailing list