All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
vbc.c File Reference Detailed Descriptionmethods for VBC Tool output Definition in file vbc.c. #include <stdio.h> #include <assert.h> #include "blockmemshell/memory.h" #include "scip/set.h" #include "scip/stat.h" #include "scip/clock.h" #include "scip/var.h" #include "scip/tree.h" #include "scip/vbc.h" #include "scip/struct_vbc.h" Go to the source code of this file. Function Documentation
returns the branching variable of the node, or NULL
Definition at line 38 of file vbc.c. References SCIP_DomChgBound::boundchgs, SCIP_BoundChg::boundtype, SCIP_Node::domchg, SCIP_DomChg::domchgbound, SCIP_DomChgBound::nboundchgs, SCIP_BoundChg::newbound, NULL, SCIP_BOUNDTYPE_LOWER, and SCIP_BoundChg::var. Referenced by SCIPvbcCutoffNode(), SCIPvbcNewChild(), SCIPvbcSolvedNode(), and SCIPvbcUpdateChild().
creates VBC Tool data structure
Definition at line 65 of file vbc.c. References BMSallocMemory, FALSE, SCIP_Vbc::messagehdlr, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIP_VBCCOLOR_NONE. Referenced by SCIPstatCreate().
frees VBC Tool data structure
Definition at line 84 of file vbc.c. References BMSfreeMemory, and NULL. Referenced by SCIPstatFree().
initializes VBC information and creates a file for VBC output
Definition at line 97 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::lastcolor, SCIP_Vbc::lastnode, SCIP_Vbc::messagehdlr, SCIP_Vbc::nodenum, NULL, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_HASHSIZE_VBC, SCIP_OKAY, SCIP_VBCCOLOR_NONE, SCIP_VERBLEVEL_NORMAL, SCIPerrorMessage, SCIPhashmapCreate(), SCIPmessageFPrintInfo(), SCIPmessagePrintVerbInfo(), SCIPprintSysError(), SCIP_Vbc::timestep, and SCIP_Vbc::userealtime. Referenced by initSolve().
closes the VBC output file
Definition at line 138 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::nodenum, NULL, SCIP_VERBLEVEL_FULL, SCIPhashmapFree(), and SCIPmessagePrintVerbInfo(). Referenced by freeSolve(). prints current solution time to VBC output file
Definition at line 160 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::messagehdlr, NULL, SCIP_Longint, SCIPclockGetTime(), SCIPmessageFPrintInfo(), SCIP_Stat::solvingtime, SCIP_Vbc::timestep, and SCIP_Vbc::userealtime. Referenced by SCIPvbcCutoffNode(), SCIPvbcLowerbound(), SCIPvbcNewChild(), SCIPvbcSolvedNode(), SCIPvbcUpdateChild(), SCIPvbcUpperbound(), and vbcSetColor().
creates a new node entry in the VBC output file
Definition at line 197 of file vbc.c. References SCIP_Vbc::file, getBranchInfo(), SCIP_Vbc::messagehdlr, SCIP_Stat::ncreatednodesrun, SCIP_Vbc::nodenum, NULL, SCIP_Node::parent, printTime(), SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_Longint, SCIP_NODETYPE_PROBINGNODE, SCIP_OKAY, SCIP_Real, SCIP_VBCCOLOR_UNSOLVED, SCIPerrorMessage, SCIPhashmapGetImage(), SCIPhashmapInsert(), SCIPmessageFPrintInfo(), SCIPnodeGetDepth(), SCIPnodeGetLowerbound(), SCIPnodeGetType(), SCIPvarGetLbLocal(), SCIPvarGetName(), and SCIPvarGetUbLocal(). Referenced by SCIPnodeCreateChild().
updates a node entry in the VBC output file
Definition at line 259 of file vbc.c. References SCIP_Vbc::file, getBranchInfo(), SCIP_Vbc::messagehdlr, SCIP_Vbc::nodenum, NULL, printTime(), SCIP_BOUNDTYPE_LOWER, SCIP_NODETYPE_PROBINGNODE, SCIP_OKAY, SCIP_Real, SCIPhashmapGetImage(), SCIPmessageFPrintInfo(), SCIPnodeGetDepth(), SCIPnodeGetLowerbound(), SCIPnodeGetType(), SCIPvarGetLbLocal(), SCIPvarGetName(), and SCIPvarGetUbLocal(). Referenced by SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), and SCIPtreeBranchVarNary().
changes the color of the node to the given color
Definition at line 308 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::lastcolor, SCIP_Vbc::lastnode, SCIP_Vbc::messagehdlr, SCIP_Vbc::nodenum, NULL, printTime(), SCIP_VBCCOLOR_NONE, SCIPhashmapGetImage(), and SCIPmessageFPrintInfo(). Referenced by SCIPvbcCutoffNode(), SCIPvbcFoundConflict(), SCIPvbcFoundSolution(), SCIPvbcMarkedRepropagateNode(), SCIPvbcRepropagatedNode(), and SCIPvbcSolvedNode(). changes the color of the node to the color of solved nodes
Definition at line 332 of file vbc.c. References SCIP_Vbc::file, getBranchInfo(), SCIP_Vbc::messagehdlr, SCIP_Stat::nnodes, SCIP_Vbc::nodenum, NULL, printTime(), SCIP_BOUNDTYPE_LOWER, SCIP_NODETYPE_PROBINGNODE, SCIP_Real, SCIP_VBCCOLOR_SOLVED, SCIPhashmapGetImage(), SCIPmessageFPrintInfo(), SCIPnodeGetDepth(), SCIPnodeGetLowerbound(), SCIPnodeGetType(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), and vbcSetColor(). Referenced by SCIPsolveCIP(). changes the color of the node to the color of cutoff nodes
Definition at line 381 of file vbc.c. References SCIP_Vbc::file, getBranchInfo(), SCIP_Vbc::messagehdlr, SCIP_Stat::nnodes, SCIP_Vbc::nodenum, NULL, printTime(), SCIP_BOUNDTYPE_LOWER, SCIP_NODETYPE_PROBINGNODE, SCIP_Real, SCIP_VBCCOLOR_CUTOFF, SCIPhashmapGetImage(), SCIPmessageFPrintInfo(), SCIPnodeGetDepth(), SCIPnodeGetLowerbound(), SCIPnodeGetType(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), and vbcSetColor(). Referenced by nodeToLeaf(), SCIPnodeCutoff(), SCIPnodepqBound(), SCIPsolveCIP(), and SCIPtreeCutoff(). changes the color of the node to the color of nodes where a conflict constraint was found
Definition at line 430 of file vbc.c. References NULL, SCIP_NODETYPE_PROBINGNODE, SCIP_VBCCOLOR_CONFLICT, SCIPnodeGetType(), and vbcSetColor(). Referenced by SCIPconflictFlushConss(). changes the color of the node to the color of nodes that were marked to be repropagated
Definition at line 446 of file vbc.c. References NULL, SCIP_NODETYPE_PROBINGNODE, SCIP_VBCCOLOR_MARKREPROP, SCIPnodeGetNumber(), SCIPnodeGetType(), and vbcSetColor(). Referenced by SCIPnodePropagateAgain(). changes the color of the node to the color of repropagated nodes
Definition at line 465 of file vbc.c. References NULL, SCIP_NODETYPE_PROBINGNODE, SCIP_VBCCOLOR_REPROP, SCIPnodeGetType(), and vbcSetColor(). Referenced by nodeRepropagate(). changes the color of the node to the color of nodes with a primal solution
Definition at line 481 of file vbc.c. References NULL, SCIP_NODETYPE_PROBINGNODE, SCIP_VBCCOLOR_SOLUTION, SCIPnodeGetType(), and vbcSetColor(). Referenced by primalAddSol(). outputs a new global lower bound to the VBC output file
Definition at line 499 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::messagehdlr, NULL, printTime(), and SCIPmessageFPrintInfo(). outputs a new global upper bound to the VBC output file
Definition at line 516 of file vbc.c. References SCIP_Vbc::file, SCIP_Vbc::messagehdlr, NULL, printTime(), and SCIPmessageFPrintInfo(). Referenced by primalSetUpperbound(). |