@@ -554,8 +554,8 @@ BranchingScheme::Node BranchingScheme::child_tmp(
554554 node.uncovered_items [insertion.uncovered_item_pos ].maximum_number_of_items = std::min (
555555 parent.uncovered_items [insertion.uncovered_item_pos ].maximum_number_of_items ,
556556 item_type.maximum_stackability );
557- node.uncovered_items [insertion.uncovered_item_pos ].remaiing_weight = std::min (
558- parent.uncovered_items [insertion.uncovered_item_pos ].remaiing_weight - item_type.weight ,
557+ node.uncovered_items [insertion.uncovered_item_pos ].remaining_weight = std::min (
558+ parent.uncovered_items [insertion.uncovered_item_pos ].remaining_weight - item_type.weight ,
559559 item_type.maximum_weight_above );
560560 } else if (insertion.new_bin > 0 ) { // New bin.
561561 if (ys > 0 ) {
@@ -571,7 +571,7 @@ BranchingScheme::Node BranchingScheme::child_tmp(
571571 uncovered_item.item_type_ids .push_back (insertion.item_type_id );
572572 uncovered_item.weight = item_type.weight ;
573573 uncovered_item.maximum_number_of_items = item_type.maximum_stackability ;
574- uncovered_item.remaiing_weight = item_type.maximum_weight_above ;
574+ uncovered_item.remaining_weight = item_type.maximum_weight_above ;
575575 uncovered_item.ze = zj;
576576 uncovered_item.xs = xs;
577577 uncovered_item.xe = xe;
@@ -603,7 +603,7 @@ BranchingScheme::Node BranchingScheme::child_tmp(
603603 new_uncovered_item_2.item_type_ids .push_back (insertion.item_type_id );
604604 new_uncovered_item_2.weight = item_type.weight ;
605605 new_uncovered_item_2.maximum_number_of_items = item_type.maximum_stackability ;
606- new_uncovered_item_2.remaiing_weight = item_type.maximum_weight_above ;
606+ new_uncovered_item_2.remaining_weight = item_type.maximum_weight_above ;
607607 new_uncovered_item_2.ze = zj;
608608 new_uncovered_item_2.xs = xs;
609609 new_uncovered_item_2.xe = xe;
@@ -988,7 +988,7 @@ void BranchingScheme::insertion_item_above(
988988 return ;
989989 }
990990 // Check maximum weight above.
991- if (item_type.weight > uncovered_item.remaiing_weight ) {
991+ if (item_type.weight > uncovered_item.remaining_weight ) {
992992 return ;
993993 }
994994 // Check unloading constraints.
0 commit comments