27 #include "scip/scip.h" 28 #include "scip/scipshell.h" 29 #include "scip/scipdefplugins.h" 50 const char* defaultsetname
60 SCIP_CALL( SCIPcreate(&scip) );
63 SCIPenableDebugSol(scip);
72 SCIP_CALL( SCIPincludeDefaultPlugins(scip) );
100 SCIP_CALL( SCIPsetIntParam(scip,
"presolving/maxrestarts", 0) );
101 SCIP_CALL( SCIPsetIntParam(scip,
"display/freq", 1) );
102 SCIP_CALL( SCIPsetIntParam(scip,
"limits/maxsol", 400) );
103 SCIP_CALL( SCIPsetIntParam(scip,
"lp/rowagelimit", 30) );
104 SCIP_CALL( SCIPsetIntParam(scip,
"separating/maxrounds", -1) );
105 SCIP_CALL( SCIPsetIntParam(scip,
"separating/maxstallrounds", -1) );
106 SCIP_CALL( SCIPsetIntParam(scip,
"branching/relpscost/maxproprounds", 0) );
107 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/coefdiving/freq", -1) );
108 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/feaspump/freq", -1) );
109 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/fracdiving/freq", -1) );
110 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/guideddiving/freq", -1) );
111 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/linesearchdiving/freq", -1) );
112 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/nlpdiving/freq", -1) );
113 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/objpscostdiving/freq", -1) );
114 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/pscostdiving/freq", -1) );
115 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/randrounding/freq", -1) );
116 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/rootsoldiving/freq", -1) );
117 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/shiftandpropagate/freq", -1) );
118 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/shifting/freq", -1) );
119 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/subnlp/freq", -1) );
120 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/undercover/freq", -1) );
121 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/veclendiving/freq", -1) );
122 SCIP_CALL( SCIPsetIntParam(scip,
"heuristics/zirounding/freq", -1) );
123 SCIP_CALL( SCIPsetIntParam(scip,
"propagating/probing/maxprerounds", 0) );
124 SCIP_CALL( SCIPsetIntParam(scip,
"propagating/pseudoobj/timingmask", 5) );
125 SCIP_CALL( SCIPsetIntParam(scip,
"propagating/redcost/freq", -1) );
126 SCIP_CALL( SCIPsetRealParam(scip,
"branching/relpscost/maxreliable", 1.0) );
127 SCIP_CALL( SCIPsetRealParam(scip,
"separating/minefficacyroot", 0.01) );
132 SCIP_CALL( SCIPprocessShellArguments(scip, argc, argv, defaultsetname) );
138 SCIP_CALL( SCIPfree(&scip) );
140 BMScheckEmptyMemory();
151 SCIP_RETCODE retcode;
153 retcode =
runShell(argc, argv,
"scip.set");
154 if( retcode != SCIP_OKAY )
156 SCIPprintError(retcode);
SCIP_RETCODE SCIPincludePricerStp(SCIP *scip)
Constraint handler for Steiner problems.
SCIP_RETCODE SCIPincludeHeurTM(SCIP *scip)
int main(int argc, char **argv)
SCIP_RETCODE SCIPincludeBranchruleStp(SCIP *scip)
Problem data for stp problem.
Steiner tree problem file reader.
SCIP_RETCODE SCIPincludeHeurRec(SCIP *scip)
static SCIP_RETCODE runShell(int argc, char **argv, const char *defaultsetname)
SCIP_RETCODE SCIPincludeReaderStp(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrStp(SCIP *scip)
stp user interface dialog
Improvement heuristic for Steiner problems.
SCIP_RETCODE SCIPincludePropStp(SCIP *scip)
propagator for Steiner tree problems, using the LP reduced costs
SCIP_RETCODE SCIPincludeDialogStp(SCIP *scip)
eventhdlr for best solution found
Steiner vertex branching rule.
SCIP_RETCODE SCIPincludeEventHdlrBestsol(SCIP *scip)
Primal recombination heuristic for Steiner problems.
shortest paths based primal heuristics for Steiner problems
SCIP_RETCODE SCIPincludeHeurLocal(SCIP *scip)