|
tsp::ProbDataTSP Class Reference Detailed DescriptionSCIP user problem data for TSP Definition at line 33 of file ProbDataTSP.h.
Collaboration diagram for tsp::ProbDataTSP:
![]()
Constructor & Destructor Documentation
default constructor
Definition at line 40 of file ProbDataTSP.h. References capture_graph().
destructor Definition at line 49 of file ProbDataTSP.h. References release_graph(), scip_copy(), scip_delorig(), scip_deltrans(), and scip_trans(). Member Function Documentation
Definition at line 111 of file ProbDataTSP.h. Referenced by SCIP_DECL_CONSCOPY(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
Copies user data if you want to copy it to a subscip copies user data if you want to copy it to a subscip
Definition at line 116 of file ProbDataTSP.cpp. References copy_graph(), Graph::edges, Graph::nedges, release_graph(), and GraphEdge::var. Referenced by ~ProbDataTSP().
destructor of user problem data to free original user data (called when original problem is freed) If the "deleteobject" flag in the SCIPcreateObjProb() method was set to TRUE, this method is not needed, because all the work to delete the user problem data can be done in the destructor of the user problem data object. If the "deleteobject" flag was set to FALSE, and the user problem data object stays alive after the SCIP problem is freed, this method should delete all the problem specific data that is no longer needed.
Definition at line 180 of file ProbDataTSP.cpp. References release_graph(). Referenced by ~ProbDataTSP().
destructor of user problem data to free transformed user data (called when transformed problem is freed) If the "*deleteobject" flag in the scip_trans() method was set to TRUE, this method is not needed, because all the work to delete the user problem data can be done in the destructor of the user problem data object. If the "*deleteobject" flag was set to FALSE, and the user problem data object stays alive after the SCIP problem is freed, this method should delete all the problem specific data that is no longer needed. destructor of user problem data to free original user data (called when original problem is freed) If the "deleteobject" flag in the SCIPcreateObjProb() method was set to TRUE, this method is not needed, because all the work to delete the user problem data can be done in the destructor of the user problem data object. If the "deleteobject" flag was set to FALSE, and the user problem data object stays alive after the SCIP problem is freed, this method should delete all the problem specific data that is no longer needed.
Definition at line 201 of file ProbDataTSP.cpp. References release_graph(). Referenced by ~ProbDataTSP().
creates user data of transformed problem by transforming the original user problem data (called after problem was transformed) The user has two possibilities to implement this method:
Definition at line 227 of file ProbDataTSP.cpp. References copy_graph(), Graph::edges, Graph::nedges, release_graph(), and GraphEdge::var. Referenced by ~ProbDataTSP(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||