|
ProbDataTSP.h
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 68 /** destructor of user problem data to free original user data (called when original problem is freed) 70 * If the "deleteobject" flag in the SCIPcreateObjProb() method was set to TRUE, this method is not needed, 71 * because all the work to delete the user problem data can be done in the destructor of the user problem 72 * data object. If the "deleteobject" flag was set to FALSE, and the user problem data object stays alive 73 * after the SCIP problem is freed, this method should delete all the problem specific data that is no 80 /** destructor of user problem data to free transformed user data (called when transformed problem is freed) 82 * If the "*deleteobject" flag in the scip_trans() method was set to TRUE, this method is not needed, 83 * because all the work to delete the user problem data can be done in the destructor of the user problem 84 * data object. If the "*deleteobject" flag was set to FALSE, and the user problem data object stays alive 85 * after the SCIP problem is freed, this method should delete all the problem specific data that is no 96 * 1. Return the pointer to the original problem data object (this) as pointer to the transformed problem data 97 * object. The user may modify some internal attributes, but he has to make sure, that these modifications are 98 * reversed in the scip_deltrans() method, such that the original problem data is restored. In this case, 99 * he should set *deleteobject to FALSE, because the problem data must not be destructed by SCIP after the 101 * 2. Call the copy constructor of the problem data object and return the created copy as transformed problem 102 * data object. In this case, he probably wants to set *deleteobject to TRUE, thus letting SCIP call the 108 SCIP_Bool* deleteobject /**< pointer to store whether SCIP should delete the object after solving */ virtual SCIP_RETCODE scip_copy(SCIP *scip, SCIP *sourcescip, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, ObjProbData **objprobdata, SCIP_Bool global, SCIP_RESULT *result) Definition: ProbDataTSP.cpp:116 generator for global cuts in undirected graphs virtual SCIP_RETCODE scip_delorig(SCIP *scip) Definition: ProbDataTSP.cpp:180 Definition: ProbDataTSP.h:33 virtual SCIP_RETCODE scip_trans(SCIP *scip, ObjProbData **objprobdata, SCIP_Bool *deleteobject) Definition: ProbDataTSP.cpp:227 virtual SCIP_RETCODE scip_deltrans(SCIP *scip) Definition: ProbDataTSP.cpp:201 Definition: ConshdlrSubtour.h:30 Definition: GomoryHuTree.h:69 |