stat.c
Go to the documentation of this file.
36/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
85 /* print information about decomposition type and number of blocks, vars, linking vars and cons */
89 SCIPinfoMessage(scip, NULL, "Decomposition Detector: %s\n", detector == NULL ? "reader": detector->name);
120 SCIPinfoMessage(scip, NULL, " time in root node: %10.2f\n", SCIPgetClockTime(scip, rootnodetime));
153 SCIP_CALL( SCIPallocBufferArray(masterprob, &createnodestat, (int)nnodes) ); /* lld doesn't work here */
166 SCIPinfoMessage(masterprob, NULL, "VAR: name\tnode\ttime\titer\trootredcostcall\tredcost\tgap\tsolval\trootlpsolval\n");
189 SCIPinfoMessage(masterprob, NULL, "VAR: <%s>\t%lld\t%f\t%lld\t%lld\t%f\t%f\t%f\t%f\n", SCIPvarGetName(vars[i]), node, time,
190 iteration, rootredcostcall, redcost, gap, SCIPgetSolVal(masterprob, sol, vars[i]), rootlpsolval);
222 SCIPinfoMessage(masterprob, NULL, "Time %d-%d%%: Vars: %lld \n", 10 * i, 10 * (i + 1), createtimestat[i]);
227 SCIPinfoMessage(masterprob, NULL, "Iter %d-%d%%: Vars: %d \n", 10 * i, 10 * (i + 1), createiterstat[i]);
GCG_DECOMP * GCGgetBestDecomp(GCG *gcg, SCIP_Bool printwarnings)
Gets the best known decomposition.
Definition: cons_decomp.cpp:2413
constraint handler for structure detection
GCG_DETECTOR * GCGdecompGetDetector(GCG_DECOMP *decomp)
Definition: decomp.c:1616
int * GCGdecompGetNSubscipconss(GCG_DECOMP *decomp)
Definition: decomp.c:933
#define SCIP_Longint
#define SCIP_Real
#define SCIP_CALL(x)
#define TRUE
#define nnodes
GCG interface methods.
int SCIPgetNVars(SCIP *scip)
SCIP_VAR ** SCIPgetVars(SCIP *scip)
void SCIPinfoMessage(SCIP *scip, FILE *file, const char *formatstr,...)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPfreeBufferArray(scip, ptr)
SCIP_SOL * SCIPgetBestSol(SCIP *scip)
SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
SCIP_Longint SCIPgetNNodes(SCIP *scip)
SCIP_Longint SCIPgetNLPIterations(SCIP *scip)
SCIP_Real SCIPgetSolvingTime(SCIP *scip)
SCIP_Real SCIPgetClockTime(SCIP *scip, SCIP_CLOCK *clck)
SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
const char * SCIPvarGetName(SCIP_VAR *var)
#define NULL
Definition: class_conspartition.cpp:44
GCG variable pricer.
public methods for working with decomposition structures
public methods for GCG variables
#define SCIPdebugMessage
GCG relaxator.
various SCIP helper methods
Prints information about the best decomposition.
Definition: struct_decomp.h:53
Definition: struct_detector.h:47
Definition: struct_gcg.h:55
data structures for detectors
SCIP_OKAY
enum SCIP_Retcode SCIP_RETCODE