4 cdef public Model model
8 '''calls destructor and frees memory of separator'''
12 '''initializes separator'''
16 '''calls exit method of separator'''
20 '''informs separator that the branch and bound process is being started'''
24 '''informs separator that the branch and bound process data is being freed'''
28 '''calls LP separation method of separator'''
32 '''calls primal solution separation method of separator'''
37 cdef SCIP_RETCODE PySepaCopy (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
40 cdef SCIP_RETCODE PySepaFree (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
41 cdef SCIP_SEPADATA* sepadata
43 PySepa = <Sepa>sepadata
48 cdef SCIP_RETCODE PySepaInit (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
49 cdef SCIP_SEPADATA* sepadata
51 PySepa = <Sepa>sepadata
55 cdef SCIP_RETCODE PySepaExit (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
56 cdef SCIP_SEPADATA* sepadata
58 PySepa = <Sepa>sepadata
62 cdef SCIP_RETCODE PySepaInitsol (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
63 cdef SCIP_SEPADATA* sepadata
65 PySepa = <Sepa>sepadata
69 cdef SCIP_RETCODE PySepaExitsol (SCIP* scip, SCIP_SEPA* sepa) noexcept
with gil:
70 cdef SCIP_SEPADATA* sepadata
72 PySepa = <Sepa>sepadata
76 cdef SCIP_RETCODE PySepaExeclp (SCIP* scip, SCIP_SEPA* sepa, SCIP_RESULT* result, unsigned int allowlocal, int depth) noexcept
with gil:
77 cdef SCIP_SEPADATA* sepadata
79 PySepa = <Sepa>sepadata
80 result_dict = PySepa.sepaexeclp()
81 result[0] = result_dict.get(
"result", <SCIP_RESULT>result[0])
84 cdef SCIP_RETCODE PySepaExecsol (SCIP* scip, SCIP_SEPA* sepa, SCIP_SOL* sol, SCIP_RESULT* result, unsigned int allowlocal, int depth) noexcept
with gil:
85 cdef SCIP_SEPADATA* sepadata
87 solution = Solution.create(scip, sol)
88 PySepa = <Sepa>sepadata
89 result_dict = PySepa.sepaexecsol(solution)
90 result[0] = result_dict.get(
"result", <SCIP_RESULT>result[0])