Introduction

Network analysis is a topic of increasing importance in high school mathematics education because it offers students an opportunity to learn how to model and solve problems that they are likely to encounter in their future working lives, particularly in occupations involving technology and engineering (DeBellis & Rosenstein, 2004; Hart, 2008; National Research Council, 2013). Assignment problems are one such class of problems that can be solved using network analysis techniques, which students might encounter in occupations involving operations and project management. For example, the problem of assigning workers to a set of tasks, so that the total time taken to complete the tasks is minimized, can be modelled using bipartite graphs and solved using the Hungarian algorithm (Kuhn, 1955). Researchers argue that discrete mathematics topics such as network analysis provide opportunities for students to develop algorithmic thinking, which is a foundational aspect of computer science (Gaio & Di Paola, 2018; Gibson, 2012; Goldin, 2010). Indeed, learning to develop and use algorithms is a key practice in computational thinking, which offers students opportunities to connect mathematics with other STEM disciplines (Pérez, 2018).

The importance of network analysis topics is underscored by their inclusion high school mathematic curriculum around the world (Hart & Martin, 2018; Ouvrier-Buffet, 2020). In Australia, Year 12 students are introduced to graphs and networks in the General Mathematics curriculum (Australian Curriculum Assessment and Reporting Authority, 2020), and are required to learn a number of algorithms to solve network problems such minimal connector problems (Prim’s algorithm), network flow problems (maximum-flow minimum-cut theorem), and assignment problems (Hungarian algorithm). However, very little is known about how students make sense of these algorithms and their competence in using them to solve network problems (Ferrarello &  Mammana, 2018; Hart & Martin, 2018). Moreover, the prerequisite knowledge required to understand how the algorithms were developed, or their proofs, is beyond the scope of the General Mathematics course. This presents a significant instructional dilemma in that students are required to execute the algorithms without necessarily understanding how or why they work. The purpose of this study is to confront this dilemma by exploring an instructional intervention designed to enhance students’ understanding of network algorithms. The Hungarian algorithm is the focus of this study; however, I envisaged that the features of the instructional intervention would be applicable to the teaching and learning of other network algorithms.

Assignment Problems

An assignment problem is a combinatorial optimization problem that arises when there are a number of tasks (n) and a number of agents available (n) to complete those tasks, each of whom differs in the efficiency with which they can complete each task. If a cost (expressed as a positive, rational number) is assigned to each agent for each task, then an optimum assignment is achieved when one agent is assigned to each task such that the total cost of the assignment is minimized (Kuhn, 1955; Munkres, 1957). For any assignment problem, there are n! possible combinations, several of which may be optimal (Munkres, 1957). Problems involving a 2 × 2 or 3 × 3 matrix typically can be solved by inspection, since they contain only 2 and 6 combinations, respectively. However, problems involving larger matrices contain many more combinations, which demand a more efficient method of determining the optimum allocation.

In 1955, Harold Kuhn developed and published an algorithm that can be used to determine optimum solutions to assignment problems. He named the algorithm the “Hungarian method” because it was based on earlier work by two Hungarian mathematicians, Dénes Kőnig and Jenő Egerváry (Kuhn, 1955). In 1957, James Munkres reviewed the algorithm (Munkres, 1957), and it has since been called the Kuhn-Munkres algorithm or the Hungarian algorithm. The Hungarian algorithm contains three procedures that reduce the value of the cost for each agent to perform each task, revealing the comparative costs of alternative options for an optimum assignment. Appendix contains the steps of the algorithm in the form used in the present study.

Review of Related Literature

Research into the teaching and learning of graph theory and network algorithms is relatively limited, which probably reflects the fact that the field of discrete mathematics itself is relatively new (Ouvrier-Buffet, 2020). In the context of an undergraduate computer science course, Dagdilelis and Satratzemi (1998) identified two broad categories that characterize students’ difficulties in understanding graph algorithms, such as the Hungarian algorithm, Dijkstra’s algorithm, and Kruskal’s algorithm. First, students have difficulty making sense of the details of an algorithm, even when they understand how the algorithm works in general. For example, a student might understand that the Hungarian algorithm narrows the options available for an optimum assignment but have difficulty making sense of the specific steps, such as the reason for covering each row and/or column that contains a zero at the end of each step. Second, students experience difficulty in making sense of the intermediate steps of an algorithm and the results of these intermediate steps. For example, a student may be able to complete the row reduction step but not make sense of the residuals resulting from the reduction procedure.

