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