The document discusses resource optimization of workflow problems. It introduces the motivation to optimize flexible production systems using a single assembly line for multiple variants. It then describes workflow abstraction and terms, including attributed resources, partially ordered plans, flexible processes, continuous supply, and partitioning. The document outlines the basic model, including data structures, process logic representation as a partially ordered plan, partitioning workflows into blocks, and calculating infrastructure needs and cycle time. It also discusses the heuristic approach and implementation in Mozart/Oz constraint programming.