In response to these difficulties, Dagdilelis and Satratzemi (1998) suggest that educational software can be used to help students visualize the steps of Dijkstra’s algorithm and Kruskal’s algorithm. More recently, Makohon, Cetin, Nguyen, and Ng (2016) used a similar approach in developing a Java computer animation for the Hungarian algorithm, which displays each step of the algorithm on the screen with a voice commentary. A similar tool is available online at hungarianalgorithm.com. Research into how students use such tools and make sense of the explanations provided at each step appears to be limited. Moreover, these instructional approaches are intended to be used by undergraduate STEM students. More research into instructional approaches suitable for senior mathematics students is needed.

Hart and Martin (2018) argue that discrete mathematics problems offer students an opportunity to model real-world problems and engage in algorithmic problem-solving to develop solutions to those problems. Hart (1998) has previously proposed an instructional pattern that can be used to develop students’ algorithmic problem-solving competence. First, the teacher poses a problem, and the students develop a model of that problem. These models might involve constructing of a vertex-edge graph for problems that involve the relationships between a number of elements, such as Eulerian circuits, minimum spanning trees, and conflict relationships (Hart, 1998, 2008; Hart & Martin, 2018). Second, students analyse the model and attempt to devise an algorithm to solve the problem. At this point, students may devise algorithms similar to standard algorithms used to solve the problem such as Hierholzer’s algorithm (Eulerian circuits), Kruskal’s algorithm (minimum spanning tree), and the Welsh-Powell algorithm (conflict relationships). Finally, the teacher provides the standard algorithm, and the students compare their algorithms with the standard algorithms. Hart hypothesizes that students’ competence in algorithmic problem-solving develops through this instructional pattern and provides some anecdotal evidence that students’ competence in using the graph colouring algorithm is developed through this approach (Hart, 2008; Hart & Martin, 2018). Indeed, Wetzel, Milicic, and Ludwig (2020) found that three high-achieving 17-year-olds were able to model a shortest path problem and develop an algorithm similar to Dijkstra’s algorithm through a comparable instructional pattern.

Existing research, however, appears to provide very little insight into how students make sense of standard algorithms. In particular, more research into how students make sense of the steps in an algorithm, the intermediate results of these steps, or the difficulties that they encounter in using the standard algorithms (cf. Dagdilelis & Satratzemi, 1998) is needed. The purpose of the present study is to extend the existing literature by exploring an instructional intervention designed to help students make sense of the steps of a standard algorithm. Although the Hungarian algorithm is used as the focus of this study, I envisaged that the design features of the instructional intervention might be applicable to the teaching and learning of other standard algorithms. My study was guided by the following research questions:

  • Research question 1: How do students make sense of assignment problems and their solutions?

  • Research question 2: How to students make sense of each step in the Hungarian algorithm?

  • Research question 3: What difficulties do students encounter as they execute each step in the Hungarian algorithm?

Theoretical Framework

Given the limited research into the teaching and learning of discrete mathematics, theoretical frameworks for analysing students’ learning of discrete mathematics are still emerging. In this study, I developed a hypothetical learning trajectory (HLT) as the basis for investigating how students make sense of each step of the Hungarian algorithm. An HLT is a theoretical construct that refers to a “teacher’s prediction as to the path by which learning might proceed” (Simon, 1995, p. 135). According to Simon’s model, an HLT has three key components: a learning goal, learning activities, and hypothetical learning processes. In developing the hypothetical learning processes for this HLT, I adopted two existing perspectives on the teaching and learning of discrete mathematics. The first perspective is that discrete mathematics requires students to develop the heuristic process model the general on the particular. Goldin (2010) asserts that:

Often in discrete mathematics, the problems are quite easy in low-number or small-size cases. In elementary combinatorics, students may solve a problem of permutations or combinations through exploratory methods in a low-number situation, and modeling the general on the particular, frame a conjecture as to the pattern or formula that would apply to a high-number situation. In vertex-edge graph theory, students may solve a problem with a graph having only a few vertices and edges, and likewise modeling the general on the particular, frame a conjecture applicable to a category including much larger graphs. (p. 247)

