[Scip] assert(curparam.intparval[i] == par.intparval[i]); after installing CPLEX 12.3
Stefan Vigerske
stefan at math.hu-berlin.de
Fri Jul 29 10:15:25 MEST 2011
Hi,
something like the following patch should fix it.
I am not sure about the '<=' anymore, maybe it need to be only '<', but
this is what worked for me for the 12.3beta.
It will also be in SCIP 2.0.2.
@@ -3586,8 +3586,10 @@ SCIP_RETCODE SCIPlpiGetIntpar(
break;
case SCIP_LPPAR_LPITLIM:
*ival = getIntParam(lpi, CPX_PARAM_ITLIM);
+#if (CPX_VERSION <= 1230)
if( *ival >= CPX_INT_MAX )
*ival = INT_MAX;
+#endif
break;
case SCIP_LPPAR_THREADS:
#if (CPX_VERSION == 1100 || (CPX_VERSION == 1220 && (CPX_SUBVERSION ==
0 || CPX_SUBVERSION == 2)))
@@ -3683,7 +3685,9 @@ SCIP_RETCODE SCIPlpiSetIntpar(
setIntParam(lpi, CPX_PARAM_SCRIND, CPX_OFF);
break;
case SCIP_LPPAR_LPITLIM:
+#if (CPX_VERSION <= 1230)
ival = MIN(ival, CPX_INT_MAX);
+#endif
setIntParam(lpi, CPX_PARAM_ITLIM, ival);
break;
case SCIP_LPPAR_THREADS:
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Scip
mailing list