What is the primary focus of network models in operations research?
A) To analyze market trends and consumer behavior
B) To represent and optimize complex relationships and flows in a network
C) To determine production schedules
D) To predict future sales of a product