Here, Goldin suggests that students might be offered opportunities to develop solutions to simple problems before examining how their solution might be applied to similar problems with more elements. This proposition is similar to Hart’s (1998) aforementioned conjecture that students’ competence in algorithmic problem-solving is developed through their exploration of a problem and attempts to devise an algorithm to solve that problem. Assignment problems are a form of combinatorics in which solutions to problems involving a small number of elements can be found through exploratory methods. Hence, I anticipated that students would develop a solution to simple assignment problems through exploration prior to the introduction of the Hungarian algorithm.

The second perspective I adopted is that discrete mathematics requires students to engage in sense making and reasoning. In mathematics education, sense making involves “developing understanding of a situation, context, or concept by connecting it with existing knowledge” (National Council of Teachers of Mathematics, 2009, p. 4). Sense making might be viewed as a way of thinking about mathematical procedures and concepts, as well as problem situations and their solutions (Kilpatrick, Swafford, & Findell, 2001). Mathematical reasoning is a closely related process that refers to the logical conclusions that students make based on the relationships between concepts and situations, given the assumptions underpinning those relationships (Kilpatrick et al., 2001; National Council of Teachers of Mathematics, 2009). Reasoning, therefore, might be considered an instantiation of the way that students make sense of assignment problems and the steps of the Hungarian algorithm.

From these theoretical perspectives, I developed the four-stage HLT shown in Table 1, which is organized according to four categories. The Purpose column describes which aspect of the algorithm is introduced at stage of the HLT. The Problems and Design features columns contain the text of the problems and the specific features of those problems that were incorporated to elicit the sense making and reasoning that I anticipated would emerge at each stage.

Table 1 Hypothetical learning trajectory for Hungarian algorithm

Method

Participants

Eight Year 12 students (mean age = 17.5 years) from a large, high-socioeconomic, government-owned secondary school in Australia participated in the teaching experiment. The students were studying General Mathematics and were in their first semester of Year 12. All had passed Year 11 General Mathematics the previous year as well as a summative modelling task in Year 12. The students volunteered to participate in the study, and the students and their parents gave ethical consent to participate.

At the time of the study, the students were studying Unit 3 of the General Mathematics curriculum and had not yet been introduced to graphs and networks. However, in Year 11, the students had experience using matrices to represent the roads connecting towns or communication pathways in a social network. Furthermore, the students had experience learning new mathematical ideas through mathematical modelling and problem-solving.

Design

The present study is part of a larger, design-based research project aimed at improving the teaching and learning of graphs and networks in Year 12 (Cobb, Jackson, & Dunlap, 2016). In the first cycle of the project, I developed the preliminary instructional intervention and conducted a teaching experiment with one student (Steffe & Thompson, 2000). I then analysed the results of this pilot teaching experiment and revised the instructional intervention. In the second cycle of the project, I implemented the revised instructional intervention in a series of teaching experiments with the eight students. This article reports the results of this second cycle of the design-based research project. Each cycle of the design-based research project involved three phases, which are described in the remainder of this section (Cobb et al., 2016).

Phase 1: Activity Design

The design of the instructional intervention began by considering the instructional starting point (Cobb et al., 2016). As stated, the students in this study had limited experience in networks as well as optimum assignment problems. However, they had experience in using matrices to store information and solving problems using this information in matrix form. The students might also have had experience in examining combinations through probability in junior secondary school. Thus, I hypothesized that students might be able to solve simple assignments by inspection using their existing mathematical reasoning at the start of the teaching experiment. The introduction of the procedures in the Hungarian algorithm could then be introduced incrementally from this instructional starting point.

In developing the learning activities for each stage of the HLT, I devised three design heuristics. First, assignment problems for each step of the Hungarian algorithm can be solved after executing that step. That is, problems for the row reduction stage can be solved after the row reduction step is executed, and so on. I hypothesized that this incremental approach would offer students an opportunity to make sense of how each step of the algorithm works to narrow the potential options for an optimum assignment. Second, the problems for each step comprised smaller matrices (2 × 2, 3 × 3) before problems with larger matrices (4 × 4). Solutions to problems involving smaller matrices can be found by inspection or by assessing all the possible combinations. Hence, this design feature might offer students an opportunity to examine how the algorithm yields a solution using only a few data points before examining how it works on larger sets of data. The third heuristic was to use contexts that students might readily understand. For instance, the time taken to complete tasks or distances travelled might allow students to interpret the data as they make sense of assignment problem solutions and the steps in the algorithm.

