leo-oxu / utek2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTEK2022 Programming

About

This repository contains code by Team 2 for submission to the UTEK 2022 Programming Competition.

Running Instructions

There are five Python files, corresponding to Parts 1-5 in the Competition Handout.

The Python script for Part 1 takes in three input files: 1a.in, 1b.in, and 1c.in; it outputs three files: 1a.out, 1b.out, 1c.out, respectively.

The Python script for Part 2 takes in three input files: 2a.in, 2b.in, and 2c.in; it outputs three files: 2a.out, 2b.out, 2c.out, respectively.

The remaining Python scripts run in a similar fashion.

Part 6, as specified in the Competition Handout, is presented as a multimedia file, in this case, a series of Engineering drawings in a PDF.

Citations

Code and/or inspirations are gathered from the following sources:

https://www.geeksforgeeks.org/traveling-salesman-problem-tsp-implementation/ http://www.cs.ubc.ca/labs/beta/Courses/CPSC532D-05/Slides/tsp-camilo.pdf https://towardsdatascience.com/solving-travelling-salesperson-problems-with-python-5de7e883d847 https://www.sciencedirect.com/science/article/pii/S2405896317322838 https://idea.library.drexel.edu/islandora/object/idea%3A520 https://brilliant.org/wiki/dijkstras-short-path-finder/

Notes

This repository is made public as of 9:50 p.m. (EST) January 15, 2022 (after the end of Day 1 of the competition).

License

MIT License Copyright (c) 2022 UTEK 2022 Programming Team 2

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NOTE: This software depends on other packages that may be licensed under different open source licenses.

About

License:MIT License


Languages

Language:Python 100.0%