29 #if defined(_WIN32) || defined(_WIN64) 53 assert(param !=
NULL);
65 assert(param !=
NULL);
69 SCIPerrorMessage(
"parameter <%s> is fixed and cannot be changed. Unfix it to allow changing the value.\n", param->
name);
84 assert(param !=
NULL);
89 SCIPerrorMessage(
"Invalid value <%d> for bool parameter <%s>. Must be <0> (FALSE) or <1> (TRUE).\n", value, param->
name);
104 assert(param !=
NULL);
109 SCIPerrorMessage(
"Invalid value <%d> for int parameter <%s>. Must be in range [%d,%d].\n",
125 assert(param !=
NULL);
130 SCIPerrorMessage(
"Invalid value <%" SCIP_LONGINT_FORMAT
"> for longint parameter <%s>. Must be in range [%" SCIP_LONGINT_FORMAT
",%" SCIP_LONGINT_FORMAT
"].\n",
146 assert(param !=
NULL);
151 SCIPerrorMessage(
"Invalid value <%.15g> for real parameter <%s>. Must be in range [%.15g,%.15g].\n",
167 assert(param !=
NULL);
170 if( value ==
'\b' || value ==
'\f' || value ==
'\n' || value ==
'\r' || value ==
'\v' )
181 while( *c !=
'\0' && *c != value )
186 SCIPerrorMessage(
"Invalid value <%c> for char parameter <%s>. Must be in set {%s}.\n",
205 assert(param !=
NULL);
214 for( i = 0; i < (
unsigned int) strlen(value); ++i )
216 if( value[i] ==
'\b' || value[i] ==
'\f' || value[i] ==
'\n' || value[i] ==
'\r' || value[i] ==
'\v' )
218 SCIPerrorMessage(
"Invalid character <%x> in string parameter <%s> at position %d.\n", (
int)value[i], param->
name, i);
236 assert(param !=
NULL);
249 SCIPmessageFPrintInfo(messagehdlr, file,
"# [type: bool, advanced: %s, range: {TRUE,FALSE}, default: %s]\n",
254 SCIPmessageFPrintInfo(messagehdlr, file,
"# [type: int, advanced: %s, range: [%d,%d], default: %d]\n",
259 SCIPmessageFPrintInfo(messagehdlr, file,
"# [type: longint, advanced: %s, range: [%" SCIP_LONGINT_FORMAT
",%" SCIP_LONGINT_FORMAT
"], default: %" SCIP_LONGINT_FORMAT
"]\n",
264 SCIPmessageFPrintInfo(messagehdlr, file,
"# [type: real, advanced: %s, range: [%.15g,%.15g], default: %.15g]\n",
344 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
380 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
416 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
452 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
488 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
515 assert(sourceparam !=
NULL);
516 assert(targetparam !=
NULL);
536 assert(sourceparam !=
NULL);
537 assert(targetparam !=
NULL);
557 assert(sourceparam !=
NULL);
558 assert(targetparam !=
NULL);
578 assert(sourceparam !=
NULL);
579 assert(targetparam !=
NULL);
599 assert(sourceparam !=
NULL);
600 assert(targetparam !=
NULL);
620 assert(sourceparam !=
NULL);
621 assert(targetparam !=
NULL);
635 assert(param !=
NULL);
645 assert(param !=
NULL);
655 assert(param !=
NULL);
665 assert(param !=
NULL);
675 assert(param !=
NULL);
685 assert(param !=
NULL);
695 assert(param !=
NULL);
709 assert(param !=
NULL);
720 assert(param !=
NULL);
734 assert(param !=
NULL);
745 assert(param !=
NULL);
756 assert(param !=
NULL);
767 assert(param !=
NULL);
781 assert(param !=
NULL);
792 assert(param !=
NULL);
803 assert(param !=
NULL);
814 assert(param !=
NULL);
828 assert(param !=
NULL);
839 assert(param !=
NULL);
850 assert(param !=
NULL);
861 assert(param !=
NULL);
875 assert(param !=
NULL);
886 assert(param !=
NULL);
897 assert(param !=
NULL);
911 assert(param !=
NULL);
922 assert(param !=
NULL);
963 assert(param !=
NULL);
964 assert(name !=
NULL);
965 assert(desc !=
NULL);
972 (*param)->paramchgd = paramchgd;
973 (*param)->paramdata = paramdata;
974 (*param)->isadvanced = isadvanced;
975 (*param)->isfixed =
FALSE;
995 assert(param !=
NULL);
996 assert(name !=
NULL);
1001 (*param)->data.boolparam.valueptr = valueptr;
1002 (*param)->data.boolparam.defaultvalue = defaultvalue;
1026 assert(param !=
NULL);
1027 assert(name !=
NULL);
1032 (*param)->data.intparam.valueptr = valueptr;
1033 (*param)->data.intparam.defaultvalue = defaultvalue;
1034 (*param)->data.intparam.minvalue = minvalue;
1035 (*param)->data.intparam.maxvalue = maxvalue;
1059 assert(param !=
NULL);
1060 assert(name !=
NULL);
1065 (*param)->data.longintparam.valueptr = valueptr;
1066 (*param)->data.longintparam.defaultvalue = defaultvalue;
1067 (*param)->data.longintparam.minvalue = minvalue;
1068 (*param)->data.longintparam.maxvalue = maxvalue;
1092 assert(param !=
NULL);
1093 assert(name !=
NULL);
1098 (*param)->data.realparam.valueptr = valueptr;
1099 (*param)->data.realparam.defaultvalue = defaultvalue;
1100 (*param)->data.realparam.minvalue = minvalue;
1101 (*param)->data.realparam.maxvalue = maxvalue;
1119 const char* allowedvalues,
1124 assert(param !=
NULL);
1125 assert(name !=
NULL);
1130 (*param)->data.charparam.valueptr = valueptr;
1131 (*param)->data.charparam.defaultvalue = defaultvalue;
1132 if( allowedvalues !=
NULL )
1137 (*param)->data.charparam.allowedvalues =
NULL;
1154 const char* defaultvalue,
1159 assert(param !=
NULL);
1160 assert(name !=
NULL);
1161 assert(valueptr ==
NULL || *valueptr ==
NULL);
1162 assert(defaultvalue !=
NULL);
1167 (*param)->data.stringparam.valueptr = valueptr;
1169 (*param)->data.stringparam.curvalue =
NULL;
1183 assert(param !=
NULL);
1184 assert(*param !=
NULL);
1186 switch( (*param)->paramtype )
1198 if( (*param)->data.stringparam.valueptr ==
NULL )
1227 assert(param !=
NULL);
1229 assert(
set !=
NULL);
1230 assert(valuestr !=
NULL);
1232 if( strcasecmp(valuestr,
"TRUE") == 0 )
1236 else if( strcasecmp(valuestr,
"FALSE") == 0 )
1242 SCIPerrorMessage(
"invalid parameter value <%s> for SCIP_Bool parameter <%s>\n", valuestr, param->
name);
1260 assert(param !=
NULL);
1262 assert(
set !=
NULL);
1263 assert(valuestr !=
NULL);
1265 if( sscanf(valuestr,
"%d", &value) == 1 )
1271 SCIPerrorMessage(
"invalid parameter value <%s> for int parameter <%s>\n", valuestr, param->
name);
1289 assert(param !=
NULL);
1291 assert(
set !=
NULL);
1292 assert(valuestr !=
NULL);
1294 if( sscanf(valuestr,
"%" SCIP_LONGINT_FORMAT, &value) == 1 )
1300 SCIPerrorMessage(
"invalid parameter value <%s> for SCIP_Longint parameter <%s>\n", valuestr, param->
name);
1318 assert(param !=
NULL);
1320 assert(
set !=
NULL);
1321 assert(valuestr !=
NULL);
1329 SCIPerrorMessage(
"invalid parameter value <%s> for SCIP_Real parameter <%s>\n", valuestr, param->
name);
1347 assert(param !=
NULL);
1349 assert(
set !=
NULL);
1350 assert(valuestr !=
NULL);
1352 if( sscanf(valuestr,
"%c", &value) == 1 )
1358 SCIPerrorMessage(
"invalid parameter value <%s> for char parameter <%s>\n", valuestr, param->
name);
1376 assert(param !=
NULL);
1378 assert(
set !=
NULL);
1379 assert(valuestr !=
NULL);
1382 len = (
unsigned int) strlen(valuestr);
1383 if( len <= 1 || valuestr[0] !=
'"' || valuestr[len-1] !=
'"' )
1385 SCIPerrorMessage(
"invalid parameter value <%s> for string parameter <%s> (string has to be in double quotes)\n",
1386 valuestr, param->
name);
1391 valuestr[len-1] =
'\0';
1409 assert(paramset !=
NULL);
1414 hashGetKeyParam, SCIPhashKeyEqString, SCIPhashKeyValString,
NULL) );
1416 (*paramset)->params =
NULL;
1417 (*paramset)->nparams = 0;
1418 (*paramset)->paramssize = 0;
1431 assert(paramset !=
NULL);
1432 assert(*paramset !=
NULL);
1433 assert((*paramset)->paramssize == 0 || (*paramset)->params !=
NULL);
1434 assert((*paramset)->paramssize >= (*paramset)->nparams);
1436 for( i = (*paramset)->nparams - 1; i >= 0; --i )
1438 paramFree(&(*paramset)->params[i], blkmem);
1454 assert(paramset !=
NULL);
1455 assert(param !=
NULL);
1492 assert(paramset !=
NULL);
1495 SCIP_CALL(
paramCreateBool(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, paramchgd, paramdata) );
1521 assert(paramset !=
NULL);
1524 SCIP_CALL(
paramCreateInt(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, minvalue, maxvalue,
1525 paramchgd, paramdata) );
1551 assert(paramset !=
NULL);
1554 SCIP_CALL(
paramCreateLongint(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, minvalue, maxvalue,
1555 paramchgd, paramdata) );
1581 assert(paramset !=
NULL);
1584 SCIP_CALL(
paramCreateReal(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, minvalue, maxvalue,
1585 paramchgd, paramdata) );
1603 const char* allowedvalues,
1610 assert(paramset !=
NULL);
1613 SCIP_CALL(
paramCreateChar(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, allowedvalues,
1614 paramchgd, paramdata) );
1631 const char* defaultvalue,
1638 assert(paramset !=
NULL);
1641 SCIP_CALL(
paramCreateString(¶m, messagehdlr, blkmem, name, desc, valueptr, isadvanced, defaultvalue, paramchgd, paramdata) );
1655 static const char* paramtypename[] = {
1664 return paramtypename[(int)paramtype];
1675 assert(paramset !=
NULL);
1695 assert(paramset !=
NULL);
1710 assert(paramset !=
NULL);
1711 assert(value !=
NULL);
1722 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1742 assert(paramset !=
NULL);
1743 assert(value !=
NULL);
1754 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1774 assert(paramset !=
NULL);
1775 assert(value !=
NULL);
1786 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1806 assert(paramset !=
NULL);
1807 assert(value !=
NULL);
1818 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1838 assert(paramset !=
NULL);
1839 assert(value !=
NULL);
1850 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1870 assert(paramset !=
NULL);
1871 assert(value !=
NULL);
1882 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
1902 assert(paramset !=
NULL);
1928 assert(paramset !=
NULL);
1929 assert(
set !=
NULL);
1990 assert(paramset !=
NULL);
1991 assert(
set !=
NULL);
2002 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2022 assert(paramset !=
NULL);
2033 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2055 assert(paramset !=
NULL);
2056 assert(
set !=
NULL);
2067 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2087 assert(paramset !=
NULL);
2098 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2120 assert(paramset !=
NULL);
2121 assert(
set !=
NULL);
2132 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2154 assert(paramset !=
NULL);
2155 assert(
set !=
NULL);
2166 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2188 assert(paramset !=
NULL);
2189 assert(
set !=
NULL);
2200 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2222 assert(paramset !=
NULL);
2223 assert(
set !=
NULL);
2234 SCIPerrorMessage(
"wrong parameter type - parameter <%s> has type <%s> instead of <%s>\n",
2257 char* paramvaluestr;
2259 assert( paramset !=
NULL );
2260 assert( line !=
NULL );
2263 while ( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2265 if ( *line ==
'\0' || *line ==
'\n' || *line ==
'#' )
2270 while ( *line !=
' ' && *line !=
'\t' && *line !=
'\r' && *line !=
'\n' && *line !=
'#' && *line !=
'\0' && *line !=
'=' && *line !=
':' )
2276 if ( strcmp(paramname,
"default") == 0 )
2279 globalemphasis =
TRUE;
2281 else if ( strcmp(paramname,
"counter") == 0 )
2284 globalemphasis =
TRUE;
2286 else if ( strcmp(paramname,
"cpsolver") == 0 )
2289 globalemphasis =
TRUE;
2291 else if ( strcmp(paramname,
"easycip") == 0 )
2294 globalemphasis =
TRUE;
2296 else if ( strcmp(paramname,
"feasibility") == 0 )
2299 globalemphasis =
TRUE;
2301 else if ( strcmp(paramname,
"hardlp") == 0 )
2304 globalemphasis =
TRUE;
2306 else if ( strcmp(paramname,
"optimality") == 0 )
2309 globalemphasis =
TRUE;
2313 if ( globalemphasis )
2316 while ( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2318 if ( *line !=
'\0' && *line !=
'\n' && *line !=
'#' )
2320 SCIPerrorMessage(
"additional characters after global emphasis setting: %s.\n", line);
2327 while ( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2329 if ( *line ==
'\0' || *line ==
'\n' || *line ==
'#' )
2334 paramvaluestr = line;
2337 while ( *line !=
' ' && *line !=
'\t' && *line !=
'\r' && *line !=
'\n' && *line !=
'#' && *line !=
'\0' )
2342 else if ( *line !=
'\0' )
2347 while ( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2349 if ( *line !=
'\0' && *line !=
'\n' && *line !=
'#' )
2351 SCIPerrorMessage(
"additional characters after emphasis parameter value: %s.\n", line);
2357 if ( strcmp(paramvaluestr,
"default") == 0 )
2359 else if ( strcmp(paramvaluestr,
"aggressive") == 0 )
2361 else if ( strcmp(paramvaluestr,
"fast") == 0 )
2363 else if ( strcmp(paramvaluestr,
"off") == 0 )
2372 if ( strcmp(paramname,
"heuristics") == 0 )
2376 else if ( strcmp(paramname,
"presolving") == 0 )
2380 else if ( strcmp(paramname,
"separating") == 0 )
2400 char* paramvaluestr;
2406 assert(paramset !=
NULL);
2407 assert(line !=
NULL);
2408 assert(foundnormalparam !=
NULL);
2411 while( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2413 if( *line ==
'\0' || *line ==
'\n' || *line ==
'#' )
2418 while( *line !=
' ' && *line !=
'\t' && *line !=
'\r' && *line !=
'\n' && *line !=
'#' && *line !=
'\0' && *line !=
'=' && *line !=
':' )
2423 while( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2430 if ( strcmp(paramname,
"emphasis") != 0 )
2437 if ( *foundnormalparam )
2447 else if ( *line !=
'=' )
2456 while( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2458 if( *line ==
'\0' || *line ==
'\n' || *line ==
'#' )
2463 paramvaluestr = line;
2466 quoted = (*paramvaluestr ==
'"');
2468 while( (quoted || (*line !=
' ' && *line !=
'\t' && *line !=
'\r' && *line !=
'\n' && *line !=
'#')) && *line !=
'\0' )
2474 if( lastquote !=
NULL )
2478 else if( *line !=
'\0' )
2483 while( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2485 if( *line ==
'f' && *(line+1) ==
'i' && *(line+2) ==
'x' )
2490 while( *line ==
' ' || *line ==
'\t' || *line ==
'\r' )
2493 if( *line !=
'\0' && *line !=
'\n' && *line !=
'#' )
2495 SCIPerrorMessage(
"additional characters <%c> after parameter value (and possible 'fix' keyword)\n", *line);
2539 *foundnormalparam =
TRUE;
2549 const char* filename
2558 assert(paramset !=
NULL);
2559 assert(filename !=
NULL);
2562 file = fopen(filename,
"r");
2573 while( fgets(line, (
int)
sizeof(line), file) !=
NULL && retcode ==
SCIP_OKAY )
2576 retcode =
paramsetParse(paramset,
set, messagehdlr, line, &foundnormalparam);
2598 const char* filename,
2608 assert(paramset !=
NULL);
2611 if( filename !=
NULL )
2613 file = fopen(filename,
"w");
2622 if( messagehdlr !=
NULL )
2634 #if( SCIP_SUBVERSION == 0 ) 2646 for( i = 0; i < paramset->
nparams; ++i )
2648 retcode =
paramWrite(paramset->
params[i], messagehdlr, file, comments, onlychanged);
2651 if( filename !=
NULL )
2653 assert(file !=
NULL);
2661 if( filename !=
NULL )
2663 assert(file !=
NULL);
2666 if( messagehdlr !=
NULL )
2687 for( i = 0; i < paramset->
nparams; ++i )
2733 nheurs =
set->nheurs;
2735 for( i = 0; i < nheurs; ++i )
2737 const char* heurname;
2782 nheurs =
set->nheurs;
2786 for( i = 0; i < nheurs; ++i )
2788 const char* heurname;
2792 if( strcmp(heurname,
"dualval") == 0 )
2808 if( deffreq == -1 || deffreq == 0 )
2815 newfreq =
MAX(newfreq, 1);
2862 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"heuristics/crossover/nodesquot", 0.15, quiet) );
2863 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"heuristics/crossover/minfixingrate", 0.5, quiet) );
2880 #define NEXPENSIVEHEURFREQS 15 2882 "heuristics/coefdiving/freq",
2883 "heuristics/crossover/freq",
2884 "heuristics/distributiondiving/freq",
2885 "heuristics/feaspump/freq",
2886 "heuristics/fracdiving/freq",
2887 "heuristics/guideddiving/freq",
2888 "heuristics/linesearchdiving/freq",
2889 "heuristics/nlpdiving/freq",
2890 "heuristics/subnlp/freq",
2891 "heuristics/objpscostdiving/freq",
2892 "heuristics/pscostdiving/freq",
2893 "heuristics/rens/freq",
2894 "heuristics/rootsoldiving/freq",
2895 "heuristics/undercover/freq",
2896 "heuristics/veclendiving/freq" 2926 nheurs =
set->nheurs;
2930 for( i = 0; i < nheurs; ++i )
2932 const char* heurname;
2967 presols =
set->presols;
2968 npresols =
set->npresols;
2971 for( i = 0; i < npresols; ++i )
2973 const char* presolname;
2983 nprops =
set->nprops;
2986 for( i = 0; i < nprops; ++i )
2988 const char* propname;
2996 conshdlrs =
set->conshdlrs;
2997 nconshdlrs =
set->nconshdlrs;
3000 for( i = 0; i < nconshdlrs; ++i )
3002 const char* conshdlrname;
3066 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/boundshift/maxrounds", -1, quiet) );
3074 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/convertinttobin/maxrounds", 0, quiet) );
3082 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/dualagg/maxrounds", -1, quiet) );
3090 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/tworowbnd/maxrounds", -1, quiet) );
3098 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/redvub/maxrounds", -1, quiet) );
3106 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/implfree/maxrounds", -1, quiet) );
3119 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defvalue), quiet) );
3130 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defvalue), quiet) );
3154 conshdlrs =
set->conshdlrs;
3155 nconshdlrs =
set->nconshdlrs;
3158 for( i = 0; i < nconshdlrs; ++i )
3160 const char* conshdlrname;
3181 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/convertinttobin/maxrounds", 0, quiet) );
3189 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"propagating/probing/maxprerounds", 0, quiet) );
3197 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3213 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/gateextraction/maxrounds", 0, quiet) );
3240 presols =
set->presols;
3241 npresols =
set->npresols;
3244 for( i = 0; i < npresols; ++i )
3246 const char* presolname;
3256 nprops =
set->nprops;
3259 for( i = 0; i < nprops; ++i )
3261 const char* propname;
3270 conshdlrs =
set->conshdlrs;
3271 nconshdlrs =
set->nconshdlrs;
3274 for( i = 0; i < nconshdlrs; ++i )
3276 const char* conshdlrname;
3314 nsepas =
set->nsepas;
3317 for( i = 0; i < nsepas; ++i )
3319 const char* sepaname;
3335 conshdlrs =
set->conshdlrs;
3336 nconshdlrs =
set->nconshdlrs;
3339 for( i = 0; i < nconshdlrs; ++i )
3341 const char* conshdlrname;
3391 nsepas =
set->nsepas;
3397 for( i = 0; i < nsepas; ++i )
3399 const char* sepaname;
3403 if( strcmp(sepaname,
"intobj") == 0 || strcmp(sepaname,
"cgmip") == 0 )
3423 else if( deffreq == 0 )
3426 newfreq =
MIN(deffreq, 20);
3443 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defrounds), quiet) );
3462 conshdlrs =
set->conshdlrs;
3463 nconshdlrs =
set->nconshdlrs;
3466 for( i = 0; i < nconshdlrs; ++i )
3468 const char* conshdlrname;
3488 else if( deffreq == 0 )
3491 newfreq =
MIN(deffreq, 10);
3514 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/maxroundsrootsubrun", 5, quiet) );
3532 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/cmir/maxfailsroot", 200, quiet) );
3540 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/mcf/maxtestdelta", -1, quiet) );
3573 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/cmir/maxroundsroot", 5, quiet) );
3574 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/cmir/maxtriesroot", 100, quiet) );
3575 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/cmir/maxaggrsroot", 3, quiet) );
3576 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/cmir/maxsepacutsroot", 200, quiet) );
3588 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/gomory/maxroundsroot", 20, quiet) );
3589 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/gomory/maxsepacutsroot", 200, quiet) );
3601 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/strongcg/maxroundsroot", 10, quiet) );
3602 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/strongcg/maxsepacutsroot", 200, quiet) );
3628 nsepas =
set->nsepas;
3631 for( i = 0; i < nsepas; ++i )
3633 const char* sepaname;
3641 conshdlrs =
set->conshdlrs;
3642 nconshdlrs =
set->nconshdlrs;
3645 for( i = 0; i < nconshdlrs; ++i )
3647 const char* conshdlrname;
3682 switch( paramemphasis )
3694 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/inference/priority", INT_MAX/4, quiet) );
3697 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3730 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3731 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/propfreq", -1, quiet) );
3773 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3801 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/restartdfs/stdpriority", INT_MAX/4, quiet) );
3812 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/maxreliable", 1.0, quiet) );
3813 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/relpscost/inititer", 10, quiet) );
3826 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/fullstrong/maxdepth", 10, quiet) );
3827 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/fullstrong/priority", INT_MAX / 4, quiet) );
3828 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/fullstrong/maxbounddist", 0.0, quiet) );
3829 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/sbiterquot", 1.0, quiet) );
3830 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/relpscost/sbiterofs", 1000000, quiet) );
3831 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/maxreliable", 10.0, quiet) );
3837 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/uct/stdpriority", (INT_MAX / 4) + 1, quiet) );
3838 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/restartdfs/stdpriority", INT_MAX/4, quiet) );
3841 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/inference/priority", INT_MAX / 4, quiet) );
3849 int nheurs =
set->nheurs;
3851 for( h = 0; h < nheurs; ++h )
3875 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3882 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for emphasis call\n", paramemphasis);
3908 nheurs =
set->nheurs;
3911 for( i = 0; i < nheurs; ++i )
3915 const char* heurname;
3933 SCIPmessageFPrintInfo(messagehdlr,
NULL,
"unfixing parameter %s in order to disable sub-SCIPs in the current (sub-)SCIP instance\n", paramname);
3942 nsepas =
set->nsepas;
3945 for( i = 0; i < nsepas; ++i )
3949 const char* sepaname;
3967 SCIPmessageFPrintInfo(messagehdlr,
NULL,
"unfixing parameter %s in order to disable sub-SCIPs in the current (sub-)SCIP instance\n", paramname);
3980 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3981 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/propfreq", -1, quiet) );
4001 switch( paramsetting )
4016 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for heuristics\n", paramsetting);
4037 switch( paramsetting )
4052 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for presolving\n", paramsetting);
4073 switch( paramsetting )
4088 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for separating\n", paramsetting);
4100 assert(paramset !=
NULL);
4110 assert(paramset !=
NULL);
4129 assert(sourceparamset !=
NULL);
4130 assert(targetparamset !=
NULL);
4131 assert(sourceparamset != targetparamset);
4132 assert(
set !=
NULL);
4137 for( i = 0; i < sourceparamset->
nparams; ++i )
4143 sourceparam = sourceparamset->
params[i];
4144 assert(sourceparam !=
NULL);
4151 if( targetparam ==
NULL )
4184 if( strncmp(sourceparam->
name,
"visual/", 7) != 0 )
4200 if( set->reopt_enable )
4219 assert(param !=
NULL);
4230 return ( value ==
TRUE || value ==
FALSE );
4239 assert(param !=
NULL);
4250 assert( param !=
NULL );
4261 assert( param !=
NULL );
4272 assert( param !=
NULL );
4274 if( value ==
'\b' || value ==
'\f' || value ==
'\n' || value ==
'\r' || value ==
'\v' )
4282 while( *c !=
'\0' && *c != value )
4300 for( i = 0; i < (
unsigned int) strlen(value); ++i )
4302 if( value[i] ==
'\b' || value[i] ==
'\f' || value[i] ==
'\n' || value[i] ==
'\r' || value[i] ==
'\v' )
4318 assert(param !=
NULL);
4336 if( param->paramchgd !=
NULL &&
set !=
NULL )
4338 SCIP_CALL( param->paramchgd(set->scip, param) );
4360 assert(param !=
NULL);
4378 if( param->paramchgd !=
NULL &&
set !=
NULL )
4380 SCIP_CALL( param->paramchgd(set->scip, param) );
4402 assert(param !=
NULL);
4420 if( param->paramchgd !=
NULL &&
set !=
NULL )
4422 SCIP_CALL( param->paramchgd(set->scip, param) );
4444 assert(param !=
NULL);
4464 if( param->paramchgd !=
NULL &&
set !=
NULL )
4466 SCIP_CALL( param->paramchgd(set->scip, param) );
4488 assert(param !=
NULL);
4506 if( param->paramchgd !=
NULL &&
set !=
NULL )
4508 SCIP_CALL( param->paramchgd(set->scip, param) );
4529 assert(param !=
NULL);
4548 if( param->paramchgd !=
NULL &&
set !=
NULL )
4550 SCIP_CALL( param->paramchgd(set->scip, param) );
4568 assert(param !=
NULL);
4580 assert(param !=
NULL);
4595 assert(param !=
NULL);
4600 SCIPsetDebugMsg(
set,
"parameter <%s> is fixed and is not reset to its default value.\n", param->
name);
4643 const char* filename,
4651 assert(param !=
NULL);
4654 if( filename !=
NULL )
4656 file = fopen(filename,
"w");
4668 retcode =
paramWrite(param, messagehdlr, file, comments, onlychanged);
4671 if( filename !=
NULL )
4673 assert(file !=
NULL);
SCIP_RETCODE SCIPparamsetFix(SCIP_PARAMSET *paramset, const char *name, SCIP_Bool fixed)
SCIP_RETCODE SCIPparamsetAddChar(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_Bool SCIPmessagehdlrIsQuiet(SCIP_MESSAGEHDLR *messagehdlr)
enum SCIP_ParamType SCIP_PARAMTYPE
SCIP_Bool SCIPparamIsValidInt(SCIP_PARAM *param, int value)
SCIP_RETCODE SCIPparamsetWrite(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
static SCIP_RETCODE paramsetSetPresolvingFast(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
#define NEXPENSIVEHEURFREQS
static void paramFree(SCIP_PARAM **param, BMS_BLKMEM *blkmem)
#define BMSfreeMemoryArrayNull(ptr)
SCIP_Longint defaultvalue
static SCIP_RETCODE paramsetParse(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *line, SCIP_Bool *foundnormalparam)
static SCIP_RETCODE paramTestInt(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, int value)
SCIP_PARAMDATA * SCIPparamGetData(SCIP_PARAM *param)
void SCIPparamSetDefaultBool(SCIP_PARAM *param, SCIP_Bool defaultvalue)
static const char * paramtypeGetName(SCIP_PARAMTYPE paramtype)
SCIP_RETCODE SCIPparamsetSetToDefault(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname)
SCIP_HASHTABLE * hashtable
char SCIPparamGetChar(SCIP_PARAM *param)
struct SCIP_ParamData SCIP_PARAMDATA
static SCIP_RETCODE paramSetBool(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Bool value, SCIP_Bool quiet)
SCIP_Bool SCIPsepaUsesSubscip(SCIP_SEPA *sepa)
SCIP_RETCODE SCIPparamsetSetSeparating(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
static SCIP_RETCODE paramsetSetPresolvingAggressive(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramCreate(SCIP_PARAM **param, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata, SCIP_Bool isadvanced)
union SCIP_Param::@8 data
SCIP_PROP * SCIPsetFindProp(SCIP_SET *set, const char *name)
int SCIPsnprintf(char *t, int len, const char *s,...)
const char * SCIPsepaGetName(SCIP_SEPA *sepa)
enum SCIP_Retcode SCIP_RETCODE
SCIP_PRESOL * SCIPsetFindPresol(SCIP_SET *set, const char *name)
SCIP_PARAM * SCIPparamsetGetParam(SCIP_PARAMSET *paramset, const char *name)
static SCIP_RETCODE paramParseChar(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
const char * SCIPparamGetName(SCIP_PARAM *param)
SCIP_LONGINTPARAM longintparam
SCIP_RETCODE SCIPparamsetSetToDefaults(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_Bool SCIPheurUsesSubscip(SCIP_HEUR *heur)
SCIP_Bool SCIPparamIsDefault(SCIP_PARAM *param)
SCIP_Real SCIPparamGetRealDefault(SCIP_PARAM *param)
internal methods for handling parameter settings
datastructures for handling parameter settings
#define BMSfreeMemory(ptr)
SCIP_Real SCIPparamGetReal(SCIP_PARAM *param)
SCIP_Real SCIPsetCeil(SCIP_SET *set, SCIP_Real val)
static SCIP_RETCODE paramSetInt(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, int value, SCIP_Bool quiet)
enum SCIP_ParamSetting SCIP_PARAMSETTING
SCIP_RETCODE SCIPhashtableCreate(SCIP_HASHTABLE **hashtable, BMS_BLKMEM *blkmem, int tablesize, SCIP_DECL_HASHGETKEY((*hashgetkey)), SCIP_DECL_HASHKEYEQ((*hashkeyeq)), SCIP_DECL_HASHKEYVAL((*hashkeyval)), void *userptr)
SCIP_RETCODE SCIPparamSetInt(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, int value, SCIP_Bool initialize, SCIP_Bool quiet)
static SCIP_RETCODE paramCopyBool(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamSetChar(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_STRINGPARAM stringparam
SCIP_Longint SCIPparamGetLongint(SCIP_PARAM *param)
static SCIP_RETCODE paramCopyChar(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
char * SCIPparamGetString(SCIP_PARAM *param)
SCIP_RETCODE SCIPparamsetSetToSubscipsOff(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_CONSHDLR * SCIPsetFindConshdlr(SCIP_SET *set, const char *name)
SCIP_Bool SCIPsetIsParamFixed(SCIP_SET *set, const char *name)
SCIP_RETCODE SCIPparamsetGetInt(SCIP_PARAMSET *paramset, const char *name, int *value)
const char * SCIPheurGetName(SCIP_HEUR *heur)
#define BMSfreeMemoryArray(ptr)
const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr)
SCIP_RETCODE SCIPparamsetSetReal(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Real value)
static SCIP_RETCODE paramParseReal(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
SCIP_RETCODE SCIPparamSetBool(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool value, SCIP_Bool initialize, SCIP_Bool quiet)
static SCIP_RETCODE paramParseLongint(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
SCIP_RETCODE SCIPparamsetSetDefaultInt(SCIP_PARAMSET *paramset, const char *name, int defaultvalue)
SCIP_RETCODE SCIPparamsetGetBool(SCIP_PARAMSET *paramset, const char *name, SCIP_Bool *value)
static SCIP_RETCODE paramsetSetHeuristicsOff(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPsetSetSeparating(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_Bool SCIPparamIsFixed(SCIP_PARAM *param)
static SCIP_RETCODE paramsetSetPresolvingDefault(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamSetString(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *value, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetGetLongint(SCIP_PARAMSET *paramset, const char *name, SCIP_Longint *value)
SCIP_RETCODE SCIPparamsetCreate(SCIP_PARAMSET **paramset, BMS_BLKMEM *blkmem)
#define SCIP_DECL_PARAMCHGD(x)
void SCIPmessagePrintWarning(SCIP_MESSAGEHDLR *messagehdlr, const char *formatstr,...)
SCIP_RETCODE SCIPparamsetSetEmphasis(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMEMPHASIS paramemphasis, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetAddLongint(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetAddString(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCopyReal(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_SEPA * SCIPsetFindSepa(SCIP_SET *set, const char *name)
SCIP_Bool SCIPparamIsValidReal(SCIP_PARAM *param, SCIP_Real value)
internal methods for global SCIP settings
static SCIP_RETCODE paramsetSetSeparatingOff(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPsetSetReoptimizationParams(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamsetSetHeuristics(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
SCIP_RETCODE SCIPsetSetPresolving(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
static SCIP_RETCODE paramWrite(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, FILE *file, SCIP_Bool comments, SCIP_Bool onlychanged)
SCIP_RETCODE SCIPparamSetLongint(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Longint value, SCIP_Bool initialize, SCIP_Bool quiet)
int SCIPparamsetGetNParams(SCIP_PARAMSET *paramset)
static SCIP_RETCODE paramCreateString(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char **valueptr, SCIP_Bool isadvanced, const char *defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
#define BMSduplicateMemoryArray(ptr, source, num)
#define BMSfreeBlockMemory(mem, ptr)
static SCIP_RETCODE paramCopyLongint(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
static SCIP_RETCODE paramsetSetHeuristicsFast(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_PARAMTYPE SCIPparamGetType(SCIP_PARAM *param)
SCIP_RETCODE SCIPsetSetHeuristics(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
static SCIP_RETCODE paramSetReal(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Real value, SCIP_Bool quiet)
static SCIP_RETCODE emphasisParse(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *line)
static SCIP_RETCODE paramParseBool(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
static SCIP_RETCODE paramsetSetSeparatingFast(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetInt(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, int value)
void SCIPprintSysError(const char *message)
static const char * paramname[]
SCIP_RETCODE SCIPparamsetGetReal(SCIP_PARAMSET *paramset, const char *name, SCIP_Real *value)
void SCIPmessagehdlrSetQuiet(SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetDefaultBool(SCIP_PARAMSET *paramset, const char *name, SCIP_Bool defaultvalue)
static SCIP_RETCODE paramCreateLongint(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamsetGetString(SCIP_PARAMSET *paramset, const char *name, char **value)
SCIP_RETCODE SCIPparamsetSetBool(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Bool value)
SCIP_RETCODE SCIPhashtableSafeInsert(SCIP_HASHTABLE *hashtable, void *element)
const char * SCIPpresolGetName(SCIP_PRESOL *presol)
static SCIP_DECL_HASHGETKEY(hashGetKeyParam)
SCIP_RETCODE SCIPparamsetCopyParams(SCIP_PARAMSET *sourceparamset, SCIP_PARAMSET *targetparamset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamsetSetPresolving(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_PARAMSETTING paramsetting, SCIP_Bool quiet)
static SCIP_RETCODE paramSetLongint(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, SCIP_Longint value, SCIP_Bool quiet)
SCIP_HEUR * SCIPsetFindHeur(SCIP_SET *set, const char *name)
static SCIP_RETCODE paramsetSetPresolvingOff(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_Bool SCIPparamGetBool(SCIP_PARAM *param)
void * SCIPhashtableRetrieve(SCIP_HASHTABLE *hashtable, void *key)
SCIP_RETCODE SCIPparamsetAddInt(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCreateReal(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
int SCIPparamGetIntMax(SCIP_PARAM *param)
const char * SCIPpropGetName(SCIP_PROP *prop)
static SCIP_RETCODE paramTestString(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, const char *value)
void SCIPhashtableFree(SCIP_HASHTABLE **hashtable)
#define SCIP_HASHSIZE_PARAMS
enum SCIP_ParamEmphasis SCIP_PARAMEMPHASIS
int SCIPparamGetInt(SCIP_PARAM *param)
SCIP_RETCODE SCIPparamsetSetString(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, const char *value)
static SCIP_RETCODE paramCopyString(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
#define SCIP_CALL_QUIET(x)
static SCIP_RETCODE paramsetSetHeuristicsDefault(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramSetChar(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *paramname, char value, SCIP_Bool quiet)
SCIP_Bool SCIPparamIsValidChar(SCIP_PARAM *param, const char value)
static SCIP_RETCODE paramParseInt(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
SCIP_Bool SCIPparamIsValidBool(SCIP_PARAM *param, SCIP_Bool value)
static SCIP_RETCODE paramTestReal(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Real value)
static SCIP_RETCODE paramCreateChar(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
static SCIP_RETCODE paramCopyInt(SCIP_PARAM *sourceparam, SCIP_PARAM *targetparam, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPsetChgParamFixed(SCIP_SET *set, const char *name, SCIP_Bool fixed)
char * SCIPparamGetCharAllowedValues(SCIP_PARAM *param)
SCIP_RETCODE SCIPparamsetAddReal(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_PARAMDATA * paramdata
void SCIPmessageFPrintInfo(SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *formatstr,...)
SCIP_Longint SCIPparamGetLongintMax(SCIP_PARAM *param)
static SCIP_RETCODE paramTestFixed(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr)
const char * SCIPparamGetDesc(SCIP_PARAM *param)
SCIP_Longint SCIPparamGetLongintDefault(SCIP_PARAM *param)
int SCIPparamGetIntMin(SCIP_PARAM *param)
void SCIPparamsetFree(SCIP_PARAMSET **paramset, BMS_BLKMEM *blkmem)
int SCIPparamGetIntDefault(SCIP_PARAM *param)
static SCIP_RETCODE paramTestBool(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool value)
SCIP_RETCODE SCIPparamsetRead(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *filename)
#define BMSallocMemory(ptr)
#define BMSreallocMemoryArray(ptr, num)
char * SCIPparamGetStringDefault(SCIP_PARAM *param)
SCIP_RETCODE SCIPparamSetToDefault(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr)
SCIP_RETCODE SCIPparamsetSetLongint(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, SCIP_Longint value)
static SCIP_RETCODE paramsetSetHeuristicsAggressive(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamsetSetChar(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, char value)
static SCIP_RETCODE paramsetSetSeparatingAggressive(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
static SCIP_RETCODE paramTestChar(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, char value)
SCIP_Bool SCIPparamsetIsFixed(SCIP_PARAMSET *paramset, const char *name)
SCIP_RETCODE SCIPparamsetGetChar(SCIP_PARAMSET *paramset, const char *name, char *value)
SCIP_Real SCIPparamGetRealMin(SCIP_PARAM *param)
static SCIP_RETCODE paramsetSetSeparatingDefault(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)
SCIP_PARAM ** SCIPparamsetGetParams(SCIP_PARAMSET *paramset)
static SCIP_RETCODE paramCreateInt(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
#define BMSallocBlockMemory(mem, ptr)
SCIP_Bool SCIPparamGetBoolDefault(SCIP_PARAM *param)
static SCIP_RETCODE paramParseString(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, char *valuestr)
SCIP_RETCODE SCIPparamsetAddBool(SCIP_PARAMSET *paramset, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPparamSetReal(SCIP_PARAM *param, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Real value, SCIP_Bool initialize, SCIP_Bool quiet)
SCIP_RETCODE SCIPparamWrite(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, const char *filename, SCIP_Bool comments, SCIP_Bool onlychanged)
struct BMS_BlkMem BMS_BLKMEM
static SCIP_RETCODE paramCreateBool(SCIP_PARAM **param, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_Longint SCIPparamGetLongintMin(SCIP_PARAM *param)
SCIP_Bool SCIPparamIsAdvanced(SCIP_PARAM *param)
void SCIPparamSetDefaultInt(SCIP_PARAM *param, int defaultvalue)
SCIP_Bool SCIPparamIsValidLongint(SCIP_PARAM *param, SCIP_Longint value)
static SCIP_RETCODE paramTestLongint(SCIP_PARAM *param, SCIP_MESSAGEHDLR *messagehdlr, SCIP_Longint value)
static SCIP_RETCODE paramsetAdd(SCIP_PARAMSET *paramset, SCIP_PARAM *param)
char SCIPparamGetCharDefault(SCIP_PARAM *param)
SCIP_Bool SCIPparamIsValidString(SCIP_PARAM *param, const char *value)
SCIP_Real SCIPparamGetRealMax(SCIP_PARAM *param)
void SCIPparamSetFixed(SCIP_PARAM *param, SCIP_Bool fixed)
SCIP_RETCODE SCIPparamsetSet(SCIP_PARAMSET *paramset, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *name, void *value)