• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:59
CET 22:59
KST 06:59
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA15
StarCraft 2
General
Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3: RO16 results & RO8 bracket RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
2v2 maps which are SC2 style with teams together? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/ soO on: FanTaSy's Potential Return to StarCraft A cwal.gg Extension - Easily keep track of anyone
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1781 users

The Big Programming Thread - Page 973

Forum Index > General Forum
Post a Reply
Prev 1 971 972 973 974 975 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Manit0u
Profile Blog Joined August 2004
Poland17450 Posts
September 25 2018 09:10 GMT
#19441
[image loading]
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 25 2018 19:11 GMT
#19442
I've discovered a solution for multiple problems that are currently considered NP hard (minimum vertex cover/perfect matching, hamiltonicity). It works for many graphs, and I have just started delving into it - I believe I may be able to extend it to a generalized solution.... or it may pretty much already be. Like I said, just started getting into it.

And yes, I am talking a solution not an approximation or heuristic.

I think I would like to go to my school, University of Maryland College Park, to get assistance with investigating this. Particularly, the math heavy side, and doing proofs. I was wondering if anyone had advice as to how I can ensure that credit for my discoveries is not taken from me, because that is not something I would like to risk.
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
Last Edited: 2018-09-25 19:19:10
September 25 2018 19:13 GMT
#19443
How do you mean solutions? These problems have solutions.. just not anything that runs in polynomial time as far as we know.

edit*I confused NP-hard with NP-complete.. mah bad.
That's the 2nd time in a week I've seen someone sig a quote from this GD and I have never witnessed a sig quote happen in my TL history ever before. -Najda
Simberto
Profile Blog Joined July 2010
Germany11642 Posts
September 25 2018 19:17 GMT
#19444
On September 26 2018 04:11 travis wrote:
I've discovered a solution for multiple problems that are currently considered NP hard (minimum vertex cover/perfect matching, hamiltonicity). It works for many graphs, and I have just started delving into it - I believe I may be able to extend it to a generalized solution.... or it may pretty much already be. Like I said, just started getting into it.

And yes, I am talking a solution not an approximation or heuristic.

I think I would like to go to my school, University of Maryland College Park, to get assistance with investigating this. Particularly, the math heavy side, and doing proofs. I was wondering if anyone had advice as to how I can ensure that credit for my discoveries is not taken from me, because that is not something I would like to risk.


You could do the thing where you write down the core ideas, and leave that in a closed envelope with a date on it at a notary or something.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 25 2018 19:18 GMT
#19445
I mean a polynomial time solution. In particular, a fairly fast one. I haven't tried to figure out the runtime yet, it's the last thing on my mind to be honest.
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
September 25 2018 19:24 GMT
#19446
You can also write a manuscript of your ideas and hash it and publish that hash on the bitcoin blockchain.

Just to be clear though... if you say you think you've found a polynomial time solution for NP-hard problems, then that would mean you've proved P=NP. You realize the implications here right?

Let me just say it is extremely unlikely your idea works..
That's the 2nd time in a week I've seen someone sig a quote from this GD and I have never witnessed a sig quote happen in my TL history ever before. -Najda
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 25 2018 21:42 GMT
#19447
well it certainly works for the graphs ive tested! but we will see how many more it will work for in the upcoming days
Acrofales
Profile Joined August 2010
Spain18132 Posts
September 25 2018 22:08 GMT
#19448
If you want to be certain, do what simberto said. A cheaper and slightly less secure way, but still very good is mailing them to yourself. Unless US Postal no longer date stamps letters, in which case it won't work. The hash is also a good idea. Doesn't really matter where you post it, as long as it's somewhere public and securely time-stamped. Hell, a blog here will probably be fine. Just never edit that post. If you want to do that, you should run it by the mods first tho.
Manit0u
Profile Blog Joined August 2004
Poland17450 Posts
September 27 2018 14:20 GMT
#19449
https://www.google.pl/search?q=db_password filetype:env

You'd be amazed...
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 27 2018 14:29 GMT
#19450
lol :/

