[Dip] examples no longer working

Matthew Galati matthew.galati at gmail.com
Mon Jan 24 15:21:39 EST 2011


Hi David,

There were some issues with the build scripts for TSP. I committed a fix to
trunk. Take a look and let me know if it works.

It now works fine for me on Linux.

Thanks,
Matt




On Thu, Jan 20, 2011 at 7:29 AM, Matthew Galati <matthew.galati at gmail.com>wrote:

> I don't know about cygwin and cplex. I assume it should be fine if
> they provide the lib.
>
> I will check on these examples and get back to you.
>
>
> On 1/20/11, Lai, Shu-Wo, David <laishuwo at gmail.com> wrote:
> > Hi Ted,
> >
> > First, is it possible to use CPLEX under Cgywin environment?
> > Second, when I build the TSP and VRP examples as follows.(in Cgywin )
> > sh get_boost.sh
> > sh get_concorde.sh
> > sh get_cvrpsep.sh
> > make
> >
> > the following error appears in making the TSP, similar error also appears
> > when I make the VRP.
> > Thanks a lot.
> >
> > ------------------
> > ../../../../Dip/examples/TSP/TSP_Concorde.h: In member function `int
> > TSP_Concord
> > e::generateCutsSubtour(std::vector<ConcordeSubtourCut,
> > std::allocator<ConcordeSu
> > btourCut> >&)':
> > ../../../../Dip/examples/TSP/TSP_Concorde.h:98: warning: unused variable
> > `retCod
> > e'
> > bla=;\
> >         for file in TSP_DecompApp.o TSP_CutGen.o TSP_SubtourCut.o
> > TSP_Main.o; do
> >  bla="$bla `cygpath -w $file`"; done; \
> >         g++  -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses
> > -Wretu
> > rn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> > -Wno-unkn
> > own-pragmas   -o decomp_tsp.exe $bla
> > `PKG_CONFIG_PATH=/cygdrive/d/DIP/Dip-0.81.3
> > /build/lib/pkgconfig: /usr/bin/pkg-config --libs dip`
> > TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x103b): undefined reference to
> > `_CCtsp_exact
> > _subtours'
> > TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x140c): undefined reference to
> > `_CCtsp_free_
> > lpcut_in'
> > collect2: ld returned 1 exit status
> > make: *** [decomp_tsp.exe] Error 1
> >
> > Cheers,
> > David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/dip/attachments/20110124/8c9ab81d/attachment.html 


More information about the Dip mailing list