Phase 2: Activity Implementation

In the second phase, I conducted teaching experiment with each of the students individually (Steffe & Thompson, 2000). The teaching experiments consisted of four 60-min sessions with each of the eight students (24 sessions). These sessions occurred over 5 weeks, which coincided with the COVID-19 pandemic lockdown; hence the students were not attending school. I was the teacher-researcher for each session and conducted the sessions over Zoom. During the teaching sessions, I posed the problems by sharing the screen in Zoom. As the student made sense of the problems, I questioned them about their thinking and strategies. The student’s working was captured on the shared Zoom screen. The data set included the videos of all sessions captured by Zoom, the saved whiteboard screens from Zoom, and digitized researcher notes taken during the sessions. The audio files from Zoom were transcribed and paired with associated student work.

Phase 3: Retrospective Analysis

At the end of the teaching experiments, I conducted a retrospective analysis of the data. To complete this retrospective analysis, I first analysed the data and coded students’ responses according to three categories, in line with the three research questions: (1) making sense of assignment problems and their solutions, (2) making sense about the steps in the Hungarian algorithm, and (3) difficulties that students encountered in making sense of the Hungarian algorithm. Second, I analysed the transcripts line by line using memos (Corbin and Strauss 2015) and grouped the memos according to qualitatively similar types of sense making and reasoning. Finally, I completed a comparative analysis until no new codes emerged (Corbin and Strauss 2015).

Results

This section contains the results of the teaching experiment presented in line with the four stages of the HLT. I report the difficulties that students encountered in making sense of the Hungarian algorithm (research question 3) within each of these sections.

Making Sense of Assignment Problems

I posed the shopping centre problem to offer students an opportunity to model an assignment problem and make sense of the goals and constraints of these problems. Suzannah’s response, reproduced in Fig. 1, illustrates how students used their modelling competencies to develop a solution to this problem. First, students identified a relevant variable needed to solve the problem, that is, the distance between each students’ home and each shopping centre measured in either kilometres or minutes. Second, students made reasonable assumptions, typically about how they would measure the distances (using the internet), point of departure for each student, and mode of transport. Third, the students collected data from the internet and constructed a matrix of the distances between each student and each shopping centre. Finally, the students solved the problem by searching for the shopping mall that was closest to each students’ home. For example, Suzannah found that the Southside Mall was closest to Bridgette and the Northside Mall was closest to her. The results illustrate how the students made sense of the problem and leveraged their mathematical modelling competencies to develop a model of the problem. Furthermore, the students explained that an optimum assignment can be obtained by choosing the closest shopping centre to each student.

Fig. 1
figure 1

Suzannah’s response to shopping centre problem

After the students solved the shopping centre problem, I posed office problem 1 (Fig. 2). Students used two strategies in their search for the optimum assignments. The first was to search through each column and find the workers with the lowest value for each task. Using this strategy, the students found two options for task B—Blake and Ellis. This finding led the students to compare the alternative tasks for both Blake and Ellis and subsequently assigned Blake to task B and Ellis to task C. The students also noticed that Blake had the shortest time for task D but assigned Hayden to this task because Blake was already assigned to task B. The following explanation, given by Gilda, illustrates this reasoning.

Fig. 2
figure 2

Gilda’s response to office problem 1

figure a

None of the students calculated the differences between the alternative assignments despite reasoning that their assignments were based on these comparisons.

The second strategy, used by two students, was to search for an optimum assignment by searching for the lowest value in each row. Leonora’s justified her strategy as follows:

figure b

It is worth noting that Leonora was also studying economics and initially compared the office assignment problem 1 to specialization in economics, which involves a similar process.

The second problem I posed during this stage was the supermarket delivery problem. The original purpose of this problem was to elicit the students’ reasoning about the comparative differences between options when determining an optimum assignment. However, most students acknowledged the potential for such comparisons while solving office problem 1 and subsequently used this reasoning to solve the supermarket delivery problem. Amelia’s explanation illustrates this reasoning:

figure c

In making her assignment, Amelia compared the total distances of the alternative combinations, whereas other students compared the difference in distances between supermarkets C and D for truck 1 (6 km) and truck 2 (13 km) and made the assignment based on this comparison (see Fig. 3).

