Topic e1b

There are seven files that makeup part B of the exam: 

E1bOutput.php - this contains the output of the random problem and it should be viewed on the web. If you want to change the values refresh the page and to change the size of the problem change the number of departments and suppliers in E1bRandom.php

E1bRandom.php - this is the first random problem (it will not show an output in eclipse unless you uncomment the bottom print statement) and it is used in E1bOutput. 

E1bRefactorRandom.php - this refactors the random problem into a single function

E1bRefactorRandomRun.php - this is where you can run the refactored random problem. Put the values of suppliers and departments in the value and obtain the output.

E1bRefactorStatic.php - this will refactor the static problem, so the user can input all of the data into the problem.

E1bRefactorStaticRun.php - this uses the function from E1bRefactorStatic.php and uses example data to set the problem and show results

E1bStatic.php - this is the static problem from (a) and returns the optimal solution