@@ -364,7 +364,7 @@ def objval(self):
364364 """Get the objective value for `solution`."""
365365 return self .attributes .mipobjval
366366
367- class ChgBranchObjectCallbackContext (CallbackContext ):
367+ class ChangeBranchObjectCallbackContext (CallbackContext ):
368368 """Data passed to chgbranchobject callbacks.
369369
370370 In addition to the super class, this class has the following properties:
@@ -373,7 +373,7 @@ class ChgBranchObjectCallbackContext(CallbackContext):
373373 - `new_object()`: Create a new branching object.
374374 """
375375 def __init__ (self , problem , solver , var2idx , obranch ):
376- super (ChgBranchObjectCallbackContext , self ).__init__ (problem , solver , var2idx )
376+ super (ChangeBranchObjectCallbackContext , self ).__init__ (problem , solver , var2idx )
377377 self ._obranch = obranch
378378 self ._branch = obranch
379379 @property
@@ -508,7 +508,7 @@ def del_chgbranchobject(self, chgbranchobjectcb = None):
508508 self ._del_callback ('chgbranchobject' , prechgbranchobjectcb )
509509 def _chgbranchobject_wrapper (self , solver , var2idx ):
510510 def wrapper (prob , cb , obranch ):
511- data = ChgBranchObjectCallbackContext (prob , solver , var2idx , obranch )
511+ data = ChangeBranchObjectCallbackContext (prob , solver , var2idx , obranch )
512512 cb (data )
513513 return data .branchobject
514514 return wrapper
0 commit comments