1. A model-based control system for controlling a production system, wherein said production system provides jobs and objectives to the model-based control system, said model-based control system comprising: a directed acrylic graph, wherein the directed acrylic graph includes a plurality of vertices interconnected by a plurality of edges; a planner operative to provide the production system with a plan, wherein said planner generates the plan using a depth-first target value search, wherein the depth-first target value search is configured to generate the plan with a failure probability most closely approximating a target value, the plan being in a form of a pattern database which includes the plurality of processed vertices which include a range bound for each of the processed plurality of vertices; a system model operative to model the behavior of the production system; and, a diagnosis engine operative to estimate failure probabilities for plans and provide diagnostic guidance to the planner, wherein the model-based control system including the directed acrylic graph, the planner, the system model and diagnosis engine are implemented via at least one digital processing device.