...

/

Experimenting with Reinsertion

Experimenting with Reinsertion

Learn how to implement different reinsertion strategies and analyze their results.

Applying the different reinsertion strategies

To see the impact of each of these reinsertion strategies in action, we can apply them to the scheduling problem we implemented earlier in this chapter to see how the outcomes differ.

For easier interpretation of the results, the class table has been provided below:

Class Weights

Class

Credit Hours

Difficulty

Usefulness

Interest

Algorithms

3.0

8.0

8.0

8.0

Artificial Intelligence

3.0

9.0

9.0

8.0

Calculus

3.0

4.0

6.0

5.0

Chemistry

4.5

3.0

2.0

9.0

Data Structures

3.0

5.0

8.0

7.0

Discrete Math

3.0

2.0

9.0

2.0

History

3.0

4.0

1.0

8.0

Literature

3.0

2.0

2.0

2.0

Physics

4.5

6.0

5.0

7.0

Volleyball 

1.5

1.0

1.0

10.0

Using pure reinsertion strategy

Pure reinsertion is the default reinsertion strategy, so we should try that one first because we don’t have to change ...