News for hackers. Stuff that matters.
Re:NP-Complete isn't (always) Hard by aleph_minus_one on Tuesday February 21, 2023 @01:14PM (#34884600)
> linear programming are problems that are worst-case NP-hard

Linear Programming (with rational coefficients; to avoid sophism) can be solved in polynomial time.

Re:NP-Complete isn't (always) Hard by dragontamer on Tuesday February 21, 2023 @01:16PM (#34884635)
Hmm, the above poster probably meant "linear programming with integers" being NP-hard (because it is).

When its "smooth", its actually solvable in polynomial time.

Re:NP-Complete isn't (always) Hard by Animats on Tuesday February 21, 2023 @04:18PM (#34887518)
Right, see [1]. Same concept, though - worst case far harder than the average case, and the worse case is rare.

[1] https://en.wikipedia.org/wiki/Simplex_algorithm#Efficiency_i...