Celebrity matchmaking

Five male and five female entertainers are at a dance. The goal of the matchmaker is to match each woman with a man in a way that maximizes the number of people who are matched with compatible mates. The table below describes compatibilities. Formulate this as a network flow problem.
Loni Anderson Meryl Streep Katherine Hepburn Linda Evans Victoria Principal
Kevin Costner - C - - -
Burt Reynolds C - - - -
Tom Selleck C C - - -
Michael Jackson C C - - C
Tom Cruise - - C C C