Fig. 3
figure 3

Amelia’s response to supermarket delivery problem

Row Reduction

At this stage, students were introduced to the procedure of subtracting the minimum value in each row from each value in that row, as illustrated by Maria’s response in Fig. 4. After they executed the step, I asked them how the procedure made sense to them. The students’ responses revealed that they made sense of the step as a way of determining the differences between the highest and lowest distances for each ambulance. Maria explained her sense making as follows:

Fig. 4
figure 4

Maria’s response to ambulance problem 1

figure d

The students also tended to recognize that the zero values referred to the options that should be selected to determine an optimum assignment.

After the students solved this problem using row reduction, I asked them how they could check if they had made an optimum assignment. The students reasoned that they could check their solution with the alternative combination (Alex, ambulance 2; Blake, ambulance 1), which was 4 km farther. Three students also equated this 4 km with the sum of the two residual values.

The students then used the row reduction step to solve roadside assistance problem 1 (Fig. 5). The students applied the same reasoning about the residual values that they developed on the 2 × 2 matrix to a 3 × 3 matrix.

Fig. 5
figure 5

Anna’s response to roadside assistance problem 1

Garment factory problem 1 (see Leonora’s response in Fig. 6) was designed to offer students an opportunity to make sense of an assignment problem in which two workers have the same cost for two different tasks. To find a solution to this problem, students had to make sense of the problem constraint that a worker can be assigned to one task only. Leonora’s explanation is indicative of how students reasoned about this problem:

Fig. 6
figure 6

Leonora’s response to garment factory problem 1

figure e

Although Leonora tended to use economic language to explain her reasoning, her explanation illustrates how students were able to make sense of the problem constraint and coordinate the zero values to determine the optimum assignment.

Column Reduction

At the start of the column reduction stage, I asked students to solve ambulance problem 2. The students first completed row reduction, which yielded the matrix depicted in Fig. 7. From this matrix, students observed that Alex was closest to both ambulances, but Blake was closer to ambulance 1 than Alex. Violetta’s explanation demonstrates this reasoning:

Fig. 7
figure 7

Violetta’s response to ambulance problem 2

figure f

Violetta’s explanation illustrates how students made sense of the results of row reduction, that is, they searched for the lowest value in the Blake column in order to make the assignment. This rudimentary columnal search illustrates the students’ anticipation of the column reduction procedures, which I introduced at this point.

I then posed roadside assistance vehicle problem 2, which required column reduction and contained two possible solutions. All the students carried out the row reduction and then the column reduction, and seven of the eight students recognized that there were two solutions. Leonora explained her reasoning as follows:

figure g

Leonora’s reasoning and response in Fig. 8 illustrate how the students were able to make sense of the results of the algorithm and determine that there were two possible solutions. Maria was the only student who did not immediately recognize that there were two solutions and required a prompt to make sense of this.

Fig. 8
figure 8

Leonora’s response to roadside assistance problem 2

Fig. 9
figure 9

Gilda’s response to garment factory problem 2

 Garment factory problem 2 (Fig. 9)required both row reduction and column reduction to find an optimum solution. However, all the students stated their solution after row reduction. For example:

figure h

The students’ explanations suggested that they made sense of the residual values from the row reduction step because they argued that the lowest value in the “Cut” column gave the optimum assignment. It is also worth noting that Gilda used the word “zero” to refer to the possible assignments, which indicates that she was beginning to make sense of the zeros as an indicator of options for an optimum assignment.

Three of the students required further clarification of the column reduction step. Specifically, the students questioned if they should execute the reduction procedure on the row reduction matrix or the original matrix. Two students questioned if they should complete column reduction on all the columns or only the columns that contained zeros.

Further Reduction

At the start of the further reduction stage, I posed roadside assistance vehicle problem 3. After row reduction and column reduction (see Alice’s response in Fig. 10), most students anticipated that the optimum assignment would be achieved by sending roadside assistance vehicle 3 to Charlie. For example:

Fig. 10
figure 10

Alice’s responses to roadside assistance vehicle problem 3. (a) Alice’s initial response. (b) Alice’s response after the procedure was introduced

figure i

