Prajwal-Prathiksh / Museum-Path-Optimization

Contains code meant to optimize the route for a tourist visiting the Louvre Museum, such that the satisfaction level is maximised by visiting all/select exhibits in a single working day.
MIT License
10 stars 8 forks source link

Add initial codes for Simulated Annealing and Branch & Bound Algorithms #9

Closed Prajwal-Prathiksh closed 3 years ago

pep8speaks commented 3 years ago

Hello @Prajwal-Prathiksh! Thanks for opening this PR.

Line 5:6: W291 trailing whitespace Line 14:25: E261 at least two spaces before inline comment Line 14:26: E262 inline comment should start with '# ' Line 14:101: E501 line too long (113 > 100 characters) Line 16:25: E261 at least two spaces before inline comment Line 17:21: E261 at least two spaces before inline comment Line 18:27: E261 at least two spaces before inline comment Line 19:1: W293 blank line contains whitespace Line 21:24: E231 missing whitespace after ',' Line 21:34: E231 missing whitespace after ',' Line 21:42: E231 missing whitespace after ',' Line 23:1: E302 expected 2 blank lines, found 1 Line 36:21: E231 missing whitespace after ',' Line 36:23: E231 missing whitespace after ',' Line 36:25: E231 missing whitespace after ',' Line 36:27: E231 missing whitespace after ',' Line 38:19: E261 at least two spaces before inline comment Line 39:28: E231 missing whitespace after ',' Line 41:1: W293 blank line contains whitespace Line 43:32: W291 trailing whitespace Line 48:1: W293 blank line contains whitespace Line 61:1: E302 expected 2 blank lines, found 1 Line 62:5: E266 too many leading '#' for block comment Line 64:14: E226 missing whitespace around arithmetic operator Line 78:5: E266 too many leading '#' for block comment Line 80:14: E226 missing whitespace around arithmetic operator Line 94:5: E266 too many leading '#' for block comment Line 96:1: W293 blank line contains whitespace Line 101:1: W293 blank line contains whitespace Line 109:1: E302 expected 2 blank lines, found 1 Line 121:30: E231 missing whitespace after ',' Line 121:37: E261 at least two spaces before inline comment Line 124:38: E261 at least two spaces before inline comment Line 128:9: E303 too many blank lines (2) Line 128:23: E261 at least two spaces before inline comment Line 131:30: E226 missing whitespace around arithmetic operator Line 132:35: E231 missing whitespace after ',' Line 132:39: E261 at least two spaces before inline comment Line 134:32: E261 at least two spaces before inline comment Line 137:49: W291 trailing whitespace Line 141:93: E226 missing whitespace around arithmetic operator Line 141:101: E501 line too long (101 > 100 characters) Line 148:64: E261 at least two spaces before inline comment Line 148:101: E501 line too long (103 > 100 characters) Line 151:1: W293 blank line contains whitespace Line 152:1: E302 expected 2 blank lines, found 1 Line 154:21: E126 continuation line over-indented for hanging indent Line 154:38: E202 whitespace before ']' Line 155:39: E202 whitespace before ']' Line 159:19: E126 continuation line over-indented for hanging indent Line 159:20: E261 at least two spaces before inline comment Line 169:1: W391 blank line at end of file

Do see the Hitchhiker's guide to code style

Prajwal-Prathiksh commented 3 years ago

@nakulrandad could you have a look at the PEP8 issues raised in Branch & Bound code?

@MiloniAtal could you review the code of simple simulated annealing once? I can merge the PR after that.