A knowledge-based approach was taken in designing an integrated system for optimal crop planning. Coupled with a mathematical programming module, the rule-based system was developed as a PC-based, on-farm planning tool in the hands of the decision maker. The combination of problem-solving techniques offers several advantages over the use of either one alone, including ease of operation and a comprehensive planning process. Knowledge about crops and planning considerations is represented in the form of production rules and frames. The inference engine analyzes the effect of specific production conditions on a wide range of crops at the farm, field, and crop levels. A synthesis of the optimal plan makes use Of an internal linear programming procedure whose output is evaluated and refined by the expert system. The generated plan includes an assignment of specific fields to selected crops that maximizes the net income.