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",
330 const char* paramname,
344 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
366 const char* paramname,
380 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
402 const char* paramname,
416 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
438 const char* paramname,
452 SCIPsetDebugMsg(
set,
"hard coded parameter <%s> is fixed and is thus not changed.\n", param->
name);
474 const char* paramname,
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 )
2700 const char* paramname
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 19 2882 "heuristics/coefdiving/freq",
2883 "heuristics/crossover/freq",
2884 "heuristics/distributiondiving/freq",
2885 "heuristics/feaspump/freq",
2886 "heuristics/fracdiving/freq",
2887 "heuristics/gins/freq",
2888 "heuristics/guideddiving/freq",
2889 "heuristics/linesearchdiving/freq",
2890 "heuristics/lpface/freq",
2891 "heuristics/mpec/freq",
2892 "heuristics/nlpdiving/freq",
2893 "heuristics/subnlp/freq",
2894 "heuristics/objpscostdiving/freq",
2895 "heuristics/pscostdiving/freq",
2896 "heuristics/rens/freq",
2897 "heuristics/rins/freq",
2898 "heuristics/rootsoldiving/freq",
2899 "heuristics/undercover/freq",
2900 "heuristics/veclendiving/freq" 2930 nheurs =
set->nheurs;
2934 for( i = 0; i < nheurs; ++i )
2936 const char* heurname;
2971 presols =
set->presols;
2972 npresols =
set->npresols;
2975 for( i = 0; i < npresols; ++i )
2977 const char* presolname;
2987 nprops =
set->nprops;
2990 for( i = 0; i < nprops; ++i )
2992 const char* propname;
3000 conshdlrs =
set->conshdlrs;
3001 nconshdlrs =
set->nconshdlrs;
3004 for( i = 0; i < nconshdlrs; ++i )
3006 const char* conshdlrname;
3070 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/boundshift/maxrounds", -1, quiet) );
3078 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/convertinttobin/maxrounds", 0, quiet) );
3086 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/dualagg/maxrounds", -1, quiet) );
3094 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/tworowbnd/maxrounds", -1, quiet) );
3102 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/redvub/maxrounds", -1, quiet) );
3110 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/implfree/maxrounds", -1, quiet) );
3123 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defvalue), quiet) );
3134 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defvalue), quiet) );
3158 conshdlrs =
set->conshdlrs;
3159 nconshdlrs =
set->nconshdlrs;
3162 for( i = 0; i < nconshdlrs; ++i )
3164 const char* conshdlrname;
3185 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/convertinttobin/maxrounds", 0, quiet) );
3193 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"propagating/probing/maxprerounds", 0, quiet) );
3201 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3217 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"presolving/gateextraction/maxrounds", 0, quiet) );
3225 SCIP_CALL(
paramSetBool(paramset,
set, messagehdlr,
"constraints/logicor/implications", 0, quiet) );
3252 presols =
set->presols;
3253 npresols =
set->npresols;
3256 for( i = 0; i < npresols; ++i )
3258 const char* presolname;
3268 nprops =
set->nprops;
3271 for( i = 0; i < nprops; ++i )
3273 const char* propname;
3282 conshdlrs =
set->conshdlrs;
3283 nconshdlrs =
set->nconshdlrs;
3286 for( i = 0; i < nconshdlrs; ++i )
3288 const char* conshdlrname;
3326 nsepas =
set->nsepas;
3329 for( i = 0; i < nsepas; ++i )
3331 const char* sepaname;
3347 conshdlrs =
set->conshdlrs;
3348 nconshdlrs =
set->nconshdlrs;
3351 for( i = 0; i < nconshdlrs; ++i )
3353 const char* conshdlrname;
3407 nsepas =
set->nsepas;
3413 for( i = 0; i < nsepas; ++i )
3415 const char* sepaname;
3419 if( strcmp(sepaname,
"intobj") == 0 || strcmp(sepaname,
"cgmip") == 0 )
3439 else if( deffreq == 0 )
3442 newfreq = MIN(deffreq, 20);
3459 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr, paramname, (
int) (1.5 * defrounds), quiet) );
3478 conshdlrs =
set->conshdlrs;
3479 nconshdlrs =
set->nconshdlrs;
3482 for( i = 0; i < nconshdlrs; ++i )
3484 const char* conshdlrname;
3504 else if( deffreq == 0 )
3507 newfreq = MIN(deffreq, 10);
3530 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/maxroundsrootsubrun", 5, quiet) );
3548 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/maxfailsroot", 200, quiet) );
3556 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/mcf/maxtestdelta", -1, quiet) );
3589 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/maxroundsroot", 5, quiet) );
3590 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/maxtriesroot", 100, quiet) );
3591 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/maxaggrsroot", 3, quiet) );
3592 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/maxsepacutsroot", 200, quiet) );
3598 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"separating/zerohalf/maxslackroot", 0.0, quiet) );
3600 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/zerohalf/maxsepacutsroot", 200, quiet) );
3601 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/zerohalf/maxroundsroot", 5, quiet) );
3607 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/gomory/maxroundsroot", 20, quiet) );
3608 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/gomory/maxsepacutsroot", 200, quiet) );
3620 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/strongcg/maxroundsroot", 10, quiet) );
3621 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/strongcg/maxsepacutsroot", 200, quiet) );
3647 nsepas =
set->nsepas;
3650 for( i = 0; i < nsepas; ++i )
3652 const char* sepaname;
3660 conshdlrs =
set->conshdlrs;
3661 nconshdlrs =
set->nconshdlrs;
3664 for( i = 0; i < nconshdlrs; ++i )
3666 const char* conshdlrname;
3701 switch( paramemphasis )
3713 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/inference/priority", INT_MAX/4, quiet) );
3716 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3749 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3750 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/propfreq", -1, quiet) );
3792 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3815 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"separating/aggregation/freq", -1, quiet) );
3819 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/restartdfs/stdpriority", INT_MAX/4, quiet) );
3830 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/maxreliable", 1.0, quiet) );
3831 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/relpscost/inititer", 10, quiet) );
3844 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/fullstrong/maxdepth", 10, quiet) );
3845 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/fullstrong/priority", INT_MAX / 4, quiet) );
3846 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/fullstrong/maxbounddist", 0.0, quiet) );
3847 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/sbiterquot", 1.0, quiet) );
3848 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/relpscost/sbiterofs", 1000000, quiet) );
3849 SCIP_CALL(
paramSetReal(paramset,
set, messagehdlr,
"branching/relpscost/maxreliable", 10.0, quiet) );
3855 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/uct/stdpriority", (INT_MAX / 4) + 1, quiet) );
3856 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/restartdfs/stdpriority", INT_MAX/4, quiet) );
3859 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"branching/inference/priority", INT_MAX / 4, quiet) );
3867 int nheurs =
set->nheurs;
3869 for( h = 0; h < nheurs; ++h )
3893 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"nodeselection/dfs/stdpriority", INT_MAX/4, quiet) );
3900 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for emphasis call\n", paramemphasis);
3926 nheurs =
set->nheurs;
3929 for( i = 0; i < nheurs; ++i )
3933 const char* heurname;
3951 SCIPmessageFPrintInfo(messagehdlr, NULL,
"unfixing parameter %s in order to disable sub-SCIPs in the current (sub-)SCIP instance\n", paramname);
3960 nsepas =
set->nsepas;
3963 for( i = 0; i < nsepas; ++i )
3967 const char* sepaname;
3985 SCIPmessageFPrintInfo(messagehdlr, NULL,
"unfixing parameter %s in order to disable sub-SCIPs in the current (sub-)SCIP instance\n", paramname);
3998 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/maxprerounds", 0, quiet) );
3999 SCIP_CALL(
paramSetInt(paramset,
set, messagehdlr,
"constraints/components/propfreq", -1, quiet) );
4019 switch( paramsetting )
4034 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for heuristics\n", paramsetting);
4055 switch( paramsetting )
4070 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for presolving\n", paramsetting);
4091 switch( paramsetting )
4106 SCIPerrorMessage(
"the parameter setting <%d> is not allowed for separating\n", paramsetting);
4118 assert(paramset != NULL);
4128 assert(paramset != NULL);
4147 assert(sourceparamset != NULL);
4148 assert(targetparamset != NULL);
4149 assert(sourceparamset != targetparamset);
4150 assert(
set != NULL);
4152 assert(sourceparamset->
nparams == 0 || sourceparamset->
params != NULL);
4153 assert(targetparamset->
nparams == 0 || targetparamset->
params != NULL);
4155 for( i = 0; i < sourceparamset->
nparams; ++i )
4159 const char* paramname;
4161 sourceparam = sourceparamset->
params[i];
4162 assert(sourceparam != NULL);
4169 if( targetparam == NULL )
4202 if( strncmp(sourceparam->
name,
"visual/", 7) != 0 )
4218 if( set->reopt_enable )
4237 assert(param != NULL);
4248 return ( value ==
TRUE || value ==
FALSE );
4257 assert(param != NULL);
4268 assert( param != NULL );
4279 assert( param != NULL );
4290 assert( param != NULL );
4292 if( value ==
'\b' || value ==
'\f' || value ==
'\n' || value ==
'\r' || value ==
'\v' )
4300 while( *c !=
'\0' && *c != value )
4318 for( i = 0; i < (
unsigned int) strlen(value); ++i )
4320 if( value[i] ==
'\b' || value[i] ==
'\f' || value[i] ==
'\n' || value[i] ==
'\r' || value[i] ==
'\v' )
4336 assert(param != NULL);
4354 if( param->paramchgd != NULL &&
set != NULL )
4356 SCIP_CALL( param->paramchgd(set->scip, param) );
4378 assert(param != NULL);
4396 if( param->paramchgd != NULL &&
set != NULL )
4398 SCIP_CALL( param->paramchgd(set->scip, param) );
4420 assert(param != NULL);
4438 if( param->paramchgd != NULL &&
set != NULL )
4440 SCIP_CALL( param->paramchgd(set->scip, param) );
4462 assert(param != NULL);
4482 if( param->paramchgd != NULL &&
set != NULL )
4484 SCIP_CALL( param->paramchgd(set->scip, param) );
4506 assert(param != NULL);
4524 if( param->paramchgd != NULL &&
set != NULL )
4526 SCIP_CALL( param->paramchgd(set->scip, param) );
4547 assert(param != NULL);
4566 if( param->paramchgd != NULL &&
set != NULL )
4568 SCIP_CALL( param->paramchgd(set->scip, param) );
4586 assert(param != NULL);
4598 assert(param != NULL);
4613 assert(param != NULL);
4618 SCIPsetDebugMsg(
set,
"parameter <%s> is fixed and is not reset to its default value.\n", param->
name);
4661 const char* filename,
4669 assert(param != NULL);
4672 if( filename != NULL )
4674 file = fopen(filename,
"w");
4686 retcode =
paramWrite(param, messagehdlr, file, comments, onlychanged);
4689 if( filename != NULL )
4691 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)
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)
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)
union SCIP_Param::@9 data
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)