• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:30
CEST 04:30
KST 11:30
  • 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
ByuL, and the Limitations of Standard Play1Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8
Community News
[TLMC] Summer 2026 Ladder Map Rotation05.0.16 patch for SC2 goes live (8 worker start)76ZeroSpace at Steam NextFest - Last free demo33Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611
StarCraft 2
General
Is the larve respawn broken? 5.0.16 patch for SC2 goes live (8 worker start) Daily SC2 Player Grid - feedback wanted The Death of Cheese: From a Professional Cheeser Mizenhauer's Douyu Cup Preview
Tourneys
Maestros of The Game 2 announcement and schedule ! Douyu Cup 2026: $20,000 Legends Event (June 26-28) RSL Revival: Season 6 - Qualifiers and Main Event INu's Battles#17 <BO.9> Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 531 Experimental Artillery Mutation # 530 One For All Mutation # 529 Opportunities Unleashed
Brood War
General
ASL 22 Proposed Map Pool Best thing happen to StarCraft since Remastered? Fact based Zerg Upgrade Tier List BGH Auto Balance -> http://bghmmr.eu/ Quality of life changes in BW that you will like ?
Tourneys
[Megathread] Daily Proleagues [ASL21] Grand Finals The Casual Games of the Week Thread [BSL22] GosuLeague Casts - Tue & Thu 22:00 CEST
Strategy
Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies Why doesn't anyone use restoration?
Other Games
General Games
ZeroSpace at Steam NextFest - Last free demo Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Beyond All Reason
Dota 2
Looking for a Dota Mentor 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
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread The Games Industry And ATVI Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
Listen To The Coaches!
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 12112 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
Poland17774 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
Germany11904 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
Spain18332 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
Poland17774 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
Norway8264 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
Poland17774 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
Next event in 3h 30m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ViBE234
RuFF_SC2 105
SpeCial 71
Ketroc 46
FoxeR 32
StarCraft: Brood War
Hyuk 389
NaDa 60
Noble 26
Terrorterran 15
Dota 2
NeuroSwarm115
LuMiX1
League of Legends
Doublelift10999
JimRising 628
Super Smash Bros
AZ_Axe155
Heroes of the Storm
Khaldor152
Other Games
summit1g13098
UpATreeSC260
JuggernautJason49
Mew2King32
Organizations
Other Games
gamesdonequick1328
BasetradeTV223
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 94
• davetesta21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki14
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21223
League of Legends
• Jankos350
Upcoming Events
Douyu Cup 2020
3h 30m
BSL22 NKC (BSL vs China)
11h 30m
Mihu vs TBD
Online Event
12h 30m
RSL Revival
23h 30m
WardiTV Weekly
1d 8h
RSL Revival
2 days
RSL Revival
2 days
Bombastic Starleague
2 days
Kung Fu Cup
3 days
OSC
3 days
[ Show More ]
CrankTV Team League
4 days
Bombastic Starleague
4 days
Replay Cast
4 days
The PondCast
5 days
HomeStory Cup
5 days
Replay Cast
5 days
HomeStory Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 21: Qualifier 1
Maestros of the Game 2
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 2
SCTL 2026 Spring
Douyu Cup 2026
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026

Upcoming

CSL 2026 Summer (S21)
ASL Season 22:Wild Card Qualifier
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
BCC 2026
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E1
Heroes Pulsing #3
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
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 © 2026 TLnet. All Rights Reserved.