Automatic Synthesis Of Greedy Programs

Sanjay Bhansali, Kanth Miriyala, Mehdi T. Harandi · Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · 1989

This paper describes a knowledge based approach to automatically generate Lisp programs using the Greedy method of algorithm design. The system's knowledge base is composed of heuristics for recognizing problems amenable to the Greedy method and knowledge about the Greedy strategy itself (i.e., rules for local optimization, constraint satisfaction, candidate ordering and candidate selection). The system has been able to generate programs for a wide variety of problems including the job-scheduling problem, the 0-1 knapsack problem, the minimal spanning tree problem, and the problem of arranging files on tape to minimize access time. For the special class of problems called matroids, the synthesized program provides optimal solutions, whereas for most other problems the solutions are near-optimal.

Read the paper · More papers on PaperTik