44 #include "scip/scipdefplugins.h" 45 #include "scip/scipshell.h" 69 #include "scipsdpgithash.c" 74 #include "scip/struct_dialog.h" 77 #include "scip/struct_paramset.h" 86 SCIP_Bool defaultvalue
89 assert(param != NULL);
90 assert(param->paramtype == SCIP_PARAMTYPE_BOOL);
92 param->data.boolparam.defaultvalue = defaultvalue;
102 assert(param != NULL);
103 assert(param->paramtype == SCIP_PARAMTYPE_INT);
105 assert(param->data.intparam.minvalue <= defaultvalue && param->data.intparam.maxvalue >= defaultvalue);
107 param->data.intparam.defaultvalue = defaultvalue;
114 SCIP_Real defaultvalue
117 assert(param != NULL);
118 assert(param->paramtype == SCIP_PARAMTYPE_REAL);
120 assert(param->data.realparam.minvalue <= defaultvalue && param->data.realparam.maxvalue >= defaultvalue);
122 param->data.realparam.defaultvalue = defaultvalue;
135 param = SCIPgetParam(scip,
"numerics/feastol");
138 param = SCIPgetParam(scip,
"numerics/dualfeastol");
142 param = SCIPgetParam(scip,
"lp/solvefreq");
145 param = SCIPgetParam(scip,
"lp/cleanuprows");
148 param = SCIPgetParam(scip,
"lp/cleanuprowsroot");
156 param = SCIPgetParam(scip,
"nodeselection/hybridestim/stdpriority");
159 param = SCIPgetParam(scip,
"nodeselection/hybridestim/maxplungedepth");
162 param = SCIPgetParam(scip,
"nodeselection/hybridestim/estimweight");
166 param = SCIPgetParam(scip,
"display/lpiterations/active");
169 param = SCIPgetParam(scip,
"display/lpavgiterations/active");
172 param = SCIPgetParam(scip,
"display/nfrac/active");
175 param = SCIPgetParam(scip,
"display/curcols/active");
178 param = SCIPgetParam(scip,
"display/strongbranchs/active");
182 param = SCIPgetParam(scip,
"heuristics/oneopt/freq");
186 param = SCIPgetParam(scip,
"conflict/enable");
190 SCIP_CALL( SCIPresetParams(scip) );
201 char scipsdpname[SCIP_MAXSTRLEN];
202 char scipsdpdesc[SCIP_MAXSTRLEN];
207 (void) SCIPsnprintf(scipsdpdesc, SCIP_MAXSTRLEN,
"Mixed Integer Semidefinite Programming Plugin for SCIP " 208 "[GitHash: %s] (www.opt.tu-darmstadt.de/scipsdp/)", SCIPSDP_GITHASH);
209 SCIP_CALL( SCIPincludeExternalCodeInformation(scip, scipsdpname, scipsdpdesc) );
212 SCIP_CALL( SCIPincludeDefaultPlugins(scip) );
238 dialog = SCIPgetRootDialog(scip);
239 BMSfreeMemoryArrayNull(&dialog->name);
240 SCIP_ALLOC( BMSallocMemoryArray(&dialog->name, 9) );
241 (void) SCIPstrncpy(dialog->name,
"SCIP-SDP", 9);
SCIP_RETCODE SCIPincludeConshdlrSavedsdpsettings(SCIP *scip)
SCIP_RETCODE SCIPincludePropCompAnalCent(SCIP *scip)
SCIP_RETCODE SCIPincludeDispSdpfastsettings(SCIP *scip)
main definitions for SCIP-SDP
Column to display the percentage of SDP-relaxations that were solved using fast settings.
static SCIP_RETCODE SCIPSDPsetDefaultParams(SCIP *scip)
SCIP_RETCODE SCIPincludeTableRelaxSdp(SCIP *scip)
SCIP_RETCODE SCIPincludePropSdpObbt(SCIP *scip)
SCIP_RETCODE SCIPincludeTableSlater(SCIP *scip)
file reader for mixed-integer semidefinite programs in SDPA format
SCIP_RETCODE SCIPincludeConshdlrSdp(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSdpInnerlp(SCIP *scip)
#define SCIPSDPminorVersion
file reader for mixed-integer semidefinite programs in CBF format
most fractional branching rule for SCIP-SDP
SCIP_RETCODE SCIPincludeDispSdppenalty(SCIP *scip)
SCIP_RETCODE SCIPSDPincludeDefaultPlugins(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleSdpmostinf(SCIP *scip)
optimization-based bound tightening propagator for semidefinite programs
Column to display the percentage of SDP-relaxations that could not be solved even using a penalty for...
highest absolute objective branching rule for SCIP-SDP
combined infeasibility and absolute objective branching rule for SCIP-SDP
fractional rounding heuristic for SDPs
set up inner approximation LP formulation and run heuristics
SCIP_RETCODE SCIPincludeBranchruleSdpmostfrac(SCIP *scip)
most infeasible branching rule for SCIP-SDP
Constraint handler for SDP-constraints.
SCIP_RETCODE SCIPincludeDispSdpavgiterations(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderCbf(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSdpRand(SCIP *scip)
advanced SDP relaxator statistics table
compute analytic center propagator
SDP diving heuristic that chooses fixings w.r.t. the fractionalities.
Column to display the total number of SDP-iterations.
static void paramSetDefaultBool(SCIP_PARAM *param, SCIP_Bool defaultvalue)
SCIP_RETCODE SCIPincludeConshdlrSdpRank1(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSavesdpsol(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSdpFracdiving(SCIP *scip)
randomized rounding heuristic for SDPs
SCIP_RETCODE SCIPincludeBranchruleSdpinfobjective(SCIP *scip)
#define SCIPSDPtechVersion
#define SCIPSDPmajorVersion
reduced cost / dual fixing for SDPs
SCIP_RETCODE SCIPincludeReaderSdpa(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleSdpobjective(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSdpFracround(SCIP *scip)
static void paramSetDefaultInt(SCIP_PARAM *param, int defaultvalue)
Column to display the average number of SDP-iterations.
Column to display the percentage of SDP-relaxations where a penalty formulation had to be used...
SCIP_RETCODE SCIPincludePropSdpredcost(SCIP *scip)
SCIP_RETCODE SCIPincludeDispSdpiterations(SCIP *scip)
SCIP_RETCODE SCIPincludeDispSdpunsolved(SCIP *scip)
static void paramSetDefaultReal(SCIP_PARAM *param, SCIP_Real defaultvalue)
constraint handler for saving SDP solutions in nodes
SCIP_RETCODE SCIPincludeRelaxSdp(SCIP *scip)
constraint handler for saving SDP settings