1 / 30

What Computers Can’t Do For You

What Computers Can’t Do For You. Catherine C. McGeoch Amherst College February 2005. OR/MS and Computer Science: Connections. Systems and . Languages. Operations Research. Marketing. Theory. Software. Finance. Management Science. Problem Domains. Three Themes (with variations) .

patia
Download Presentation

What Computers Can’t Do For You

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What Computers Can’t Do For You Catherine C. McGeoch Amherst College February 2005

  2. OR/MS and Computer Science: Connections Systems and Languages Operations Research Marketing Theory Software Finance Management Science Problem Domains

  3. Three Themes (with variations) Theory: You can’t always get what you want. (Jagger) Software Engineering: Everything Put Together Falls Apart. (Simon) Policy: Oops!..I did it again. (Spears) We’re going wrong. (Cream)

  4. Theory and Practice and OR... Linear programming, nonlinear programming, Integer programming ... Network optimization: flow, assignment, path problems Scheduling: timetables, planning Complexity Combinatorial Optimization Algorithms Theory Practice My Research

  5. What is experimental algorithmics? Experiment Practice Theory

  6. Hockey Science: Predict the in-game puck velocities generated by new stick technologies. Practice Theory

  7. Experiment Control Key Factors Isolate Components Attach Probes

  8. Complexity Theory World View Interesting non-problems Tractable problems Unsolvable problems Intractable problems

  9. An Unsolvable Problem The Halting Problem: Take a program P and an input I for P. Will P go into an infinite loop, or will it eventually halt? Program H: Reads P and I, computes, always correctly answers yes or no, and never itself goes into an infinite loop. Theorem: Program H cannot exist.

  10. Intractable: Can be solved, but not efficiently Algorithm Operations Input Size

  11. Algorithm time as a function of input size: Polynomial = Good Exponential = Bad

  12. NP-Hard and NP-Complete Problems Unsolvable Which? Hundreds of problems, including many from Operations Research Intractable Tractable

  13. NP-Completeness ``I can’t find an efficient algorithm, I guess I’m just too dumb.’’

  14. NP-Completeness ``I can’t find an efficient algorithm, because no such algorithm is possible!’’

  15. NP-Completeness ``I can’t find an efficient algorithm, but neither can all these famous people.’’

  16. NP-Completeness Humbug! Try harder! Now get out of my office!

  17. Lessons from Experimental Algorithmics NP-Completeness Theory is... Pessimistic. Worst-case assumptions about input; your input may be fine. Usually about finding optimal solutions. Almost-optimal might be tractable. Not the final word.... With luck and compromise, algorithm research and experimental algorithmics can give you ... Constructive heuristics Approximation Algorithms Heuristic search ...Solutions to your problems.

  18. Example: Traveling Salesperson Problem What is the biggest problem you can solve in one day of computing? Practice: Some instances of size n>10,000 have been solved. Theory: about n=20 cities, worst case.

  19. Theme from Theoretical Computer Science You can’t always get what you want ~ but if you try sometimes ~ you might find ~ you get what you need. Oh yeah, hey hey hey, oh ...

  20. Software Engineering • Methods for efficient development of large software systems. • Ensure reliability, robustness, safety. • Predict development cycles and times.

  21. Software Engineering But accidents happen!

  22. The Risks Digest catless.ncl.ac.uk/Risks Royal Australian Navy Frigate backs onto rocks after the computer overrode manual command. German TollCollect system charges trucks not on the toll road. 1200 gallons of gas sold at .19/gallon. New kinds of spoofing possible with DNS policy change. Friendly fire from Patriot missile. Long-standing errors found in the national urology medical student match system; code was redone this year. Serious security flaws found in Windows Eudora. Records database (35k records) stolen; at least 50 cases of identity fraud so far. In-car computers corrupted by virus via cell phones.

  23. The Risks Digest catless.ncl.ac.uk/Risks Royal Australian Navy Frigate backs onto rocks after the computer overrode manual command. German TollCollect system charges trucks not on the toll road. 1200 gallons of gas sold at .19/gallon. New kinds of spoofing possible with DNS policy change. Friendly fire from Patriot missile. Long-standing errors found in the national urology medical student match system; code was redone this year. Serious security flaws found in Windows Eudora. Records database (35k records) stolen; at least 50 cases of identity fraud so far. In-car computers corrupted by virus via cell phones. And that’s just since Sunday...

  24. Worse things have happened... Therac-14. Six people die from radiation overdoses from cancer therapy machine. Woman kills children, attempts suicide, after erroneous HIV notification. Industrial robots kill workers. Flight from New York to Brazil crashes into mountain due to human/computer navigation error. U.S. Navy mistakenly shoots down Iranian passenger plane.

  25. Lessons Software fails when ported inappropriately to new applications. Some error-detection problems are unsolvable. Many are intractable. Humans should not override computer controls. Computers should not override human controls.

  26. Theme from Software Engineering Uh, huh, spare your heart ~ everything put together sooner or later falls apart ~ there’s nothing to it, nothing to it ~ you can cry ~ you can lie ~ for all the good it’ll do you.

  27. Policy: Laws with Unintended Consequences CAN-SPAM Act is blamed for increase in spam from 50 to 80 percent of emails. Patriot Act allows unprecedented electronic intrusions into privacy. DMCA prohibits actions that are legal with non-electronic media (like books and papers). Electronic spyware laws are different from standard spying laws.

  28. Theme for Policy-Makers Please open your mind ~ see what you can find ~ I found out today ~ we’re going wrong ~ we’re going wrong ~ we’re going wrong.

  29. Conclusions • Not all problems can be solved by computers. • Even when they can be, software is brittle. • Computers can’t make policy. Neither can policy-makers. • Have a nice day.

  30. But things are not all bad. The future is what we make of it ... Information Technology has the potential to make our lives safer, healthier, and more enjoyable and to enrich our understanding of nature. A future that includes improvements in our quality of life through applications of IT looks very bright. --William Wulf World Wide Web Online Communities Gutenberg Project Safer highways Safer air travel Human Genome Project Drug discovery cycle Assistive Technologies iPOD

More Related