48 #define TABLE_NAME "sdpsolversuccess" 49 #define TABLE_DESC "SDP solver success statistics table" 50 #define TABLE_POSITION 16100 51 #define TABLE_EARLIEST_STAGE SCIP_STAGE_SOLVING 74 assert(
scip != NULL );
75 assert( table != NULL );
87 SCIP_TABLEDATA* tabledata;
89 assert(
scip != NULL );
90 assert( table != NULL );
91 tabledata = SCIPtableGetData(table);
92 assert( tabledata != NULL );
94 SCIPfreeMemory(
scip, &tabledata);
95 SCIPtableSetData(table, NULL);
105 SCIP_TABLEDATA* tabledata;
107 assert( table != NULL );
108 tabledata = SCIPtableGetData(table);
109 assert( tabledata != NULL );
111 tabledata->relaxSDP = SCIPfindRelax(
scip,
"SDP");
112 assert( tabledata->relaxSDP != NULL );
122 SCIP_TABLEDATA* tabledata;
123 SCIP_RELAX* relaxsdp;
125 assert(
scip != NULL );
126 assert( table != NULL );
128 tabledata = SCIPtableGetData(table);
129 assert( tabledata != NULL );
131 relaxsdp = tabledata->relaxSDP;
132 assert( relaxsdp != NULL );
136 SCIPinfoMessage(
scip, file,
" SDP-Solvers : Fast Medium Stable Penalty Unsolved\n");
137 if ( tabledata->absolute )
139 SCIPinfoMessage(
scip, file,
" %-14.14s: %10" SCIP_LONGINT_FORMAT
" %10" SCIP_LONGINT_FORMAT
" " 140 "%10" SCIP_LONGINT_FORMAT
" %10" SCIP_LONGINT_FORMAT
" %10" SCIP_LONGINT_FORMAT
"\n",
147 SCIPinfoMessage(
scip, file,
" %-14.14s: %8.2f %% %8.2f %% %8.2f %% %8.2f %% %8.2f %%\n",
158 SCIPinfoMessage(
scip, file,
" SDP-Solvers : Default Penalty Unsolved\n");
159 if ( tabledata->absolute )
161 SCIPinfoMessage(
scip, file,
" %-14.14s: %10" SCIP_LONGINT_FORMAT
" %10" SCIP_LONGINT_FORMAT
" " 162 "%10" SCIP_LONGINT_FORMAT
"\n",
170 SCIPinfoMessage(
scip, file,
" %-14.14s: %8.2f %% %8.2f %% %8.2f %%\n",
196 SCIP_TABLEDATA* tabledata;
198 assert( scip != NULL );
201 SCIP_CALL( SCIPallocMemory(scip, &tabledata) );
205 tableCopySdpSolverSuccess, tableFreeSdpSolverSuccess, NULL, NULL,
206 tableInitsolSdpSolverSuccess, NULL, tableOutputSdpSolverSuccess,
210 SCIP_CALL( SCIPaddBoolParam( scip,
"table/sdpsolversuccess/absolute",
"Should statistics be printed in absolute numbers (true) or percentages (false)?",
211 &(tabledata->absolute), FALSE, FALSE, NULL, NULL) );
#define TABLE_EARLIEST_STAGE
static SCIP_DECL_TABLEOUTPUT(tableOutputSdpSolverSuccess)
int SCIPrelaxSdpGetNSdpPenalty(SCIP_RELAX *relax)
const char * SCIPsdpiGetSolverName(void)
int SCIPrelaxSdpGetNSdpUnsolved(SCIP_RELAX *relax)
int SCIPrelaxSdpGetNSdpStable(SCIP_RELAX *relax)
int SCIPrelaxSdpGetNSdpMedium(SCIP_RELAX *relax)
static SCIP_DECL_TABLECOPY(tableCopySdpSolverSuccess)
General interface methods for SDP-preprocessing (mainly fixing variables and removing empty rows/cols...
int SCIPrelaxSdpGetNSdpInterfaceCalls(SCIP_RELAX *relax)
SCIP_RETCODE SCIPincludeTableSdpSolverSuccess(SCIP *scip)
int SCIPrelaxSdpGetNSdpFast(SCIP_RELAX *relax)
SDP solver success statistics table.
static SCIP_DECL_TABLEFREE(tableFreeSdpSolverSuccess)
static SCIP_DECL_TABLEINITSOL(tableInitsolSdpSolverSuccess)