favorite part of that is how many of those passwords are highly secure in terms of password strength. they'll never be brute forced!
Excludos
Profile Blog Joined April 2010
Norway8196 Posts
Last Edited: 2018-09-27 14:41:19
September 27 2018 14:41 GMT
#19451
Omg that is truly hilarious and sad at the same time
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2018-09-27 17:17:11
September 27 2018 16:44 GMT
#19452
@travis

On the polynomial-time solution to NP-hard problems, you should note that it's easy to naturally come up with instances that are solvable by some seemingly algorithmic method efficiently. Especially for small-size instances.
Needless to say, said method would have to work on every instance no matter what. And this requires proof infinitely more than testing on some instances, as I'm sure you're aware. Edit: actually found an interesting paragraph on the idea that most instances you come up with could be "easy": https://en.m.wikipedia.org/wiki/P_versus_NP_problem#P_≠_NP ( part talking about average-case complexity)

The likelihood of you finding a general constructive solution in P (implying that P=NP) by just looking at some graphs and see that "it works" seems very small to me. And I'm definitely not saying that to make fun of you or belittle your efforts, just saying you'll have a long road (very likely fruitless) ahead of you if that's where you're at right now.

First thing I would do if I were you if you didn't already do it, is implement your solution, to the Traveling Salesman problem and test it on large instances you can find on the Internet (usually used to assess the many heuristical solutions people have come up with over the years). Short of proving anything, testing it on a large number of arbitrary complex instances might help you at least believe in yourself :D (or crush your hopes early).


Anyway if society collapses because of my guy Travis, MOM I WAS THERE, SHOUTOUT!!!
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-09-27 18:16:12
September 27 2018 18:15 GMT
#19453
On September 28 2018 01:44 ZenithM wrote:
@travis

On the polynomial-time solution to NP-hard problems, you should note that it's easy to naturally come up with instances that are solvable by some seemingly algorithmic method efficiently. Especially for small-size instances.

I learned that the hard way! lol
I've been doing this for a good while now, it's what I've spent the vast majority of my time on for the last year now.
I've actually thought I just about had or did have a solution several times now. Only to find out that it won't work under some condition which starts appearing more and more as the graphs grow big.

Right now I use this data set of 1001 difficult graphs: http://www.flinders.edu.au/science_engineering/csem/research/programs/flinders-hamiltonian-cycle-project/fhcpcs.cfm

I typically run mostly the smallest graphs (N=66 to ~300), because even cubic algorithms start taking up a lot of space and time when N is very high (thousands), and I want to save time during testing. I'll test in the thousands when an algorithm is optimized and I am confident in it.

This is hard for me to do much testing and development because a lot is going on in school and im trying hard not to fail while working on this. So, movement is slow.



Needless to say, said method would have to work on every instance no matter what. And this requires proof infinitely more than testing on some instances, as I'm sure you're aware. Edit: actually found an interesting paragraph on the idea that most instances you come up with could be "easy": https://en.m.wikipedia.org/wiki/P_versus_NP_problem#P_≠_NP ( part talking about average-case complexity)


Well, what I find might not work on a big set of instances because those instances need extra steps - something else has to be done. So I think a method that works for every subset under some rules is super valuable. In fact, my gut says that anything I find that is useful will likely need extra steps to handle different types of graphs.




The likelihood of you finding a general constructive solution in P (implying that P=NP) by just looking at some graphs and see that "it works" seems very small to me. And I'm definitely not saying that to make fun of you or belittle your efforts, just saying you'll have a long road (very likely fruitless) ahead of you if that's where you're at right now.


I've been on it for a while . Literally 50+ hours a week for almost every week for the last year. I can handle getting my hopes crushed repeatedly, getting my naivety stomped out.


First thing I would do if I were you if you didn't already do it, is implement your solution, to the Traveling Salesman problem and test it on large instances you can find on the Internet (usually used to assess the many heuristical solutions people have come up with over the years). Short of proving anything, testing it on a large number of arbitrary complex instances might help you at least believe in yourself :D (or crush your hopes early).