Maria’s explanation illustrates how six of the students examined the residual values and chose the lowest value to make an assignment. In contrast to this approach, Alice completed a second column reduction on the residual values, as shown in Fig. 10a. This yielded two solutions and I prompted Alice to compare these two solutions, which revealed that the second solution was 3 km more. This offered the opportunity to explain the first step of further reduction, that is, that the minimum value is subtracted from all uncovered values. Alice subsequently drew a box around these values and carried the further reduction accurately Fig. 10b.

I posed the country specialization problem to offer students an opportunity to examine the second procedure in the further reduction step, that is, why the minimum value must be added to the values covered by two lines. All the students used row reduction and column reduction, as shown by Amelia’s response in Fig. 11 and found that a solution was not possible at this point. The students then subtracted the minimum residual value (4) from the uncovered value and determined that there were three possible solutions. For example, Amelia highlighted three columns and explained the solutions as follows.

Fig. 11
figure 11

Amelia’s response to country specialization problem

figure j

Amelia determined that option 2 would be greater than the other two options by 4 and connected this to the minimum residual value (4) from the first procedure of further reduction. When students reached this point in their reasoning, I connected this residual (4) to the second procedure in the further reduction step.

All the students expressed an opinion about the further reduction step, such as “unusual”, “odd”, and “creepy”. For example, Leonora stated:

figure k

Despite these opinions, the students were at least able to make sense of the written instructions and appeared to make sense of the experimental demonstration of the further reduction step.

After the students completed these two problems, I asked them to complete garment factory problem 3, which offered them an opportunity to complete the three steps in the Hungarian algorithm. All the students successfully carried out the steps in the algorithm; however, all the students questioned the procedure of highlighting the minimum number of rows and columns. For example, Gilda completed the row and column reduction procedure (see Fig. 12) but highlighted the four rows and explained that each row has a zero. I then prompted her to find a solution, and after searching for a solution, she found that there was not a solution. This provided an opportunity to use an experimental demonstration to help the students make sense of the highlighting procedure.

Fig. 12
figure 12

Gilda’s row and column reduction for garment factory problem 3

Discussion

The overarching purpose of the present study was to investigate how students make sense of discrete mathematical problems and the algorithms used to solve those problems. Although assignment problems and the Hungarian algorithm were the focus of the present article, I propose that the results have applicability to other discrete mathematical problems and network algorithms. In reflecting on the results, I consider each of the research questions in turn.

Making Sense of Assignment Problems (Research Question 1)

The results suggest that the students leveraged their mathematical modelling competence to make sense of assignment problems and the parameters of those problems. Their understanding of assignment problems emerged from a small-scale modelling task at the start of the HLT, and they appeared to carry this understanding forward into the subsequent problems. In particular, the students made sense of the data contained in each of the matrices and the condition that only one agent can be assigned to one task. Furthermore, the students appeared to be aware that they were working towards finding the smallest combination of the agent-task data points. The results suggest that students’ competence in mathematizing a problem was a critical factor in making sense of assignment problems and developing rudimentary algorithmic approaches to search for a solution to the problem.

This finding is consistent with Hart’s (1998) hypothesis that students’ algorithmic problem-solving competence develops through constructing models of problem situations first. However, the results contrast with those of Wetzel et al. (2020), who reported that 17-year-olds experienced difficulty in mathematizing a shortest-path problem because they tended to focus on unnecessary information from a given street map while constructing a vertex-edge graph. The findings of the present study extend the existing literature by illustrating the importance of mathematical modelling competence in making sense of discrete mathematical problems.

Making Sense of the Hungarian Algorithm (Research Question 2)

The results showed that students developed rudimentary algorithmic approaches to solve the initial assignment problems and assignment problems that contained small matrices (2 × 2, 3 × 3). Specifically, the students searched through columns and/or rows to find the lowest values that they used to determine the optimum assignment. The students also identified the need to make trade-offs between potential assignments when an agent was more efficient at two tasks than another agent. The students then applied their rudimentary search algorithm to solve problems represented by a 4 × 4 matrix. This finding is consistent with Goldin’s (2010) theoretical perspective that students may solve combinatoric and vertex-edge graph problems that have a small number of elements through exploration and then begin to generalize their algorithmic approaches to solve larger problems. Similarly, researchers hypothesize that students’ algorithmic competence is supported by opportunities to devise their own algorithms prior to the introduction of standard algorithms (Gaio & Di Paola, 2018; Hart, 1998; Hart & Martin, 2018). In the present study, the problems in the first stages of the HTL were designed to be solved by searching through the rows and assigning agents to tasks based on the lowest values. This design feature appears to have elicited students’ rudimentary search algorithms that formed the basis for introducing the Hungarian algorithm in subsequent stages of the HLT.

