type_prob.h File Reference Detailed Descriptiontype definitions for storing and manipulating the main problem Definition in file type_prob.h. Go to the source code of this file.
Macro Definition Documentation
frees user data of original problem (called when the original problem is freed) This method should free the user data of the original problem. input:
Definition at line 55 of file type_prob.h.
creates user data of transformed problem by transforming the original user problem data (called after problem was transformed) Because the original problem and the user data of the original problem should not be modified during the solving process, a transformed problem is created as a copy of the original problem. If the user problem data is never modified during the solving process anyways, it is enough to simple copy the user data's pointer. This is the default implementation, which is used when a NULL is given as PROBTRANS method. If the user data may be modified during the solving process (e.g. during preprocessing), the PROBTRANS method must be given and has to copy the user problem data to a different memory location. input:
Definition at line 74 of file type_prob.h.
frees user data of transformed problem (called when the transformed problem is freed) This method has to be implemented, if the PROBTRANS method is not a simple pointer copy operation like in the default PROBTRANS implementation. It should free the user data of the transformed problem, that was created in the PROBTRANS method. input:
Definition at line 86 of file type_prob.h.
solving process initialization method of transformed data (called before the branch and bound process begins) This method is called before the branch and bound process begins and can be used to initialize user problem data that depends for example on the number of active problem variables, because these are now fixed. input:
Definition at line 97 of file type_prob.h.
solving process deinitialization method of transformed data (called before the branch and bound data is freed) This method is called before the branch and bound data is freed and should be used to free all data that was allocated in the solving process initialization method. The user has to make sure, that all LP rows associated to the transformed user problem data are released. input:
Definition at line 110 of file type_prob.h.
Value:
SCIP_HASHMAP* varmap, SCIP_HASHMAP* consmap, SCIP_PROBDATA** targetdata, SCIP_Bool global, SCIP_RESULT* result)
Definition: objbranchrule.h:33 copies user data of source SCIP for the target SCIP This method should copy the problem data of the source SCIP and create a target problem data for (target) SCIP. Implementing this callback is optional. If the copying process was successful the target SCIP gets this problem data assigned. In case the result pointer is set to SCIP_DIDNOTRUN the target SCIP will have no problem data at all. The variable map and the constraint map can be used via the function SCIPgetVarCopy() and SCIPgetConsCopy(), respectively, to get for certain variables and constraints of the source SCIP the counter parts in the target SCIP. You should be very carefully in using these two methods since they could lead to an infinite loop due to recursion. input:
output:
possible return values for *result:
Definition at line 140 of file type_prob.h. Typedef Documentation
Definition at line 41 of file type_prob.h.
main problem to solve Definition at line 43 of file type_prob.h.
user problem data set by the reader Definition at line 44 of file type_prob.h. Enumeration Type Documentation
objective sense: minimization or maximization
Definition at line 36 of file type_prob.h. |