Masters project Cloud computing With AWS

Job ID: 32261965

Budget: $30 – $250 USD

Also upload a proj04.tgz file for all your code on AWS.
Make sure your instance is running so I can test it.

The assignmnet can be accomplished via any method that you preferr.
I illustrated the cgi technique with examples.
I also illustrated the django method.
I will also accept any other method you are familiar with.

When I enter your page in by browser, I need to see the following:

1) dropdown list to select the weight type (00 through 09 )
2) input for a random seed integer from 0 to 32000
3) input for #OfTrys>0 and an integer
4) input for #OfBatchJobs
5) Text box that displayes the best distance so far
6) Update button that updates the above (5) information
7) submit button to start the process, however after pressing start, the button should change to stop - to allow one to stop the process.
If they press start and someting is incorrect in the above, a message should tell then what is wrong and for them to try again.
After pressing stop. The system should kill the runing processes, and go back the first page.

Note: use the best solution as the initial guess. Recall that the best solution is not in a pickle format and that the tspMod2 requires a pickle format, so you need a way to convert from one to the other.

You already did this assignment for proj03 however it is difficult to communicate with bender from AWS. Therefore you only need to have this run on owens. Since this will only run on owens, A slurm script will be generated for owens that uses 16 processes. The first processes will start with the RandSeed value, the next with RandSeed+1 up to RandSeed+15. You do not need to run anyprocesses on AWS to solve the TPS problem.

Use the same tsp python code ( tspMod2.py ) that you used in proj03
The names of the pickle files are still called:
#10 files weightType
distance00.pickle 0
distance01.pickle 1
distance02.pickle 2
:
distance09.pickle 9


No changes:
tspMod2 usage
tspMod2 weightType initialGuess.pickle RandSeed #OfTrys
weightType (int) 0-9
initialGuess.pickle (string) name of file
RandSeed (int) 0-4294967296
#OfTrys (int) loop length

To stop early - look on drive for "STOP"
ends #OfTrys loop early
output still written