i am working on the hamiltonian cycle problem right now actually, not TSP. I do believe TSP will end up being a much more difficult problem than hamiltonian cycle.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2018-09-28 07:22:33
September 27 2018 22:47 GMT
#19454
There are probably several orders of magnitude of difficulty between finding an efficient solution to some graph instances of a specific problem, and proving P = NP (to the point where the first discovery might almost be considered worthless). But it sounds like you're at least having fun with it, committed and going in the right direction with the experiments.
Good luck!
Apom
Profile Blog Joined August 2011
France656 Posts
September 27 2018 23:29 GMT
#19455
On September 26 2018 04:11 travis wrote:
I've discovered a solution for multiple problems that are currently considered NP hard (minimum vertex cover/perfect matching, hamiltonicity).
Pro tip : you have not.

But hey, as long as you are having fun...
Manit0u
Profile Blog Joined August 2004
Poland17450 Posts
September 28 2018 08:58 GMT
#19456
Time is precious. Waste it wisely.
ZenithM
Profile Joined February 2011
France15952 Posts
September 28 2018 09:03 GMT
#19457
Legit a good movie. I remember watching it with my friends back then, it was fun. I'm guessing it would have been much worse without a CS background.
raNazUra
Profile Joined December 2012
United States10 Posts
September 28 2018 18:28 GMT
#19458
i am working on the hamiltonian cycle problem right now actually, not TSP. I do believe TSP will end up being a much more difficult problem than hamiltonian cycle.


This is a bit of a mistake. The whole point of NP-complete problems is that if you can solve one, you've solved them all. The transformation between them is already discovered. It may be circuitous, but it exists and is known.
Speak the truth, even if your voice shakes
ZenithM
Profile Joined February 2011
France15952 Posts
September 29 2018 14:58 GMT
#19459
I mean the guy is an undergrad CS student, he probably just got introduced to Complexity 101 and thought it would be cool to prove P = NP without really knowing much else. Like hundreds of students before him :D. I remember back then the professor that was teaching us complexity theory told us he regularly received "proofs" of P vs NP and couldn't bother checking them anymore.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 29 2018 15:07 GMT
#19460
On September 29 2018 03:28 raNazUra wrote:
Show nested quote +
i am working on the hamiltonian cycle problem right now actually, not TSP. I do believe TSP will end up being a much more difficult problem than hamiltonian cycle.


This is a bit of a mistake. The whole point of NP-complete problems is that if you can solve one, you've solved them all. The transformation between them is already discovered. It may be circuitous, but it exists and is known.


Well, what currently exists is completely absurd, and I haven't even heard of it being done in practice. The *only* conversion I have heard of is TSP --> sat --> 3sat ---> vertex cover ---> HC, and you'll end up with a hilariously large HC problem. So, when I say "more difficult", I am probably misusing language, but I didn't necessarily mean polynomial vs exponential time (or whatever other technical metrics there are).
Prev 1 971 972 973 974 975 1032 Next
Please log in or register to reply.
Live Events Refresh
BSL 21
20:00
RO16 TieBreaker - Group B
StRyKeR vs Artosis
OyAji vs KameZerg
ZZZero.O382
LiquipediaDiscussion
IPSL
20:00
Ro16 Group C
StRyKeR vs OldBoy
Sziky vs Tarson
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 253
JuggernautJason149
StarCraft: Brood War
Calm 2777
ZZZero.O 382
Dota 2
LuMiX1
Heroes of the Storm
Khaldor311
Other Games
Grubby6397
FrodaN2343
Mlord549
B2W.Neo406
Pyrionflax233
ArmadaUGS134
Maynarde49
Organizations
Other Games
EGCTV1845
gamesdonequick924
BasetradeTV37
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• davetesta99
• Hupsaiya 83
• musti20045 16
• HeavenSC 2
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Airneanach40
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler110
League of Legends
• Doublelift1089
Other Games
• imaqtpie1666
• tFFMrPink 15
Upcoming Events
OSC
1h 1m
OSC
11h 1m
Wardi Open
14h 1m
Monday Night Weeklies
19h 1m
OSC
1d 1h
Wardi Open
1d 14h
Replay Cast
2 days
Wardi Open
2 days
Tenacious Turtle Tussle
3 days
The PondCast
3 days
[ Show More ]
Replay Cast
4 days
LAN Event
4 days
Replay Cast
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-11-21
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.