There is a new release 0.82.1 with these fixes.<br><br>Cheers,<br><br>Ted<br><br><div class="gmail_quote">On Tue, Aug 23, 2011 at 4:25 PM, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt;</span> wrote:<br>

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

<br>