We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee2c67 commit d57c40eCopy full SHA for d57c40e
tests/test_heur.py
@@ -130,3 +130,8 @@ def test_simple_round_heur():
130
timingmask=SCIP_HEURTIMING.DURINGLPLOOP)
131
# solve problem
132
s.optimize()
133
+
134
+def test_heurTiming():
135
+ model = Model()
136
+ model.setHeurTiming('rins', SCIP_HEURTIMING.BEFORENODE)
137
+ print("timing of rins: %d\n" % model.getHeurTiming('rins'))
tests/test_heurtiming.py
@@ -0,0 +1,8 @@
1
+import pytest
2
3
+from pyscipopt import Model, SCIP_HEURTIMING
4
5
6
7
8
0 commit comments