The results illustrate how students made sense of each step in the Hungarian algorithm and the residual values generated by each step. The students understanding of the Hungarian algorithm had three distinct characteristics. First, students appeared to make sense of the zeros, produced by the reduction procedures, as options for an optimum assignment. Additionally, students were able to examine the zeros and coordinate optimum assignments from these options. Second, most students reasoned that the residual values represented the additional amounts that would be added to an optimum assignment if the option was selected. Finally, the students appeared to make sense of the algorithm, in its entirety, as a method used to find the options available for an optimum assignment.

There are two features of the instructional design that appeared to be crucial in developing students’ sense making of the Hungarian algorithm. First, each step of the algorithm was introduced incrementally. This offered opportunities for the students to make sense of both the details of the procedures and the intermediate results produced by those procedures. Second, each step of the algorithm was introduced using smaller matrices. By using smaller matrices, students could compare the results of the algorithm with all possible combinations. These design features were derived from Goldin’s (2010) theoretical perspective that students’ competence in the heuristic process of modelling the general on the particular develops through solving problems with a small number of elements before making conjectures about how their solution procedures could apply to larger problems. The students in this study lacked the prerequisite knowledge to understand the proof of the Hungarian algorithm and hence the possibility of making conjectures about how their initial search algorithms could be applied to larger problems was limited. However, their initial search algorithms appeared to support the introduction of the steps of the Hungarian algorithm, consistent with Hart’s (1998) hypothesized instructional pattern.

Difficulties (Research Question 3)

The results suggest that students made sense of the Hungarian algorithm as a solution method for assignment problems. However, as predicted by Dagdilelis and Satratzemi (1998), the details of the steps in the Hungarian algorithm are complicated and thus present several challenges for students. First, students questioned if they should perform the column and/or further reduction procedures on the values in the original matrix or on the values resulting from the row and/or column reduction procedure. Second, the students struggled to understand how to highlight the minimum number of rows and/or columns containing zeros, and that the number of highlighted rows/columns should equal the number of required assignments. In response to these difficulties, I demonstrated the procedure where necessary and sometimes revised the wording of the steps in the algorithm in collaboration with the students. This finding suggests that teachers might need to take a flexible approach to the wording of the details of an algorithm in response to the way that their students make sense of those details. Dagdilelis and Satratzemi (1998) also suggest that students experience difficulties in making sense of the results of intermediate steps of an algorithm. In the present study, however, students appeared to make sense of the residual values produced by the intermediate steps. The students’ apparent understanding of the intermediate results appeared to emerge from their initial experiences with solving problems with a small number of elements. Furthermore, the incremental approach to introducing each step of the algorithm possibly offered students an opportunity to examine the results of the intermediate steps in isolation.

Implications

Research into the teaching and learning of discrete mathematics is relatively limited, which is surprising given that discrete mathematics topics are of growing importance in high school mathematics curriculums. The results of the present study have three important practical implications for the teaching of network algorithms. First, the incremental approach to introducing an algorithm offered students opportunities to make sense of how each step in the algorithm works. Although the focus in this study was the Hungarian algorithm, I suggest that this incremental approach would also apply to a range of other network algorithms, such as Prim’s algorithm, Dijkstra’s algorithm, and the Ford-Fulkerson algorithm. Further research might explore how an incremental approach supports students’ understanding of these algorithms. Second, the design heuristics that I developed in this study might be used by teachers and researchers in developing problems and activities to enhance students’ sense making of network algorithms. Finally, the findings of the present study provide empirical support for the instructional pattern proposed by Hart (1998). Specifically, teachers might offer students opportunities to model and solve discrete mathematical problems before introducing the standard algorithms used to solve those problems.

The generalizability of this study is limited because I used a small sample of students (n = 8) from a high socioeconomic school, who were highly engaged and motivated to improve their achievement in mathematics. The instructional intervention was implemented through one-on-one teaching experiments via Zoom during the COVID-19 pandemic. Further research might examine how the instructional approach explored in this study might be adapted to classroom contexts.