<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">1) inline std::string & UtilStrToLower(std::string & s) does not seem portable and I would replace this and UtilStrToUpper with:<br>
inline std::string & UtilStrToLower(std::string & s) {<br>
// Purify did not like this version:<br> // transform (s.begin(), s.end(), s.begin(), myToLower());<br> if(s.size() == 0)<br> return s;<br> std::transform(s.begin(), s.end(), s.begin(),std::ptr_fun<int,int>(std::tolower));<br>
<br> return s;<br>}<br></blockquote><div><br><br>Thanks. I will consider the change. Can you tell me which platform/compiler the current code is not portable for?<br><br><br><br> <br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>2) setting __DECOMP_LP_CPX__;__DECOMP_IP_CPX__; in the preprocessor does not seem to be enough not enough for making use of cplex instead of cbc and clp<br>because __DECOMP_IP_CBC__ and __DECOMP_LP_CLP__ while not appearing in the list of preprocessors are the default solvers and introducing cplex related preps leads to redefinitions. <br>
</blockquote><div><br>You should use the configuration options to switch the LP and IP solver.<br><br>For example...I use a configuration file that contains the following to switch to CPLEX:<br><br><br>#use CPLEX<br>with_lp_solver=cplex<br>
with_ip_solver=cplex<br><br>#location of CPLEX<br>with_cplex_incdir="/usr/local/cplex/include/ilcplex"<br>with_cplex_lib="-L/usr/local/cplex/lib/x86-64_sles10_4.1/static_pic -lcplex -lpthread"<br><br><br>
<br></div></div>