[Dip] examples no longer working

Matthew Galati matthew.galati at gmail.com
Thu Jan 20 07:29:14 EST 2011


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
>
> On Sun, Jan 16, 2011 at 5:54 AM, Ted Ralphs <ted at lehigh.edu> wrote:
>
>> I just made a new release 0.81.3 that has all the recent fixes.
>>
>> Cheers,
>>
>> Ted
>>
>> On Tue, Jan 11, 2011 at 1:06 PM, Matthew Galati
>> <matthew.galati at gmail.com> wrote:
>> > Hi Kim --
>> > This should be fixed now at trunk. It was some issue with the build
>> system.
>> > Let me know if you see any more issues.
>> > Thanks,
>> > Matt
>> >
>> >
>> > On Sun, Jan 9, 2011 at 8:33 AM, kim <kim at hamilton-vejlin.dk> wrote:
>> >>
>> >> For the newer versions of DIP ("0.81.1", "0.81.2" and "trunk") I can no
>> >> longer get the examples to work.
>> >>
>> >> After installation, when I run examples they return simply:
>> >> "Alps0240I Processed 0 nodes, has 0 nodes, best relaxed 1e+75, best
>> >> feasible 1e+75
>> >>
>> >> Alps0202I Problem is infeasible. 1 nodes processed, 0 nodes left
>> >> Alps0264I No solution found
>> >> "
>> >>
>> >> This is the output from "make test" after installation as well as the
>> >> "MILP" and "MILPBlock" examples. I cannot get "GAP" and "MMKP" to
>> >> compile at all.
>> >>
>> >> My install sequence, in case I'm doing something wrong:
>> >> 1) svn checkout https://projects.coin-or.org/svn/Dip/releases/0.81.2
>> >> Dip-0.81.2
>> >> 2) cd Dip-0.81.2
>> >> 3) mkdir build
>> >> 4) cd build
>> >> 5) ../configure
>> >> 6) make
>> >> 7) make install
>> >> 8) make test (this is the first time an example unexpectedly returns
>> >> "no
>> >> feasible solution")
>> >> 9) cd Dip/examples/MILPBlock
>> >> 10) sh data_extract.sh
>> >> 11) make
>> >> 12) ./decomp_milpblock --param milpblock.parm (this too gives a "no
>> >> solution" result)
>> >>
>> >> I have since tried with different instances and with different examples
>> >> with the same result.
>> >>
>> >> - Kim, University of Copenhagen
>> >>
>> >>
>> >> _______________________________________________
>> >> Dip mailing list
>> >> Dip at list.coin-or.org
>> >> http://list.coin-or.org/mailman/listinfo/dip
>> >
>> >
>> > _______________________________________________
>> > 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
>>
>> _______________________________________________
>> Dip mailing list
>> Dip at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/dip
>>
>

-- 
Sent from my mobile device



More information about the Dip mailing list